# ClientSuccess

> Manage clients, contacts, notes and pulses, and read contracts.

App · 21 actions. Web page: https://docs.lodol.com/docs/integrations/clientsuccess

## Actions

### Create client

Add a client.

**Inputs**

- Name (`name`, text, required): The client's name.
- Status (`status`, text, required): The client's status. One of: `ACTIVE`, `INACTIVE`, `TRIAL`, `TERMINATED`.
- Active (`active`, true/false): Whether the client is active. Leave empty to follow the status.
- Website (`site_url`, text): The client's website.
- Street (`street`, text): Street address.
- City (`city`, text): City.
- State (`state`, text): State or province.
- Postal code (`zip`, text): Postal code.
- Country (`country`, text): Country.
- Time zone (`timezone`, text): The client's time zone, such as America/Denver.
- Start date (`inception_date`, date): The day the client started.
- Termination date (`terminated_date`, date): The day the client left.
- External ID (`external_id`, text): The client's ID in another system.
- Salesforce account ID (`salesforce_account_id`, text): The client's Salesforce account ID.
- Client type (`client_type`, text): The client type's name, as set up in ClientSuccess.
- Sales rep (`assigned_sales_rep`, text): The full name of the client's sales rep.
- Note (`note`, text): A note about the client.
- Custom fields (`custom`, object): Custom field values, by each field's key in ClientSuccess.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "active": true,
      "assignedSalesRep": "example",
      "city": "example",
      "country": "example",
      "createdTime": "example",
      "externalId": "example",
      "id": 1,
      "inceptionDate": "example",
      "logoUrl": "example",
      "managedByEmployee": {
        "email": "example",
        "firstname": "example",
        "id": 1,
        "lastname": "example",
        "name": "example",
        "status": "example"
      },
      "modifiedTime": "example",
      "name": "example",
      "note": "example",
      "npsScore": 1,
      "parentClientId": 1,
      "region": {
        "id": 1,
        "name": "example"
      },
      "salesforceAccountId": "example",
      "siteUrl": "example",
      "state": "example",
      "status": "example",
      "street": "example",
      "stripeId": "example",
      "successScore": 1,
      "terminatedDate": "example",
      "timezone": "example",
      "usageId": "example",
      "uuid": "example",
      "zip": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Create client note

Add a note to a client's timeline.

**Inputs**

- Client (`client_id`, number, required): The client the note is about.
- Subject (`subject`, text, required): The note's subject.
- Note (`note`, text, required): The note.
- Author (`author`, text): Who wrote it, if not you.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "author": "example",
      "clientId": 1,
      "createdByEmployeeId": 1,
      "createdTime": "example",
      "id": 1,
      "interactionTypeId": 1,
      "modifiedTime": "example",
      "note": "example",
      "subject": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Create contact

Add a contact to a client.

**Inputs**

- Client (`client_id`, number, required): The client the contact works for.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Job title (`title`, text): Job title.
- Phone (`phone`, text): Phone number.
- Mobile (`mobile`, text): Mobile number.
- Status (`status`, text): The contact's status. New contacts are active unless chosen otherwise. One of: `ACTIVE`, `INACTIVE`.
- Advocate (`advocate`, true/false): Whether the contact is a advocate.
- Champion (`champion`, true/false): Whether the contact is a champion.
- Executive sponsor (`executive_sponsor`, true/false): Whether the contact is a executive sponsor.
- Key contact (`key_contact`, true/false): Whether the contact is a key contact.
- Starred (`starred`, true/false): Whether the contact is a starred.
- Street (`street`, text): Street address.
- City (`city`, text): City.
- State (`state`, text): State or province.
- Postal code (`zip`, text): Postal code.
- Country (`country`, text): Country.
- Time zone (`timezone`, text): Time zone, such as America/Denver.
- LinkedIn (`linkedin_url`, text): LinkedIn profile address.
- Notes (`notes`, text): Notes about the contact.
- External ID (`external_id`, text): The contact's ID in another system.
- Custom fields (`custom`, object): Custom field values, by each field's key in ClientSuccess.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "advocate": true,
      "champion": true,
      "city": "example",
      "country": "example",
      "createdTime": "example",
      "email": "example",
      "engagementCount": 1,
      "executiveSponsor": true,
      "externalId": "example",
      "firstName": "example",
      "id": 1,
      "keyContact": true,
      "lastEngagementDate": "example",
      "lastName": "example",
      "linkedinUrl": "example",
      "mobile": "example",
      "modifiedTime": "example",
      "notes": "example",
      "phone": "example",
      "starred": true,
      "state": "example",
      "status": "example",
      "street": "example",
      "tenantClientId": 1,
      "timezone": "example",
      "title": "example",
      "uuid": "example",
      "zip": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Delete client

