English
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
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 conversationaddNote— Add a private notesetState— Resolve or reopengetConversation— Get a conversationcreateProfile— Create a contactgetProfile— 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:
actionis one ofsendMessage,addNote,setState,getConversation - Expressions:
{{ }}accepted
content
Text
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 20000 characters at most
- Example:
{{ email.bodyText }} - Shown when:
actionis one ofsendMessage,addNote - Expressions:
{{ }}accepted
state
State
- Type: One choice (
options) - Required: No
- Default:
resolved - Options:
resolved— Resolvedunresolved— Unresolvedpending— Pending
- Shown when:
actionissetState
email
Email address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.email }} - Shown when:
actionis one ofcreateProfile,getProfile - Expressions:
{{ }}accepted
nickname
Display name
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 200 characters at most
- Example:
{{ email.from.name }} - Shown when:
actioniscreateProfile - 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.