English
Intercom
Opens an Intercom conversation or ticket from an email, finds or creates the contact, replies, adds notes, closes and assigns.
The Intercom node brings an email into customer messaging: it finds the contact by address (or creates it), opens a conversation or a ticket, then replies, adds notes, closes or assigns.
It works with an Intercom connection. See Intercom.
At a glance
- Type:
intercom.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: Writes outside (
external_write) — writes outside Loop & Roll; described instead of performed during a test run - Needs a carrier email: No
- Connection: Intercom
- Inputs:
main - Outputs:
main
Connection
This node needs a Intercom connection.
Parameters
connection
Intercom connection — The Intercom connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
createConversation - Options:
createConversation— Open a conversation from an email: The contact is found by address, or created.createTicket— Create a ticketreply— Reply or add a notemanage— Close, reopen or assignfindOrCreateContact— Find or create a contactsearchContacts— Search a contactgetConversation— Get a conversation
email
Contact address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.email }} - Shown when:
actionis one ofcreateConversation,createTicket,findOrCreateContact,searchContacts - Expressions:
{{ }}accepted
contactName
Contact name — Only used when the contact must be created.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Example:
{{ email.from.name }} - Shown when:
actionis one ofcreateConversation,createTicket,findOrCreateContact - Expressions:
{{ }}accepted
role
Create as
- Type: One choice (
options) - Required: No
- Default:
user - Options:
user— Userlead— Lead
- Shown when:
actionis one ofcreateConversation,createTicket,findOrCreateContact
ticketType
Ticket type
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
intercom.ticketType) - Listed with the connection in:
connection - Shown when:
actioniscreateTicket
title
Title
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 500 characters at most
- Example:
{{ email.subject }} - Shown when:
actioniscreateTicket - Expressions:
{{ }}accepted
body
Body
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 50000 characters at most
- Example:
{{ email.bodyText }} - Shown when:
actionis one ofcreateConversation,createTicket,reply - Expressions:
{{ }}accepted
conversationId
Conversation
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 100 characters at most
- Example:
{{ data.intercom.conversationId }} - Shown when:
actionis one ofreply,manage,getConversation - Expressions:
{{ }}accepted
messageType
Kind
- Type: One choice (
options) - Required: No
- Default:
note - Options:
note— Internal notecomment— Reply to the customer
- Shown when:
actionisreply
operation
Operation
- Type: One choice (
options) - Required: No
- Default:
close - Options:
close— Closeopen— Reopenassignment— Assign
- Shown when:
actionismanage
admin
On behalf of — The teammate who signs the reply or the operation.
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
intercom.admin) - Listed with the connection in:
connection - Shown when:
actionis one ofreply,manage
assignee
Assign to
- Type: Remote resource (
resourceLocator) - Required: Yes
- Ways to choose: pick from a list, type an ID (
intercom.admin) - Listed with the connection in:
connection - Shown when:
actionismanageandoperationisassignment
Outputs
main— Taken once the call to Intercom succeeds. An error answer from Intercom fails the step instead.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.conversationId }}—string. Open a conversation only: the id of the conversation created.{{ data.<step>.contactId }}—string. The contact actions: the id of the contact found or created.{{ data.<step>.created }}—boolean. Find or create a contact only: true when the contact was created.{{ data.<step>.ticketId }}—string. Create a ticket only: the ticket id.{{ data.<step>.conversation }}—{ id, title, state, open, body, authorEmail, authorName, adminAssigneeId, createdAt, updatedAt }. Get a conversation, and Close, reopen or assign: the conversation.{{ data.<step>.simulated }}—boolean. true when the write was described instead of done (test run). The contact search always goes out for real.{{ data.<step>.summary }}—string. The one-line summary in the member’s language.
Operations
- Open a conversation from an email and Create a ticket — the contact is found or created first.
- Reply or add a note — on behalf of the chosen teammate.
- Close, reopen or assign.
- Find or create a contact, Search a contact, Get a conversation.