Delete a client.

**Inputs**

- Client (`client_uuid`, text, required): The client.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "active": true,
      "assignedSalesRep": "example",
      "city": "example",
      "country": "example",
      "createdTime": "example",
      "externalId": "example",
      "id": 1,
      "inceptionDate": "example",
      "logoUrl": "example",
      "managedByEmployee": {
        "email": "example",
        "firstname": "example",
        "id": 1,
        "lastname": "example",
        "name": "example",
        "status": "example"
      },
      "modifiedTime": "example",
      "name": "example",
      "note": "example",
      "npsScore": 1,
      "parentClientId": 1,
      "region": {
        "id": 1,
        "name": "example"
      },
      "salesforceAccountId": "example",
      "siteUrl": "example",
      "state": "example",
      "status": "example",
      "street": "example",
      "stripeId": "example",
      "successScore": 1,
      "terminatedDate": "example",
      "timezone": "example",
      "usageId": "example",
      "uuid": "example",
      "zip": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Delete client note

Delete a client note.

**Inputs**

- Note ID (`note_id`, number, required): The note's ID, from List client notes or a trigger.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "author": "example",
      "clientId": 1,
      "createdByEmployeeId": 1,
      "createdTime": "example",
      "id": 1,
      "interactionTypeId": 1,
      "modifiedTime": "example",
      "note": "example",
      "subject": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Delete contact

Delete a contact.

**Inputs**

- Contact UUID (`contact_uuid`, text, required): The contact's UUID, from List contacts or a trigger.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "advocate": true,
      "champion": true,
      "city": "example",
      "country": "example",
      "createdTime": "example",
      "email": "example",
      "engagementCount": 1,
      "executiveSponsor": true,
      "externalId": "example",
      "firstName": "example",
      "id": 1,
      "keyContact": true,
      "lastEngagementDate": "example",
      "lastName": "example",
      "linkedinUrl": "example",
      "mobile": "example",
      "modifiedTime": "example",
      "notes": "example",
      "phone": "example",
      "starred": true,
      "state": "example",
      "status": "example",
      "street": "example",
      "tenantClientId": 1,
      "timezone": "example",
      "title": "example",
      "uuid": "example",
      "zip": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Get client

Get one client.

**Inputs**

- Client (`client_uuid`, text, required): The client.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "active": true,
    "assignedSalesRep": "example",
    "city": "example",
    "country": "example",
    "createdTime": "example",
    "externalId": "example",
    "id": 1,
    "inceptionDate": "example",
    "logoUrl": "example",
    "managedByEmployee": {
      "email": "example",
      "firstname": "example",
      "id": 1,
      "lastname": "example",
      "name": "example",
      "status": "example"
    },
    "modifiedTime": "example",
    "name": "example",
    "note": "example",
    "npsScore": 1,
    "parentClientId": 1,
    "region": {
      "id": 1,
      "name": "example"
    },
    "salesforceAccountId": "example",
    "siteUrl": "example",
    "state": "example",
    "status": "example",
    "street": "example",
    "stripeId": "example",
    "successScore": 1,
    "terminatedDate": "example",
    "timezone": "example",
    "usageId": "example",
    "uuid": "example",
    "zip": "example"
  }
}
```

### Get client note

Get one client note.

**Inputs**

- Note ID (`note_id`, number, required): The note's ID, from List client notes or a trigger.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "author": "example",
    "clientId": 1,
    "createdByEmployeeId": 1,
    "createdTime": "example",
    "id": 1,
    "interactionTypeId": 1,
    "modifiedTime": "example",
    "note": "example",
    "subject": "example"
  }
}
```

### Get contact

Get one contact.

**Inputs**

