Skip to content

Front ​

Creates a Front conversation from an email, replies, comments, assigns, tags and searches conversations.

The Front node acts on Front shared inboxes. Its most common use: create a conversation from the received email, attachments included, so the team handles it in Front — then comment, assign or tag it based on what the analysis found.

It works with a Front connection (an API token). See Front to create one.

At a glance ​

  • Type: front.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: Front
  • Inputs: main
  • Outputs: main
The ports of “Front”: 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 Front connection.Frontfront.apimainmainerror · only with “Follow the Error output”Connection: Front
The ports of “Front”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Front connection.

Parameters ​

connection ​

Front connection — The Front 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: importMessage
  • Options:
    • importMessage — Create a conversation from an email: Imports the message into a Front inbox, with its attachments if you ask for them.
    • reply — Reply in a conversation: The message is sent from Front, on behalf of the token.
    • comment — Add an internal comment: Visible to the team only.
    • update — Change status or assignee
    • addTags — Add tags: Tags already on the conversation are kept.
    • search — Search conversations: With Front’s search syntax (is:open tag:…).
    • get — Get a conversation

inbox ​

Inbox

  • Type: Remote resource (resourceLocator)
  • Required: Yes
  • Ways to choose: pick from a list, type an ID (front.inbox)
  • Listed with the connection in: connection
  • Shown when: action is importMessage

senderEmail ​

Sender address

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

senderName ​

Sender name

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Example: {{ email.from.name }}
  • Shown when: action is importMessage
  • Expressions: {{ }} accepted

to ​

Recipient(s) — The address of the inbox that received the message. Several: comma-separated.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 2000 characters at most
  • Shown when: action is importMessage
  • Expressions: {{ }} accepted

subject ​

Subject

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

body ​

Body — The text of the message, reply or comment. Accepts {{ }} expressions.

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

externalId ​

External id — Front refuses two imports with the same id: that is what prevents duplicates. Empty: an id derived from the step.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 500 characters at most
  • Shown when: action is importMessage
  • Expressions: {{ }} accepted

withAttachments ​

Include attachments — The email’s attachments and those added by an earlier step (25 MB at most in total).

  • Type: Yes / no (boolean)
  • Required: No
  • Default: true
  • Shown when: action is importMessage

keepOpen ​

Keep the conversation open — By default, Front archives a conversation that was imported or just replied to.

  • Type: Yes / no (boolean)
  • Required: No
  • Default: true
  • Shown when: action is one of importMessage, reply

conversationId ​

Conversation — The Front id (cnv_…), as the trigger or a search returns it.

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

status ​

Status

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Unchanged
    • archived — Archived
    • open — Open
  • Shown when: action is update

assignee ​

Assign to — Empty: the assignee is left as is.

  • Type: Remote resource (resourceLocator)
  • Required: No
  • Ways to choose: pick from a list, type an ID (front.teammate)
  • Listed with the connection in: connection
  • Shown when: action is update

tags ​

Tags — The ids (tag_…), comma-separated. The tag list is in Front → Settings → Tags.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 2000 characters at most
  • Shown when: action is addTags
  • Expressions: {{ }} accepted

query ​

Search query

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 1000 characters at most
  • Example: is:open {{ email.from.email }}
  • Shown when: action is search
  • Expressions: {{ }} accepted

limit ​

Maximum count

  • Type: Number (number)
  • Required: No
  • Default: 20
  • Whole number, from 1 to 100
  • Shown when: action is search

Outputs ​

  • main — Taken once the call to Front succeeds, whatever the action. An error answer from Front 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>.messageUid }} — string. Create a conversation and Reply: the id of the message Front accepted.
  • {{ data.<step>.attachmentCount }} — number. Create a conversation only: how many attachments were sent (25 MB at most in total).
  • {{ data.<step>.conversations }} — array of { id, subject, status, recipient, assigneeEmail, tags, createdAt }. Search only: the conversations found.
  • {{ data.<step>.conversationId }} — string. Search only: the id of the first conversation found, empty otherwise.
  • {{ data.<step>.found }} — boolean. Search only: true when at least one conversation matches.
  • {{ data.<step>.conversation }} — { id, subject, status, recipient, assigneeEmail, tags, createdAt }. Get a conversation only: the conversation read.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of done (test run). Reads always go out for real.
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Operations ​

  • Create a conversation from an email — imports the message into the chosen inbox. Front refuses two imports with the same External id: that is what prevents duplicates when a run is replayed.
  • Reply in a conversation — sends a reply from Front.
  • Add an internal comment — a note visible to the team only.
  • Change status or assignee — archive, reopen, assign to a teammate.
  • Add tags — without removing the ones already there.
  • Search conversations — with Front’s search syntax (is:open, tag:…, an address).
  • Get a conversation.

By default Front archives a conversation that was imported or just replied to; Keep the conversation open prevents it.

Loop & Roll — the workflow builder for email.