Create CRM Step
Creates a new CRM step within a scenario.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The name for the new CRM step.
The ID of the CRM scenario this step belongs to.
Optional Agent ID to associate with this step.
A trigger condition or keyword for this step. Either this or 'prompt' is required.
The main prompt or instruction for this step. Either this or 'trigger' is required.
An initial message to be sent when this step is activated.
ID of the step to automatically transition to.
Time in seconds to wait before auto-transitioning.
Default status for conversations at this step.
RESOLVED
, UNRESOLVED
, HUMAN_REQUESTED
Default priority for conversations at this step.
LOW
, MEDIUM
, HIGH
Logic for assigning conversations at this step.
none
, clear
, single_user
, random_selected
, fair_distribution_selected
List of membership IDs for assignee logic. Required for single_user, random_selected, and fair_distribution_selected.
Indicates if this step is mandatory.
The time unit for auto-transition.
m
, h
, d
Default tags to add to the conversation.
Default tags to remove from the conversation.
Configuration for requesting contact information.
If true, this step removes the conversation from the scenario.
Z-API Agent ID for sending messages.
Z-API phone number for sending messages.
Z-API message to send.
Agent ID for WhatsApp template message.
Name of the WhatsApp template.
Language code for the WhatsApp template.
Text content of the WhatsApp template.
Default AI control setting for the conversation.
URL for the webhook to be called.
Headers for the webhook request.
Response
The unique identifier for the CRM step.
The name of the CRM step.
The order/index of the step within its scenario.
The main prompt or instruction for this step.
A trigger condition or keyword for this step.
An initial message to be sent when this step is activated.
ID of the step to automatically transition to after this one.
Time in seconds to wait before automatically transitioning to autoNextStepId.
The time unit for auto-transition.
m
, h
, d
Default status to set for conversations reaching this step.
RESOLVED
, UNRESOLVED
, HUMAN_REQUESTED
Default priority to set for conversations reaching this step.
LOW
, MEDIUM
, HIGH
Default AI control setting for the conversation.
Logic for assigning conversations at this step.
none
, clear
, single_user
, random_selected
, fair_distribution_selected
List of membership IDs for assignee logic.
Indicates if this step is mandatory.
If true, this step removes the conversation from the scenario.
Default tags to add to the conversation.
Default tags to remove from the conversation.
Configuration for requesting contact information.
Z-API Agent ID for sending messages.
Z-API phone number for sending messages.
Z-API message to send.
Agent ID for WhatsApp template message.
Name of the WhatsApp template.
Language code for the WhatsApp template.
Text content of the WhatsApp template.
URL for the webhook to be called.
Headers for the webhook request.
Timestamp of when the step was created.
Timestamp of when the step was last updated.
Was this page helpful?