- Contact UUID (`contact_uuid`, text, required): The contact's UUID, from List contacts or a trigger.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "advocate": true,
    "champion": true,
    "city": "example",
    "country": "example",
    "createdTime": "example",
    "email": "example",
    "engagementCount": 1,
    "executiveSponsor": true,
    "externalId": "example",
    "firstName": "example",
    "id": 1,
    "keyContact": true,
    "lastEngagementDate": "example",
    "lastName": "example",
    "linkedinUrl": "example",
    "mobile": "example",
    "modifiedTime": "example",
    "notes": "example",
    "phone": "example",
    "starred": true,
    "state": "example",
    "status": "example",
    "street": "example",
    "tenantClientId": 1,
    "timezone": "example",
    "title": "example",
    "uuid": "example",
    "zip": "example"
  }
}
```

### Get contract

Get one contract.

**Inputs**

- Contract UUID (`contract_uuid`, text, required): The contract's UUID, from List contracts or a trigger.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "acv": 1,
    "arr": 1,
    "autoRenew": true,
    "bookingDate": "example",
    "createdTime": "example",
    "currency": "example",
    "description": "example",
    "externalId": "example",
    "id": 1,
    "modifiedTime": "example",
    "mrr": 1,
    "name": "example",
    "note": "example",
    "probability": 1,
    "recurring": true,
    "tcv": 1,
    "tenantClientId": 1,
    "termEndDate": "example",
    "termLengthDays": 1,
    "termStartDate": "example",
    "total": 1,
    "uuid": "example"
  }
}
```

### Get pulse

Get one pulse.

**Inputs**

