# Crisp Destination

## Destination Info

* Accepts [Identify](/docs/segment/connections/spec/identify), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **Crisp** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)
* This integration is **partner owned.** Please reach out to the partner's support for any issues.

### Components

* [Browser](https://github.com/baptistejamin/analytics.js-integration-crisp)

## Connection Modes

[Learn more about connection modes.](/docs/segment/connections/destinations/#connection-modes)

### Device-Mode

* web: yes
* mobile: no
* server: no

### Cloud-Mode

* web: no
* mobile: no
* server: no

[Crisp](https://crisp.chat/?utm_source=segmentio\&utm_medium=docs\&utm_campaign=partners) is an all-in-one solution to communicate with your customers using text-messaging.

This destination is maintained by Crisp. For any issues with the destination, [contact the Crisp Support team](mailto:support@crisp.chat).

## Getting Started

1. Go to the [Crisp Plugins page](http://app.crisp.chat).
2. Search for the "Segment" plugin, click **Connect to Segment**.
3. The Segment App opens in a new window. Log in to authenticate the connection from Crisp.
4. Select the Workspace and Source to connect with Crisp.

## Supported methods

Crisp supports the following methods, as specified in the [Segment Spec](/docs/segment/connections/spec/).

### Identify

Send [Identify](/docs/segment/connections/spec/identify/) calls to create or update a User profile. The `email` trait is required to create new Users. For example:

```js
analytics.identify('userId123', {
  name: 'John Doe',
  email: 'john.doe@segment.com',
  phone: '012346789',
  avatar: 'https://pbs.twimg.com/profile_images/834424630630817795/TfyS4uXb_400x400.jpg'
});
```

### Track

Crisp adds [Track](/docs/segment/connections/spec/track/) events to the User's profile events stream.

```js
analytics.track('Completed Purchase', {
  revenue: 42.99,
  shippingMethod: '2-day',
  category: 'Conversion'
});
```

> \[!WARNING]
>
> Send an Identify call for any user who triggers Track calls. If Crisp receives a Track call for an unknown `userId`, the call is dropped.

## Engage

You can send computed traits and audiences generated using [Engage](/docs/segment/engage) to this destination as a **user property**. To learn more about Engage, schedule a [demo](https://segment.com/contact/demo).

For user-property destinations, an [identify](/docs/segment/connections/spec/identify/) call is sent to the destination for each user being added and removed. The property name is the snake\_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property `order_completed_last_30days: true`. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to `false`.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

> \[!NOTE]
>
> Real-time audience syncs to Crisp  may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.

## Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

| Field      | Description                                                                                                     | Required | Type   |
| ---------- | --------------------------------------------------------------------------------------------------------------- | -------- | ------ |
| API Key    | The API key is autoset when linking Crisp with Segment. Click "Connect to Segment" in the Crisp plugins section | Yes      | string |
| Website ID |                                                                                                                 | No       | string |
