# UserMotion (Actions) Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Alias](/docs/segment/connections/spec/alias), [Group](/docs/segment/connections/spec/group), [Identify](/docs/segment/connections/spec/identify), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **UserMotion (Actions)** 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.
* This destination is **Beta.**

[UserMotion](https://usermotion.com/?utm_source=segmentio\&utm_medium=docs\&utm_campaign=partners) is AI-powered predictive lead scoring software that discovers intention signals and scores leads on potential to buy, expand, or churn.

This destination is maintained by UserMotion. For any issues with the destination, [contact their Support team](mailto:support@usermotion.com).

## Getting started

1. From your workspace's [Destination catalog page](https://app.segment.com/goto-my-workspace/destinations/catalog) search for "UserMotion (Actions)".
2. Select UserMotion (Actions) and click **Add Destination**.
3. Select an existing Source to connect to UserMotion (Actions).
4. Go to the [UserMotion dashboard](https://app.usermotion.com/?returnPath=/settings/integrations?provider=api), find and copy the **API key**.
5. Enter the **API Key** in the UserMotion destination settings in Segment.
6. Save your changes and enable the destination.

## Destination Settings

| Field   | Description             | Required | Type     |
| ------- | ----------------------- | -------- | -------- |
| API Key | Your UserMotion API Key | Yes      | password |

## Available Presets

UserMotion (Actions) has the following presets

| Preset Name           | Trigger                                    | Default Action        |
| --------------------- | ------------------------------------------ | --------------------- |
| Track Analytics Event | Event type = "track", Event  type = "page" | Track Analytics Event |
| Identify User         | Event type = "identify"                    | Identify              |
| Identify Group        | Event type = "group"                       | Identify Company      |

## Available Actions

Build your own Mappings. Combine supported [triggers](/docs/segment/connections/destinations/actions/#components-of-a-destination-action) with the following UserMotion-supported actions:

> \[!NOTE]
>
> Individual destination instances have support a maximum of 50 mappings.

* [Identify Company](#identify-company-1)
* [Track Analytics Event](#track-analytics-event)
* [Identify](#identify-5)

### Identify Company

Create or update a company in UserMotion

Identify Company is a **Cloud** action. The default Trigger is `type = "group"`

| Field        | Description                          | Required | Type   |
| ------------ | ------------------------------------ | -------- | ------ |
| User ID      | A identifier for a known user.       | No       | STRING |
| Anonymous ID | An identifier for an anonymous user  | No       | STRING |
| Group ID     | A identifier for a known company.    | Yes      | STRING |
| Traits       | Traits to associate with the company | No       | OBJECT |

### Track Analytics Event

Send user and page events to UserMotion

Track Analytics Event is a **Cloud** action. The default Trigger is `type = "track" or type = "page"`

| Field              | Description                                   | Required | Type   |
| ------------------ | --------------------------------------------- | -------- | ------ |
| User ID            | A identifier for a known user.                | No       | STRING |
| Anonymous ID       | An identifier for an anonymous user           | No       | STRING |
| Event Name         | The name of the track() event or page() event | Yes      | STRING |
| Context properties | Context properties to send with the event     | No       | OBJECT |
| Event Properties   | Properties to send with the event.            | No       | OBJECT |

### Identify

Identify user in UserMotion

Identify is a **Cloud** action. The default Trigger is `type = "identify"`

| Field        | Description                              | Required | Type   |
| ------------ | ---------------------------------------- | -------- | ------ |
| User ID      | A identifier for a known user.           | Yes      | STRING |
| Anonymous ID | An identifier for an anonymous user      | No       | STRING |
| Email        | The email address of the identified user | Yes      | STRING |
| Traits       | Traits to associate with the user        | No       | OBJECT |

## 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 UserMotion (Actions)  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 | Your UserMotion API Key | Yes      | password |