- Pulse UUID (`pulse_uuid`, text, required): The pulse's UUID, from List pulses or a trigger.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "clientId": 1,
    "createdByEmployeeId": 1,
    "createdTimestamp": "example",
    "currentScore": 1,
    "dispositionType": "example",
    "id": 1,
    "nextSteps": "example",
    "note": "example",
    "productId": 1,
    "uuid": "example"
  }
}
```

### List client notes

Search client notes by client, words or dates.

**Inputs**

- Client (`client_id`, number): Only notes on this client.
- Subject (`subject`, text): Only notes whose subject matches.
- Text (`note`, text): Only notes whose text matches.
- Created after (`created_after`, date and time): Only notes created after this.
- Created before (`created_before`, date and time): Only notes created before this.
- Changed after (`modified_after`, date and time): Only notes changed after this.
- Changed before (`modified_before`, date and time): Only notes changed before this.
- Sort by (`sort_by`, text): What to sort by. One of: `createdTime` (Created), `modifiedTime` (Last changed). Default: `createdTime`.
- Order (`sort_direction`, text): The order. One of: `desc` (Newest first), `asc` (Oldest first). Default: `desc`.
- Page (`page`, number): The page to read, starting at 0. At least 0. Default: `0`.
- Page size (`size`, number): Results per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "author": "example",
        "clientId": 1,
        "createdByEmployeeId": 1,
        "createdTime": "example",
        "id": 1,
        "interactionTypeId": 1,
        "modifiedTime": "example",
        "note": "example",
        "subject": "example"
      }
    ],
    "first": true,
    "last": true,
    "page": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### List clients

Search clients by name, status, assigned manager or dates.

**Inputs**

- Name (`name`, text): Only clients whose name matches.
- Status (`status`, list): Only clients with these statuses. One or more of: `ACTIVE`, `INACTIVE`, `TRIAL`, `TERMINATED`.
- External ID (`external_id`, text): Only the client with this ID in another system.
- Assigned manager ID (`assigned_csm_id`, number): Only clients this employee manages, by their ClientSuccess ID.
- Created after (`created_after`, date): Only clients created after this.
- Created before (`created_before`, date): Only clients created before this.
- Changed after (`modified_after`, date): Only clients changed after this.
- Changed before (`modified_before`, date): Only clients changed before this.
- Sort by (`sort_by`, text): What to sort by. One of: `createdTime` (Created), `modifiedTime` (Last changed), `name`. Default: `createdTime`.
- Order (`sort_direction`, text): The order. One of: `desc` (Newest first), `asc` (Oldest first). Default: `desc`.
- Page (`page`, number): The page to read, starting at 0. At least 0. Default: `0`.
- Page size (`size`, number): Results per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "active": true,
        "assignedSalesRep": "example",
        "city": "example",
        "country": "example",
        "createdTime": "example",
        "externalId": "example",
        "id": 1,
        "inceptionDate": "example",
        "logoUrl": "example",
        "managedByEmployee": {
          "email": "example",
          "firstname": "example",
          "id": 1,
          "lastname": "example",
          "name": "example",
          "status": "example"
        },
        "modifiedTime": "example",
        "name": "example",
        "note": "example",
        "npsScore": 1,
        "parentClientId": 1,
        "region": {
          "id": 1,
          "name": "example"
        },
        "salesforceAccountId": "example",
        "siteUrl": "example",
        "state": "example",
        "status": "example",
        "street": "example",
        "stripeId": "example",
        "successScore": 1,
        "terminatedDate": "example",
        "timezone": "example",
        "usageId": "example",
        "uuid": "example",
        "zip": "example"
      }
    ],
    "first": true,
    "last": true,
    "page": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### List contacts

Search contacts by client, name, email, status or dates.

**Inputs**

- Client (`client_id`, number): Only contacts of this client.
- Name (`name`, text): Only contacts whose name matches.
- Email (`email`, text): Only the contact with this email.
- Search (`search_text`, text): Words to find in names, titles, emails, phone numbers and notes.
- Status (`status`, list): Only contacts with these statuses. One or more of: `ACTIVE`, `INACTIVE`.
- Created after (`created_after`, date): Only contacts created after this.
- Created before (`created_before`, date): Only contacts created before this.
- Changed after (`modified_after`, date): Only contacts changed after this.
- Changed before (`modified_before`, date): Only contacts changed before this.
- Sort by (`sort_by`, text): What to sort by. One of: `createdTime` (Created), `modifiedTime` (Last changed), `lastName`. Default: `createdTime`.
- Order (`sort_direction`, text): The order. One of: `desc` (Newest first), `asc` (Oldest first). Default: `asc`.
- Page (`page`, number): The page to read, starting at 0. At least 0. Default: `0`.
- Page size (`size`, number): Results per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "advocate": true,
        "champion": true,
        "city": "example",
        "country": "example",
        "createdTime": "example",
        "email": "example",
        "engagementCount": 1,
        "executiveSponsor": true,
        "externalId": "example",
        "firstName": "example",
        "id": 1,
        "keyContact": true,
        "lastEngagementDate": "example",
        "lastName": "example",
        "linkedinUrl": "example",
        "mobile": "example",
        "modifiedTime": "example",
        "notes": "example",
        "phone": "example",
        "starred": true,
        "state": "example",
        "status": "example",
        "street": "example",
        "tenantClientId": 1,
        "timezone": "example",
        "title": "example",
        "uuid": "example",
        "zip": "example"
      }
    ],
    "first": true,
    "last": true,
    "page": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### List contracts

Search contracts by client, type, status or dates.

**Inputs**

- Client (`client_id`, number): Only contracts of this client.
- Name (`name`, text): Only contracts whose name matches.
- Type (`type`, text): Only contracts of this type. One of: `CONTRACT`, `ADJUSTMENT`, `RENEWAL`.
- Status (`status`, text): Only contracts with this status. One of: `FORECAST`, `CLOSED_WON` (Closed won), `CLOSED_LOST` (Closed lost), `OVERDUE`, `CHURNED`, `INVALID`.
- Created after (`created_after`, date and time): Only contracts created after this.
- Created before (`created_before`, date and time): Only contracts created before this.
- Changed after (`modified_after`, date and time): Only contracts changed after this.
- Changed before (`modified_before`, date and time): Only contracts changed before this.
- Sort by (`sort_by`, text): What to sort by. One of: `createdTime` (Created), `modifiedTime` (Last changed), `name`, `termStartDate`, `termEndDate`. Default: `createdTime`.
- Order (`sort_direction`, text): The order. One of: `desc` (Newest first), `asc` (Oldest first). Default: `desc`.
- Page (`page`, number): The page to read, starting at 0. At least 0. Default: `0`.
- Page size (`size`, number): Results per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "acv": 1,
        "arr": 1,
        "autoRenew": true,
        "bookingDate": "example",
        "createdTime": "example",
        "currency": "example",
        "description": "example",
        "externalId": "example",
        "id": 1,
        "modifiedTime": "example",
        "mrr": 1,
        "name": "example",
        "note": "example",
        "probability": 1,
        "recurring": true,
        "tcv": 1,
        "tenantClientId": 1,
        "termEndDate": "example",
        "termLengthDays": 1,
        "termStartDate": "example",
        "total": 1,
        "uuid": "example"
      }
    ],
    "first": true,
    "last": true,
    "page": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### List products

List the products and services you sell.

**Inputs**

- Name (`name`, text): Only products whose name matches.
- Active (`active`, true/false): Only active, or only inactive, products.
- Sort by (`sort_by`, text): What to sort by. One of: `createdTime` (Created), `modifiedTime` (Last changed), `name`. Default: `createdTime`.
- Order (`sort_direction`, text): The order. One of: `desc` (Newest first), `asc` (Oldest first). Default: `asc`.
- Page (`page`, number): The page to read, starting at 0. At least 0. Default: `0`.
- Page size (`size`, number): Results per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "active": true,
        "createdTime": "example",
        "description": "example",
        "externalId": "example",
        "id": 1,
        "modifiedTime": "example",
        "name": "example",
        "recurring": true,
        "sku": "example",
        "uuid": "example"
      }
    ],
    "first": true,
    "last": true,
    "page": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### List pulses

Search pulses, the health ratings given to clients.

**Inputs**

- Client (`client_id`, number): Only pulses of this client.
- Created after (`created_after`, date and time): Only pulses created after this.
- Created before (`created_before`, date and time): Only pulses created before this.
- Changed after (`modified_after`, date and time): Only pulses changed after this.
- Changed before (`modified_before`, date and time): Only pulses changed before this.
- Sort by (`sort_by`, text): What to sort by. One of: `createdTime` (Created), `modifiedTime` (Last changed). Default: `createdTime`.
- Order (`sort_direction`, text): The order. One of: `desc` (Newest first), `asc` (Oldest first). Default: `desc`.
- Page (`page`, number): The page to read, starting at 0. At least 0. Default: `0`.
- Page size (`size`, number): Results per page. From 1 to 500. Default: `100`.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "clientId": 1,
        "createdByEmployeeId": 1,
        "createdTimestamp": "example",
        "currentScore": 1,
        "dispositionType": "example",
        "id": 1,
        "nextSteps": "example",
        "note": "example",
        "productId": 1,
        "uuid": "example"
      }
    ],
    "first": true,
    "last": true,
    "page": 1,
    "size": 1,
    "totalElements": 1,
    "totalPages": 1
  }
}
```

