userID.
This userID can be any string and is typically something unique that easily references the person on the session - such as an username, email, device ID, or phone number. (e.g. user54646, user@gmail.com, 1-647-424-4242, etc.).
If you’re not sure what to call it just for testing purposes, you can just pick a random userID.
The response schema consists of two main properties:
- Stack
- Variables
Stack
The stack is an array of flows that are currently active in the conversation. Each flow contains:programID: the ID of the flow, which can be found in the URL of the address barhttps://creator.voiceflow.com/project/{versionID}/canvas/{programID}nodeID: current block this flow is onvariables: flow-scoped variablesstorage: internal flow parameters for runtimecommands
620e669eac2f70001cf9d85a, 620e669eac2f70001cf9d85b and 620e669eac2f70001cf9d85c) and we are currently sitting on flow 620e669eac2f70001cf9d85c, as denoted by the nodeID pointing to a block within this flow.
Note: the programID of the first flow in the stack is always the versionID of the Agent.
Example stack:
Variables
The two ways you can create variable keys in your Interaction Model is through:- Entities
- Variables