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