Skip to content

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
The ports of “Intercom”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Intercom connection.Intercomintercom.apimainmainerror · only with “Follow the Error output”Connection: Intercom
The ports of “Intercom”: what comes in on the left, what goes out on the right

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 ticket
    • reply — Reply or add a note
    • manage — Close, reopen or assign
    • findOrCreateContact — Find or create a contact
    • searchContacts — Search a contact
    • getConversation — Get a conversation

email ​

Contact address

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 320 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is one of createConversation, 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: action is one of createConversation, createTicket, findOrCreateContact
  • Expressions: {{ }} accepted

role ​

Create as

  • Type: One choice (options)
  • Required: No
  • Default: user
  • Options:
    • user — User
    • lead — Lead
  • Shown when: action is one of createConversation, 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: action is createTicket

title ​

Title

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 500 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is createTicket
  • Expressions: {{ }} accepted

body ​

Body

  • Type: Long text (text)
  • Required: Yes
  • Default: "" (empty)
  • 50000 characters at most
  • Example: {{ email.bodyText }}
  • Shown when: action is one of createConversation, createTicket, reply
  • Expressions: {{ }} accepted

conversationId ​

Conversation

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 100 characters at most
  • Example: {{ data.intercom.conversationId }}
  • Shown when: action is one of reply, manage, getConversation
  • Expressions: {{ }} accepted

messageType ​

Kind

  • Type: One choice (options)
  • Required: No
  • Default: note
  • Options:
    • note — Internal note
    • comment — Reply to the customer
  • Shown when: action is reply

operation ​

Operation

  • Type: One choice (options)
  • Required: No
  • Default: close
  • Options:
    • close — Close
    • open — Reopen
    • assignment — Assign
  • Shown when: action is manage

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: action is one of reply, 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: action is manage and operation is assignment

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.

Loop & Roll — the workflow builder for email.