NodeAction
Last updated
Last updated
Single action to perform when the candidate enters a . This has many different variations like say-text
, say-contact
, ask-text
, say-location
, say-list
, etc..
GET /node-actions
- Retrieve all node actions (of all flows and nodes)
GET /node-actions/{id}
- Retrieve a single node action by ID
POST /node-actions
- Create a new node action
PATCH /node-actions/{id}
- Update a node action by ID
DELETE /node-actions/{id}
- Delete a node action by ID
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'
actionType
X
X
X
value
X
X
X
variableName
X
X
X
index
X
X
X
subType
X
X
X