Events
- Active Campaign
- Acuity
- Athena
- Axle Health
- Butterfly Labs
- Calendly
- Customer.io
- Elation
- Feathery
- Formsort
- Healthie
- Hubspot
- IntakeQ
- Junction
- Morf
- Posthog
- Segment
Actions
- Active Campaign
- Athena
- Customer.io
- Elation
- Facebook
- Freshdesk
- Google
- Healthie
- Hubspot
- IntakeQ
- Intercom
- Mixpanel
- Morf
- Nextdoor
- Open Phone
- Segment
- Slack
- Spruce
- Stedi
- Stripe
- Tiktok
- Twilio
Create Ticket
Documentation for the Create Ticket action for Intercom
{
"$result_object_key": {
"admin_assignee_id": "991267404",
"category": "Customer",
"contacts": {
"contacts": [
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
},
"created_at": "2024-01-15T10:30:00Z",
"id": "6601b6f123d45678901234",
"is_shared": false,
"linked_objects": {
"data": [
{
"id": "372",
"type": "conversation"
}
],
"has_more": false,
"total_count": 2
},
"open": true,
"snoozed_until": "2024-01-16T09:00:00Z",
"team_assignee_id": "394051",
"ticket_attributes": null,
"ticket_id": "12345",
"ticket_parts": {
"ticket_parts": [
{
"body": "This ticket was created by a customer.",
"created_at": "2024-01-15T10:30:00Z",
"id": "3baf5d69",
"part_type": "note",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"total_count": 1
},
"ticket_state": "in_progress",
"ticket_type": {
"archived": false,
"category": "Customer",
"created_at": "2024-01-01T10:00:00Z",
"description": "Report bugs or technical issues",
"icon": "🐛",
"id": "123",
"name": "Bug Report",
"updated_at": "2024-01-15T14:30:00Z",
"workspace_id": "ecahpwf5"
},
"updated_at": "2024-01-15T15:45:00Z"
}
}
{
"$result_object_key": {
"admin_assignee_id": "The id representing the admin assigned to the ticket",
"category": "Category of the Ticket",
"contacts": {
"contacts": {
"id": "The id of the contact",
"type": "The type of the contact"
}
},
"created_at": "The time the ticket was created",
"id": "The unique identifier for the ticket which is given by Intercom",
"is_shared": "Whether or not the ticket is shared with the customer",
"linked_objects": {
"data": {
"id": "Id of the linked object",
"type": "Type of the linked object"
},
"has_more": "Whether there are more linked objects",
"total_count": "Total count of linked objects"
},
"open": "Whether or not the ticket is open",
"snoozed_until": "The time the ticket will be snoozed until",
"team_assignee_id": "The id representing the team assigned to the ticket",
"ticket_attributes": "An object containing the different attributes associated to the ticket",
"ticket_id": "The ID of the Ticket used in the Intercom Inbox and Messenger",
"ticket_parts": {
"ticket_parts": {
"body": "The message body, which may contain HTML",
"created_at": "The time the ticket part was created",
"id": "The id representing the ticket part",
"part_type": "The type of ticket part",
"updated_at": "The last time the ticket part was updated"
},
"total_count": "Total count of ticket parts"
},
"ticket_state": "A ticket state, used to define the state of a ticket",
"ticket_type": {
"archived": "Whether the ticket type is archived or not",
"category": "Category of the Ticket Type",
"created_at": "The date and time the ticket type was created",
"description": "The description of the ticket type",
"icon": "The icon of the ticket type",
"id": "The id representing the ticket type",
"name": "The name of the ticket type",
"updated_at": "The date and time the ticket type was last updated",
"workspace_id": "The id of the workspace that the ticket type belongs to"
},
"updated_at": "The last time the ticket was updated"
}
}
Parameters
Hide parameters
Hide parameters
This field maps to the destination API ticket_type_id
field.
HI
ID
PII
This field maps to the destination API ticket_attributes
field.
ID
This field maps to the destination API contacts
field.
{
"$result_object_key": {
"admin_assignee_id": "991267404",
"category": "Customer",
"contacts": {
"contacts": [
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
},
"created_at": "2024-01-15T10:30:00Z",
"id": "6601b6f123d45678901234",
"is_shared": false,
"linked_objects": {
"data": [
{
"id": "372",
"type": "conversation"
}
],
"has_more": false,
"total_count": 2
},
"open": true,
"snoozed_until": "2024-01-16T09:00:00Z",
"team_assignee_id": "394051",
"ticket_attributes": null,
"ticket_id": "12345",
"ticket_parts": {
"ticket_parts": [
{
"body": "This ticket was created by a customer.",
"created_at": "2024-01-15T10:30:00Z",
"id": "3baf5d69",
"part_type": "note",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"total_count": 1
},
"ticket_state": "in_progress",
"ticket_type": {
"archived": false,
"category": "Customer",
"created_at": "2024-01-01T10:00:00Z",
"description": "Report bugs or technical issues",
"icon": "🐛",
"id": "123",
"name": "Bug Report",
"updated_at": "2024-01-15T14:30:00Z",
"workspace_id": "ecahpwf5"
},
"updated_at": "2024-01-15T15:45:00Z"
}
}
{
"$result_object_key": {
"admin_assignee_id": "The id representing the admin assigned to the ticket",
"category": "Category of the Ticket",
"contacts": {
"contacts": {
"id": "The id of the contact",
"type": "The type of the contact"
}
},
"created_at": "The time the ticket was created",
"id": "The unique identifier for the ticket which is given by Intercom",
"is_shared": "Whether or not the ticket is shared with the customer",
"linked_objects": {
"data": {
"id": "Id of the linked object",
"type": "Type of the linked object"
},
"has_more": "Whether there are more linked objects",
"total_count": "Total count of linked objects"
},
"open": "Whether or not the ticket is open",
"snoozed_until": "The time the ticket will be snoozed until",
"team_assignee_id": "The id representing the team assigned to the ticket",
"ticket_attributes": "An object containing the different attributes associated to the ticket",
"ticket_id": "The ID of the Ticket used in the Intercom Inbox and Messenger",
"ticket_parts": {
"ticket_parts": {
"body": "The message body, which may contain HTML",
"created_at": "The time the ticket part was created",
"id": "The id representing the ticket part",
"part_type": "The type of ticket part",
"updated_at": "The last time the ticket part was updated"
},
"total_count": "Total count of ticket parts"
},
"ticket_state": "A ticket state, used to define the state of a ticket",
"ticket_type": {
"archived": "Whether the ticket type is archived or not",
"category": "Category of the Ticket Type",
"created_at": "The date and time the ticket type was created",
"description": "The description of the ticket type",
"icon": "The icon of the ticket type",
"id": "The id representing the ticket type",
"name": "The name of the ticket type",
"updated_at": "The date and time the ticket type was last updated",
"workspace_id": "The id of the workspace that the ticket type belongs to"
},
"updated_at": "The last time the ticket was updated"
}
}
Result Object Field Details
You can use the result of the action’s data as inputs to downstream workflow actions.
Each fetch action requires a result object key to be specified which will nest the action’s result data inside the downstream data context in the Workflow.
Here we demonstrate how to refer to this data using the prefix $result_object_key
.
Hide fields
Hide fields
The unique identifier for the ticket which is given by Intercom
$result_object_key.id
"6601b6f123d45678901234"
The ID of the Ticket used in the Intercom Inbox and Messenger
$result_object_key.ticket_id
"12345"
Category of the Ticket
$result_object_key.category
"Customer"
An object containing the different attributes associated to the ticket
$result_object_key.ticket_attributes
null
A ticket state, used to define the state of a ticket
$result_object_key.ticket_state
"in_progress"
A ticket type, used to define the data fields to be captured in a ticket
$result_object_key.ticket_type
{
"archived": false,
"category": "Customer",
"created_at": "2024-01-01T10:00:00Z",
"description": "Report bugs or technical issues",
"icon": "🐛",
"id": "123",
"name": "Bug Report",
"updated_at": "2024-01-15T14:30:00Z",
"workspace_id": "ecahpwf5"
}
The id representing the ticket type
$result_object_key.ticket_type.id
"123"
Category of the Ticket Type
$result_object_key.ticket_type.category
"Customer"
The name of the ticket type
$result_object_key.ticket_type.name
"Bug Report"
The description of the ticket type
$result_object_key.ticket_type.description
"Report bugs or technical issues"
The icon of the ticket type
$result_object_key.ticket_type.icon
"🐛"
The id of the workspace that the ticket type belongs to
$result_object_key.ticket_type.workspace_id
"ecahpwf5"
Whether the ticket type is archived or not
$result_object_key.ticket_type.archived
false
The date and time the ticket type was created
$result_object_key.ticket_type.created_at
"2024-01-01T10:00:00Z"
The date and time the ticket type was last updated
$result_object_key.ticket_type.updated_at
"2024-01-15T14:30:00Z"
The list of contacts affected by a ticket
$result_object_key.contacts
{
"contacts": [
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
}
The list of contacts affected by this ticket
$result_object_key.contacts.contacts
[
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
Mapped array of: The type of the contact
$result_object_key.contacts.contacts.map(x, x.type)
[
"contact"
]
Mapped array of: The id of the contact
$result_object_key.contacts.contacts.map(x, x.id)
[
"5ba682d23d7cf92bef87bfd4"
]
The id representing the admin assigned to the ticket
$result_object_key.admin_assignee_id
"991267404"
The id representing the team assigned to the ticket
$result_object_key.team_assignee_id
"394051"
The time the ticket was created
$result_object_key.created_at
"2024-01-15T10:30:00Z"
The last time the ticket was updated
$result_object_key.updated_at
"2024-01-15T15:45:00Z"
Whether or not the ticket is open
$result_object_key.open
true
The time the ticket will be snoozed until
$result_object_key.snoozed_until
"2024-01-16T09:00:00Z"
An object containing metadata about linked conversations and linked tickets
$result_object_key.linked_objects
{
"data": [
{
"id": "372",
"type": "conversation"
}
],
"has_more": false,
"total_count": 2
}
Array of linked objects
$result_object_key.linked_objects.data
[
{
"id": "372",
"type": "conversation"
}
]
Mapped array of: Type of the linked object
$result_object_key.linked_objects.data.map(x, x.type)
[
"conversation"
]
Mapped array of: Id of the linked object
$result_object_key.linked_objects.data.map(x, x.id)
[
"372"
]
Total count of linked objects
$result_object_key.linked_objects.total_count
2
Whether there are more linked objects
$result_object_key.linked_objects.has_more
false
A list of Ticket Part objects for each note and event in the ticket
$result_object_key.ticket_parts
{
"ticket_parts": [
{
"body": "This ticket was created by a customer.",
"created_at": "2024-01-15T10:30:00Z",
"id": "3baf5d69",
"part_type": "note",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"total_count": 1
}
A list of Ticket Part objects
$result_object_key.ticket_parts.ticket_parts
[
{
"body": "This ticket was created by a customer.",
"created_at": "2024-01-15T10:30:00Z",
"id": "3baf5d69",
"part_type": "note",
"updated_at": "2024-01-15T10:30:00Z"
}
]
Mapped array of: The id representing the ticket part
$result_object_key.ticket_parts.ticket_parts.map(x, x.id)
[
"3baf5d69"
]
Mapped array of: The type of ticket part
$result_object_key.ticket_parts.ticket_parts.map(x, x.part_type)
[
"note"
]
Mapped array of: The message body, which may contain HTML
$result_object_key.ticket_parts.ticket_parts.map(x, x.body)
[
"This ticket was created by a customer."
]
Mapped array of: The time the ticket part was created
$result_object_key.ticket_parts.ticket_parts.map(x, x.created_at)
[
"2024-01-15T10:30:00Z"
]
Mapped array of: The last time the ticket part was updated
$result_object_key.ticket_parts.ticket_parts.map(x, x.updated_at)
[
"2024-01-15T10:30:00Z"
]
Total count of ticket parts
$result_object_key.ticket_parts.total_count
1
Whether or not the ticket is shared with the customer
$result_object_key.is_shared
false
{
"$result_object_key": {
"admin_assignee_id": "991267404",
"category": "Customer",
"contacts": {
"contacts": [
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
},
"created_at": "2024-01-15T10:30:00Z",
"id": "6601b6f123d45678901234",
"is_shared": false,
"linked_objects": {
"data": [
{
"id": "372",
"type": "conversation"
}
],
"has_more": false,
"total_count": 2
},
"open": true,
"snoozed_until": "2024-01-16T09:00:00Z",
"team_assignee_id": "394051",
"ticket_attributes": null,
"ticket_id": "12345",
"ticket_parts": {
"ticket_parts": [
{
"body": "This ticket was created by a customer.",
"created_at": "2024-01-15T10:30:00Z",
"id": "3baf5d69",
"part_type": "note",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"total_count": 1
},
"ticket_state": "in_progress",
"ticket_type": {
"archived": false,
"category": "Customer",
"created_at": "2024-01-01T10:00:00Z",
"description": "Report bugs or technical issues",
"icon": "🐛",
"id": "123",
"name": "Bug Report",
"updated_at": "2024-01-15T14:30:00Z",
"workspace_id": "ecahpwf5"
},
"updated_at": "2024-01-15T15:45:00Z"
}
}
{
"$result_object_key": {
"admin_assignee_id": "The id representing the admin assigned to the ticket",
"category": "Category of the Ticket",
"contacts": {
"contacts": {
"id": "The id of the contact",
"type": "The type of the contact"
}
},
"created_at": "The time the ticket was created",
"id": "The unique identifier for the ticket which is given by Intercom",
"is_shared": "Whether or not the ticket is shared with the customer",
"linked_objects": {
"data": {
"id": "Id of the linked object",
"type": "Type of the linked object"
},
"has_more": "Whether there are more linked objects",
"total_count": "Total count of linked objects"
},
"open": "Whether or not the ticket is open",
"snoozed_until": "The time the ticket will be snoozed until",
"team_assignee_id": "The id representing the team assigned to the ticket",
"ticket_attributes": "An object containing the different attributes associated to the ticket",
"ticket_id": "The ID of the Ticket used in the Intercom Inbox and Messenger",
"ticket_parts": {
"ticket_parts": {
"body": "The message body, which may contain HTML",
"created_at": "The time the ticket part was created",
"id": "The id representing the ticket part",
"part_type": "The type of ticket part",
"updated_at": "The last time the ticket part was updated"
},
"total_count": "Total count of ticket parts"
},
"ticket_state": "A ticket state, used to define the state of a ticket",
"ticket_type": {
"archived": "Whether the ticket type is archived or not",
"category": "Category of the Ticket Type",
"created_at": "The date and time the ticket type was created",
"description": "The description of the ticket type",
"icon": "The icon of the ticket type",
"id": "The id representing the ticket type",
"name": "The name of the ticket type",
"updated_at": "The date and time the ticket type was last updated",
"workspace_id": "The id of the workspace that the ticket type belongs to"
},
"updated_at": "The last time the ticket was updated"
}
}