Appcues

App · 25 actions

Publish and unpublish Appcues flows, manage segments and their users, update user and group profiles, track events, export event data, and follow new flows, segments and finished jobs.

Actions

ActionWhat it does
Add users to groupMake users members of a group, such as their company.
Add users to segmentAdd users to a segment by their user IDs.
Create segmentCreate a user segment.
Delete segmentDelete a segment for good.
Delete user profileDelete a user's profile and properties, which also resets the flows and checklists they have seen.
Export eventsStart an export of events over a time range, for a flow, a segment, a user or by event name.
Export segment membersStart an export of a segment's users.
Get flowGet a flow's name, publish state, show frequency and tags.
Get group profileGet every property Appcues holds for a group, such as a company.
Get jobGet an offline job's status and progress, and an export's file link once it's done.
Get segmentGet a segment's name and description.
Get tagGet a tag's name.
Get user eventsList a user's most recent events, newest first.
Get user profileGet every property Appcues holds for a user.
List flowsList the account's flows with whether each is published and when it last changed.
List jobsList recent offline jobs, such as exports and segment changes, with their status.
List segmentsList the account's user segments.
List tagsList the tags used to organize flows and other experiences.
Publish flowPublish a flow so it shows to the users it targets.
Remove users from segmentTake users added with Add users to segment out of it again.
Track eventRecord an event for a user, such as Verified email.
Unpublish flowUnpublish a flow so it stops showing.
Update group profileSet properties on a group's profile, such as its plan.
Update segmentRename a segment or change its description.
Update user profileSet properties on a user's profile, such as plan or role.

Add users to group

Make users members of a group, such as their company.

Inputs

Group IDgroup_idtextRequired
The group's ID in your product, such as a company or team ID.
User IDsuser_idslistRequired
User IDs from your product.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

Add users to segment

Add users to a segment by their user IDs. Appcues applies it within a few minutes; the job ID shows its progress.

Inputs

Segmentsegment_idtextRequired
The segment.
User IDsuser_idslistRequired
User IDs from your product.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "job_id": "example",
    "job_url": "example",
    "status": 1,
    "title": "example"
  }
}

Create segment

Create a user segment. Add users to it with Add users to segment.

Inputs

NamenametextRequired
The segment's name.
Descriptiondescriptiontext
What the segment is for.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "created_at": "example",
    "created_by": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "updated_at": "example",
    "updated_by": "example",
    "url": "example"
  }
}

Delete segment

Delete a segment for good.

Inputs

Segmentsegment_idtextRequired
The segment.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

Delete user profile

Delete a user's profile and properties, which also resets the flows and checklists they have seen. Their past activity stays in reports.

Inputs

User IDend_user_idtextRequired
The user's ID in your product, the one your app gives Appcues when it identifies them.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "job_id": "example",
    "job_url": "example",
    "status": 1,
    "title": "example"
  }
}

Export events

Start an export of events over a time range, for a flow, a segment, a user or by event name. Get job returns the file's link when it's ready.

Inputs

Fromstart_timedate and timeRequired
The start of the time range. Appcues suggests less than a month at a time.
Toend_timedate and time
The end of the time range. Leave empty for now.
Formatformattext
The file format. Leave empty for JSON.One of: json, csv.
Flowflow_idtext
Only events from this flow.
Segmentsegment_idtext
Only events from users in this segment.
User IDend_user_idtext
Only this user's events.
Event namesevent_nameslist
Only events with these names, such as appcues:flow_completed.
Skip page viewsskip_page_viewstrue/false
Leave out page views and profile updates, usually the bulk of the events.
Email the link toemaillist
Email addresses to send the export's link to.
Events to exportlimitnumber
The most events to export, up to 10 million.From 1 to 10000000.
Events to skipoffsetnumber
How many events to skip, with Events to export, for reading in pages.At least 0.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "job_id": "example",
    "job_url": "example",
    "status": 1,
    "title": "example"
  }
}

Export segment members

Start an export of a segment's users. Get job returns the file's link when it's ready, and Appcues can email it too.

Inputs

Segmentsegment_idtextRequired
The segment.
Propertiesproperty_nameslist
User properties to include besides the user ID, such as email.
Formatformattext
The file format. Leave empty for JSON.One of: json, csv.
Email the link toemailtext
An email address to send the export's link to.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "job_id": "example",
    "job_url": "example",
    "status": 1,
    "title": "example"
  }
}

Get flow

Get a flow's name, publish state, show frequency and tags.

Inputs

Flowflow_idtextRequired
The flow.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "created_at": "example",
    "created_by": "example",
    "frequency": "example",
    "id": "example",
    "name": "example",
    "published": true,
    "published_at": "example",
    "tag_ids": [
      "example"
    ],
    "updated_at": "example",
    "updated_by": "example",
    "url": "example"
  }
}

Get group profile

Get every property Appcues holds for a group, such as a company.

Inputs

Group IDgroup_idtextRequired
The group's ID in your product, such as a company or team ID.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {}
}

Get job

Get an offline job's status and progress, and an export's file link once it's done.