### Record pulse

Rate how a client is doing, from extremely satisfied to severe risk.

**Inputs**

- Client (`client_id`, number, required): The client.
- Rating (`rating`, text, required): How the client is doing. One of: `EXTREMELY_SATISFIED` (Extremely satisfied), `VERY_SATISFIED` (Very satisfied), `FAIRLY_SATISFIED` (Fairly satisfied), `SOME_RISK` (Some risk), `HIGH_RISK` (High risk), `SEVERE_RISK` (Severe risk).
- Note (`note`, text): Why.
- Next steps (`next_steps`, text): What happens next.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "clientId": 1,
      "createdByEmployeeId": 1,
      "createdTimestamp": "example",
      "currentScore": 1,
      "dispositionType": "example",
      "id": 1,
      "nextSteps": "example",
      "note": "example",
      "productId": 1,
      "uuid": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Update client

Change a client's details. Only the fields given change.

**Inputs**

- Client (`client_uuid`, text, required): The client.
- Name (`name`, text): The client's name.
- Status (`status`, text): The client's status. One of: `ACTIVE`, `INACTIVE`, `TRIAL`, `TERMINATED`.
- Active (`active`, true/false): Whether the client is active. Leave empty to follow the status.
- Website (`site_url`, text): The client's website.
- Street (`street`, text): Street address.
- City (`city`, text): City.
- State (`state`, text): State or province.
- Postal code (`zip`, text): Postal code.
- Country (`country`, text): Country.
- Time zone (`timezone`, text): The client's time zone, such as America/Denver.
- Start date (`inception_date`, date): The day the client started.
- Termination date (`terminated_date`, date): The day the client left.
- External ID (`external_id`, text): The client's ID in another system.
- Salesforce account ID (`salesforce_account_id`, text): The client's Salesforce account ID.
- Client type (`client_type`, text): The client type's name, as set up in ClientSuccess.
- Sales rep (`assigned_sales_rep`, text): The full name of the client's sales rep.
- Note (`note`, text): A note about the client.
- Custom fields (`custom`, object): Custom field values, by each field's key in ClientSuccess.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "active": true,
      "assignedSalesRep": "example",
      "city": "example",
      "country": "example",
      "createdTime": "example",
      "externalId": "example",
      "id": 1,
      "inceptionDate": "example",
      "logoUrl": "example",
      "managedByEmployee": {
        "email": "example",
        "firstname": "example",
        "id": 1,
        "lastname": "example",
        "name": "example",
        "status": "example"
      },
      "modifiedTime": "example",
      "name": "example",
      "note": "example",
      "npsScore": 1,
      "parentClientId": 1,
      "region": {
        "id": 1,
        "name": "example"
      },
      "salesforceAccountId": "example",
      "siteUrl": "example",
      "state": "example",
      "status": "example",
      "street": "example",
      "stripeId": "example",
      "successScore": 1,
      "terminatedDate": "example",
      "timezone": "example",
      "usageId": "example",
      "uuid": "example",
      "zip": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Update client note

