Create a playbook
Create a version 2 playbook. New playbooks default to draft (enabled: false); set enabled: true to validate the full step graph and activate on create.
Request
- Base URL: https://example.ada.support/api
- URL: https://example.ada.support/api/v2/playbooks/
- Auth: HTTP bearer
Request body
Display name for the playbook
Short description of the playbook (routing-facing). Required to be non-empty when enabled is true; an active playbook without one is rejected with 422.
The ordered sections of the playbook. Each section holds an ordered list of steps (send, set, ask, run, if_else, go_to). Every section and step needs a caller-generated unique ObjectId string.
Whether the playbook is enabled. False (the default) creates a draft; true validates the full step graph and activates the playbook.
Instructions that apply across the whole playbook
Deviation behavior when the user asks for a human
Deviation behavior when the user goes off topic
Deviation behavior when the conversation goes off script
Instruction for the acknowledgment message
Request an acknowledgment for this playbook on messaging platforms even when the Agent-wide messaging acknowledgment setting (enable_acknowledgment_messages) is off. Never suppresses.
Response
Created
The unique identifier for the playbook
Display name for the playbook
Short description of the playbook (routing-facing)
The playbook schema version. Always 2 on this surface.
Whether the playbook is enabled. False means draft.
Instructions that apply across the whole playbook
The ordered sections of the playbook. Each section holds an ordered list of steps (send, set, ask, run, if_else, go_to).
Whether the playbook can be triggered on its own
Ids of knowledge articles referenced by the playbook
Tag ids applied to the playbook
Instruction for the acknowledgment message
Request an acknowledgment for this playbook on messaging platforms even when the Agent-wide messaging acknowledgment setting (enable_acknowledgment_messages) is off. Never suppresses.
Deviation behavior when the user asks for a human
Deviation behavior when the user goes off topic
Deviation behavior when the conversation goes off script
Changes
No recorded changes to this operation across all 1 revision of this API.