NodeAction
Single action to perform when the candidate enters a Node. This has many different variations like say-text, say-contact, ask-text, say-location, say-list, etc..
Endpoints
GET /node-actions- Retrieve all node actions (of all flows and nodes)GET /node-actions/{id}- Retrieve a single node action by IDPOST /node-actions- Create a new node actionPATCH /node-actions/{id}- Update a node action by IDDELETE /node-actions/{id}- Delete a node action by ID
Attributes
actionType
String
Type of action (can be either 'ask' or 'say')
value
Object
A json-object containing the data required to perform the action
variableName
String
Where to store the user answer in the session (only for type 'ask')
index
Integer
Position within the node, index 0 is the first action
subType
String
Type of the content to be delivered: 'text', 'contact', 'location', 'list', 'appointment', 'image', 'video', 'audio', 'document', 'set-variable'
HTTP methods
actionType
X
X
X
value
X
X
X
variableName
X
X
X
index
X
X
X
subType
X
X
X
Example bodies
Post
Patch
OpenAPI
Last updated