Skip to content

Crisp ​

Replies in a Crisp conversation, leaves a private note, resolves or reopens it, creates or finds a contact.

The Crisp node acts in a conversation — reply, private note, resolution — and keeps the contact book up to date from an email.

It works with a Crisp connection. See Crisp.

At a glance ​

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

Connection ​

This node needs a Crisp connection.

Parameters ​

connection ​

Crisp connection — The Crisp 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: sendMessage
  • Options:
    • sendMessage — Reply in a conversation
    • addNote — Add a private note
    • setState — Resolve or reopen
    • getConversation — Get a conversation
    • createProfile — Create a contact
    • getProfile — Find a contact by email

sessionId ​

Conversation — The Crisp session identifier (session_…).

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 120 characters at most
  • Shown when: action is one of sendMessage, addNote, setState, getConversation
  • Expressions: {{ }} accepted

content ​

Text

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

state ​

State

  • Type: One choice (options)
  • Required: No
  • Default: resolved
  • Options:
    • resolved — Resolved
    • unresolved — Unresolved
    • pending — Pending
  • Shown when: action is setState

email ​

Email address

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

nickname ​

Display name

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

Outputs ​

  • main — Taken once the call to Crisp succeeds. An error response from Crisp 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>.conversation }} — { sessionId, state, email, nickname, lastMessage }. Get: the conversation.
  • {{ data.<step>.peopleId }} — string. Contact: its Crisp identifier.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of performed (test run).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Loop & Roll — the workflow builder for email.