Experience
The Experience object is the root of every nativeMsg experience document. It MUST be a valid JSON object conforming to JSON Schema draft-07.
Properties
name
string
Yes
—
minLength: 1, maxLength: 100
Human-readable name for this experience.
workflows
array of Workflow
Yes
—
minItems: 1 (implied)
Ordered list of workflows defining the conversational logic.
welcomeMessageExecute
string
No
—
Must reference an existing workflow name
Name of the workflow to execute when the channel invitation message is displayed.
name and workflows are required. Any experience document missing either property is invalid and will be rejected.
Property Specifications
name
nameType: string Required: Yes Constraints: minLength: 1, maxLength: 100
The name property provides a human-readable identifier for the experience. It is used for display in the nativeMsg platform console and for logging. It does not need to be globally unique in the schema, but platform operators SHOULD treat it as a unique label within a project.
{
"name": "Acme Retail Support — Spring 2025"
}An empty string ("") is not a valid value for name. The minimum length is 1 character.
workflows
workflowsType: array of Workflow objects Required: Yes
The workflows array defines every conversational flow available in this experience. Workflows are evaluated in document order for intent matching. The platform selects the first matching workflow.
Workflow names within a single experience SHOULD be unique. The platform uses workflow names as targets for execute, goto, and welcomeMessageExecute. Duplicate names produce undefined resolution behavior.
welcomeMessageExecute
welcomeMessageExecuteType: string Required: No
When set, welcomeMessageExecute names the workflow that the platform executes when it displays the channel invitation or welcome card to the user, before any user message is received. The value MUST match the name property of a workflow in the same experience.
If welcomeMessageExecute references a workflow name that does not exist in the workflows array, the welcome message step will fail silently or produce a platform error. Always verify the referenced name matches exactly (case-sensitive).
Complete Example
The following is a complete, valid Experience document with two workflows.
Validation Rules
The schema enforces the following validation rules at the root level:
name present
required
Schema validation error
name non-empty
minLength: 1
Schema validation error
name within limit
maxLength: 100
Schema validation error
workflows present
required
Schema validation error
workflows is array
type: array
Schema validation error
Each workflow item
$ref: #/definitions/Workflow
Schema validation error
Last updated
Was this helpful?

