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.
Property Specifications
name
Type: 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"
}workflows
Type: 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.
welcomeMessageExecute
Type: 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.
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?

