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
| Action | What it does |
|---|---|
| Add users to group | Make users members of a group, such as their company. |
| Add users to segment | Add users to a segment by their user IDs. |
| Create segment | Create a user segment. |
| Delete segment | Delete a segment for good. |
| Delete user profile | Delete a user's profile and properties, which also resets the flows and checklists they have seen. |
| Export events | Start an export of events over a time range, for a flow, a segment, a user or by event name. |
| Export segment members | Start an export of a segment's users. |
| Get flow | Get a flow's name, publish state, show frequency and tags. |
| Get group profile | Get every property Appcues holds for a group, such as a company. |
| Get job | Get an offline job's status and progress, and an export's file link once it's done. |
| Get segment | Get a segment's name and description. |
| Get tag | Get a tag's name. |
| Get user events | List a user's most recent events, newest first. |
| Get user profile | Get every property Appcues holds for a user. |
| List flows | List the account's flows with whether each is published and when it last changed. |
| List jobs | List recent offline jobs, such as exports and segment changes, with their status. |
| List segments | List the account's user segments. |
| List tags | List the tags used to organize flows and other experiences. |
| Publish flow | Publish a flow so it shows to the users it targets. |
| Remove users from segment | Take users added with Add users to segment out of it again. |
| Track event | Record an event for a user, such as Verified email. |
| Unpublish flow | Unpublish a flow so it stops showing. |
| Update group profile | Set properties on a group's profile, such as its plan. |
| Update segment | Rename a segment or change its description. |
| Update user profile | Set 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 ID
group_idtextRequired - The group's ID in your product, such as a company or team ID.
- User IDs
user_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
- Segment
segment_idtextRequired - The segment.
- User IDs
user_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
- Name
nametextRequired - The segment's name.
- Description
descriptiontext - 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
- Segment
segment_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 ID
end_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
- From
start_timedate and timeRequired - The start of the time range. Appcues suggests less than a month at a time.
- To
end_timedate and time - The end of the time range. Leave empty for now.
- Format
formattext - The file format. Leave empty for JSON.One of:
json,csv. - Flow
flow_idtext - Only events from this flow.
- Segment
segment_idtext - Only events from users in this segment.
- User ID
end_user_idtext - Only this user's events.
- Event names
event_nameslist - Only events with these names, such as appcues:flow_completed.
- Skip page views
skip_page_viewstrue/false - Leave out page views and profile updates, usually the bulk of the events.
- Email the link to
emaillist - Email addresses to send the export's link to.
- Events to export
limitnumber - The most events to export, up to 10 million.From 1 to 10000000.
- Events to skip
offsetnumber - 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
- Segment
segment_idtextRequired - The segment.
- Properties
property_nameslist - User properties to include besides the user ID, such as email.
- Format
formattext - The file format. Leave empty for JSON.One of:
json,csv. - Email the link to
emailtext - 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
- Flow
flow_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 ID
group_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 ID
job_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
- Segment
segment_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
- Tag
tag_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 ID
end_user_idtextRequired - The user's ID in your product, the one your app gives Appcues when it identifies them.
- Events to return
limitnumber - 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 ID
end_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
- Flow
flow_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
- Segment
segment_idtextRequired - The segment.
- User IDs
user_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 ID
end_user_idtextRequired - The user's ID in your product, the one your app gives Appcues when it identifies them.
- Event name
nametextRequired - The event's name.
- Time
timestampdate and time - When it happened. Leave empty for now.
- Attributes
attributesobject - Details about the event, by name.
- Group ID
group_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
- Flow
flow_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 ID
group_idtextRequired - The group's ID in your product, such as a company or team ID.
- Properties
propertiesobjectRequired - 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
- Segment
segment_idtextRequired - The segment.
- Name
nametext - The segment's new name.
- Description
descriptiontext - 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 ID
end_user_idtextRequired - The user's ID in your product, the one your app gives Appcues when it identifies them.
- Properties
propertiesobjectRequired - The properties to set, by name, such as plan and role.
Outputs
dataobject- The response from Appcues.
Example output
{
"data": {
"status": 1,
"title": "example"
}
}