Inputs

Job IDjob_idtextRequired
The job's ID, which the step that started it returns.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "events": [
      {
        "attributes": {},
        "name": "example",
        "timestamp": "example"
      }
    ],
    "id": "example",
    "name": "example",
    "started_at": "example",
    "status": "example",
    "url": "example"
  }
}

Get segment

Get a segment's name and description.

Inputs

Segmentsegment_idtextRequired
The segment.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "created_at": "example",
    "created_by": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "updated_at": "example",
    "updated_by": "example",
    "url": "example"
  }
}

Get tag

Get a tag's name.

Inputs

Tagtag_idtextRequired
The tag.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "created_at": "example",
    "created_by": "example",
    "id": "example",
    "name": "example",
    "updated_at": "example",
    "updated_by": "example",
    "url": "example"
  }
}

Get user events

List a user's most recent events, newest first.

Inputs

User IDend_user_idtextRequired
The user's ID in your product, the one your app gives Appcues when it identifies them.
Events to returnlimitnumber
How many events to return. Leave empty for 100.At least 1.

Outputs

datalist
The response from Appcues.
Example output
{
  "data": [
    {
      "attributes": {},
      "name": "example",
      "timestamp": "example",
      "user_id": "example"
    }
  ]
}

Get user profile

Get every property Appcues holds for a user.

Inputs

User IDend_user_idtextRequired
The user's ID in your product, the one your app gives Appcues when it identifies them.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {}
}

List flows

List the account's flows with whether each is published and when it last changed.

Inputs

None.

Outputs

datalist
The response from Appcues.
Example output
{
  "data": [
    {
      "created_at": "example",
      "created_by": "example",
      "frequency": "example",
      "id": "example",
      "name": "example",
      "published": true,
      "published_at": "example",
      "tag_ids": [
        "example"
      ],
      "updated_at": "example",
      "updated_by": "example",
      "url": "example"
    }
  ]
}

List jobs

List recent offline jobs, such as exports and segment changes, with their status.

Inputs

None.

Outputs

datalist
The response from Appcues.
Example output
{
  "data": [
    {
      "id": "example",
      "name": "example",
      "started_at": "example",
      "status": "example",
      "url": "example"
    }
  ]
}

List segments

List the account's user segments.

Inputs

None.

Outputs

datalist
The response from Appcues.
Example output
{
  "data": [
    {
      "created_at": "example",
      "created_by": "example",
      "description": "example",
      "id": "example",
      "name": "example",
      "updated_at": "example",
      "updated_by": "example",
      "url": "example"
    }
  ]
}

List tags

List the tags used to organize flows and other experiences.

Inputs

None.

Outputs

datalist
The response from Appcues.
Example output
{
  "data": [
    {
      "created_at": "example",
      "created_by": "example",
      "id": "example",
      "name": "example",
      "updated_at": "example",
      "updated_by": "example",
      "url": "example"
    }
  ]
}

Publish flow

Publish a flow so it shows to the users it targets. Publishing a published flow changes nothing.

Inputs

Flowflow_idtextRequired
The flow.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

Remove users from segment

Take users added with Add users to segment out of it again.

Inputs

Segmentsegment_idtextRequired
The segment.
User IDsuser_idslistRequired
User IDs from your product.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "job_id": "example",
    "job_url": "example",
    "status": 1,
    "title": "example"
  }
}

Track event

Record an event for a user, such as Verified email. It can be used for targeting at once.

Inputs

User IDend_user_idtextRequired
The user's ID in your product, the one your app gives Appcues when it identifies them.
Event namenametextRequired
The event's name.
Timetimestampdate and time
When it happened. Leave empty for now.
Attributesattributesobject
Details about the event, by name.
Group IDgroup_idtext
The group (such as a company) the event belongs to.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

Unpublish flow

Unpublish a flow so it stops showing. Unpublishing an unpublished flow changes nothing.

Inputs

Flowflow_idtextRequired
The flow.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

Update group profile

Set properties on a group's profile, such as its plan. They can be used for targeting at once.

Inputs

Group IDgroup_idtextRequired
The group's ID in your product, such as a company or team ID.
PropertiespropertiesobjectRequired
The properties to set, by name, such as group_name and plan.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

Update segment

Rename a segment or change its description.

Inputs

Segmentsegment_idtextRequired
The segment.
Namenametext
The segment's new name.
Descriptiondescriptiontext
The segment's new description.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "created_at": "example",
    "created_by": "example",
    "description": "example",
    "id": "example",
    "name": "example",
    "updated_at": "example",
    "updated_by": "example",
    "url": "example"
  }
}

Update user profile

Set properties on a user's profile, such as plan or role. They can be used for targeting at once.

Inputs

User IDend_user_idtextRequired
The user's ID in your product, the one your app gives Appcues when it identifies them.
PropertiespropertiesobjectRequired
The properties to set, by name, such as plan and role.

Outputs

dataobject
The response from Appcues.
Example output
{
  "data": {
    "status": 1,
    "title": "example"
  }
}

On this page