younifyd
Menu

Create Data Event

Submit a data event

POST/events

Use it in a workflow

  1. Add a step and choose the Intercom connector.
  2. Pick the Create Data Event action (under Data Events).
  3. Fill in the fields below, then reference the result from later steps as {{createDataEvent.response.data}}.

Request

Headers

Intercom-Versionstring

Intercom API version.</br>By default, it's equal to the version set in the app package.

One of1.01.11.21.31.42.02.12.22.32.42.52.62.72.82.92.102.112.122.132.142.152.16Default "2.16"

Request body

Enter the body as JSON in the step's Body field.

event_namestring

The name of the event that occurred. This is presented to your App's admins when filtering and creating segments - a good event name is typically a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.

created_atinteger (date-time)

The time the event occurred as a UTC Unix timestamp

user_idstring

Your identifier for the user.

idstring

The unique identifier for the contact (lead or user) which is given by Intercom.

emailstring

An email address for your user. An email should only be used where your application uses email to uniquely identify users.

metadataobject

Optional metadata about the event.

json
{
  "event_name": "invited-friend",
  "created_at": 1671028894,
  "user_id": "314159",
  "id": "8a88a590-e1c3-41e2-a502-e0649dbf721c",
  "email": "frodo.baggins@example.com",
  "metadata": {
    "invite_code": "ADDAFRIEND"
  }
}

Response

Returns 202 with a any. Read it in later steps with {{createDataEvent.response.data.<field>}}.

Need more? See the Intercom guide for connection setup and behaviour shared by every action.