Change a client note's subject or text. Only the fields given change.

**Inputs**

- Note ID (`note_id`, number, required): The note's ID, from List client notes or a trigger.
- Subject (`subject`, text): The note's new subject.
- Note (`note`, text): The note's new text.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "author": "example",
      "clientId": 1,
      "createdByEmployeeId": 1,
      "createdTime": "example",
      "id": 1,
      "interactionTypeId": 1,
      "modifiedTime": "example",
      "note": "example",
      "subject": "example"
    },
    "message": "example",
    "success": true
  }
}
```

### Update contact

Change a contact's details. Only the fields given change.

**Inputs**

- Contact UUID (`contact_uuid`, text, required): The contact's UUID, from List contacts or a trigger.
- Client (`client_id`, number): The client the contact works for.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Email (`email`, text): Email address.
- Job title (`title`, text): Job title.
- Phone (`phone`, text): Phone number.
- Mobile (`mobile`, text): Mobile number.
- Status (`status`, text): The contact's status. New contacts are active unless chosen otherwise. One of: `ACTIVE`, `INACTIVE`.
- Advocate (`advocate`, true/false): Whether the contact is a advocate.
- Champion (`champion`, true/false): Whether the contact is a champion.
- Executive sponsor (`executive_sponsor`, true/false): Whether the contact is a executive sponsor.
- Key contact (`key_contact`, true/false): Whether the contact is a key contact.
- Starred (`starred`, true/false): Whether the contact is a starred.
- Street (`street`, text): Street address.
- City (`city`, text): City.
- State (`state`, text): State or province.
- Postal code (`zip`, text): Postal code.
- Country (`country`, text): Country.
- Time zone (`timezone`, text): Time zone, such as America/Denver.
- LinkedIn (`linkedin_url`, text): LinkedIn profile address.
- Notes (`notes`, text): Notes about the contact.
- External ID (`external_id`, text): The contact's ID in another system.
- Custom fields (`custom`, object): Custom field values, by each field's key in ClientSuccess.

**Outputs**

- `data` (object): The response from ClientSuccess.

**Example output**

```json
{
  "data": {
    "data": {
      "advocate": true,
      "champion": true,
      "city": "example",
      "country": "example",
      "createdTime": "example",
      "email": "example",
      "engagementCount": 1,
      "executiveSponsor": true,
      "externalId": "example",
      "firstName": "example",
      "id": 1,
      "keyContact": true,
      "lastEngagementDate": "example",
      "lastName": "example",
      "linkedinUrl": "example",
      "mobile": "example",
      "modifiedTime": "example",
      "notes": "example",
      "phone": "example",
      "starred": true,
      "state": "example",
      "status": "example",
      "street": "example",
      "tenantClientId": 1,
      "timezone": "example",
      "title": "example",
      "uuid": "example",
      "zip": "example"
    },
    "message": "example",
    "success": true
  }
}
```
