Documentation Index
Fetch the complete documentation index at: https://docs.morf.health/docs/llms.txt
Use this file to discover all available pages before exploring further.
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
CEL
$result_object_key.id
Example
"6601b6f123d45678901234"
The ID of the Ticket used in the Intercom Inbox and Messenger
CEL
$result_object_key.ticket_id
Example
"12345"
Category of the Ticket
CEL
$result_object_key.category
Example
"Customer"
An object containing the different attributes associated to the ticket
CEL
$result_object_key.ticket_attributes
Example
null
A ticket state, used to define the state of a ticket
CEL
$result_object_key.ticket_state
Example
"in_progress"
A ticket type, used to define the data fields to be captured in a ticket
CEL
$result_object_key.ticket_type
Example
{
"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
CEL
$result_object_key.ticket_type.id
Example
"123"
Category of the Ticket Type
CEL
$result_object_key.ticket_type.category
Example
"Customer"
The name of the ticket type
CEL
$result_object_key.ticket_type.name
Example
"Bug Report"
The description of the ticket type
CEL
$result_object_key.ticket_type.description
Example
"Report bugs or technical issues"
The icon of the ticket type
CEL
$result_object_key.ticket_type.icon
Example
"🐛"
The id of the workspace that the ticket type belongs to
CEL
$result_object_key.ticket_type.workspace_id
Example
"ecahpwf5"
Whether the ticket type is archived or not
CEL
$result_object_key.ticket_type.archived
Example
false
The date and time the ticket type was created
CEL
$result_object_key.ticket_type.created_at
Example
"2024-01-01T10:00:00Z"
The date and time the ticket type was last updated
CEL
$result_object_key.ticket_type.updated_at
Example
"2024-01-15T14:30:00Z"
The list of contacts affected by a ticket
CEL
$result_object_key.contacts
Example
{
"contacts": [
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
}
The list of contacts affected by this ticket
CEL
$result_object_key.contacts.contacts
Example
[
{
"id": "5ba682d23d7cf92bef87bfd4",
"type": "contact"
}
]
Mapped array of: The type of the contact
CEL
$result_object_key.contacts.contacts.map(x, x.type)
Example
[
"contact"
]
Mapped array of: The id of the contact
CEL
$result_object_key.contacts.contacts.map(x, x.id)
Example
[
"5ba682d23d7cf92bef87bfd4"
]
The id representing the admin assigned to the ticket
CEL
$result_object_key.admin_assignee_id
Example
"991267404"
The id representing the team assigned to the ticket
CEL
$result_object_key.team_assignee_id
Example
"394051"
The time the ticket was created
CEL
$result_object_key.created_at
Example
"2024-01-15T10:30:00Z"
The last time the ticket was updated
CEL
$result_object_key.updated_at
Example
"2024-01-15T15:45:00Z"
Whether or not the ticket is open
CEL
$result_object_key.open
Example
true
The time the ticket will be snoozed until
CEL
$result_object_key.snoozed_until
Example
"2024-01-16T09:00:00Z"
An object containing metadata about linked conversations and linked tickets
CEL
$result_object_key.linked_objects
Example
{
"data": [
{
"id": "372",
"type": "conversation"
}
],
"has_more": false,
"total_count": 2
}
Array of linked objects
CEL
$result_object_key.linked_objects.data
Example
[
{
"id": "372",
"type": "conversation"
}
]
Mapped array of: Type of the linked object
CEL
$result_object_key.linked_objects.data.map(x, x.type)
Example
[
"conversation"
]
Mapped array of: Id of the linked object
CEL
$result_object_key.linked_objects.data.map(x, x.id)
Example
[
"372"
]
Total count of linked objects
CEL
$result_object_key.linked_objects.total_count
Example
2
Whether there are more linked objects
CEL
$result_object_key.linked_objects.has_more
Example
false
A list of Ticket Part objects for each note and event in the ticket
CEL
$result_object_key.ticket_parts
Example
{
"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
CEL
$result_object_key.ticket_parts.ticket_parts
Example
[
{
"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
CEL
$result_object_key.ticket_parts.ticket_parts.map(x, x.id)
Example
[
"3baf5d69"
]
Mapped array of: The type of ticket part
CEL
$result_object_key.ticket_parts.ticket_parts.map(x, x.part_type)
Example
[
"note"
]
Mapped array of: The message body, which may contain HTML
CEL
$result_object_key.ticket_parts.ticket_parts.map(x, x.body)
Example
[
"This ticket was created by a customer."
]
Mapped array of: The time the ticket part was created
CEL
$result_object_key.ticket_parts.ticket_parts.map(x, x.created_at)
Example
[
"2024-01-15T10:30:00Z"
]
Mapped array of: The last time the ticket part was updated
CEL
$result_object_key.ticket_parts.ticket_parts.map(x, x.updated_at)
Example
[
"2024-01-15T10:30:00Z"
]
Total count of ticket parts
CEL
$result_object_key.ticket_parts.total_count
Example
1
Whether or not the ticket is shared with the customer
CEL
$result_object_key.is_shared
Example
false
