younifyd
Menu

Data Event Summaries

Create event summaries

POST/events/summaries

Use it in a workflow

  1. Add a step and choose the Intercom connector.
  2. Pick the Data Event Summaries action (under Data Events).
  3. Fill in the fields below, then reference the result from later steps as {{dataEventSummaries.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.

user_idstring

Your identifier for the user.

event_summariesobject

A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.

event_namestring

The name of the event that occurred. A good event name is typically a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.

countinteger

The number of times the event occurred.

firstinteger (date-time)

The first time the event was sent

lastinteger (date-time)

The last time the event was sent

json
{
  "user_id": "314159",
  "event_summaries": {
    "event_name": "invited-friend",
    "count": 1,
    "first": 1671028894,
    "last": 1671028894
  }
}

Response

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

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

Data Event Summaries — Intercom — Documentation