Bot Dialog
A Bot Dialog in Salesforce Einstein Bots is a defined conversation flow within the bot that handles a specific topic or intent.
Definition
A Bot Dialog in Salesforce Einstein Bots is a defined conversation flow within the bot that handles a specific topic or intent. Each dialog consists of a sequence of dialog steps (such as messages, questions, actions, and rules) that guide the conversation. Dialogs can call other dialogs, enabling modular conversation design. For example, a bot might have separate dialogs for 'Check Order Status,' 'Reset Password,' and 'Transfer to Agent.'
In plain English
“A Bot Dialog is one complete conversation flow for a specific topic. A bot might have separate dialogs for 'Check Order Status', 'Reset Password', and 'Transfer to Agent'. Each dialog has its own steps that guide the conversation through that one topic from start to finish.”
Worked example
Glasswing Software's Einstein Bot has 14 Bot Dialogs, each handling a specific topic: a Reset Password dialog walks the user through email verification and password reset; a Check Subscription Status dialog asks for the email and returns their billing plan; a Transfer to Agent dialog routes to a live agent's queue. Each dialog is a complete conversation flow with its own steps, variables, and possible transitions to other dialogs. When the team adds a new Cancel Subscription capability, it's a new Bot Dialog added to the bot - no rewrite of the existing dialogs, no monolithic flow editing. Modular dialogs make the bot maintainable as it grows.
Why Bot Dialog matters
A Bot Dialog in Einstein Bots is a defined conversation flow that handles a specific topic or intent. Each dialog consists of a sequence of steps (messages, questions, rules, actions) that the bot walks through when a user's request matches the dialog's intent. Dialogs can call other dialogs, enabling modular design where common flows like 'Authenticate the User' or 'Ask for an Order Number' are built once and reused across many topic dialogs.
Good dialog design follows single-responsibility principles: each dialog handles one topic, uses variables to capture information from the user, and either completes the task or transfers to another dialog or a human agent. Dialogs also support rules for branching logic based on variable values, so the same dialog can handle multiple variations of the same basic intent. Well-designed dialogs are readable, testable, and maintainable; poorly designed ones become tangled messes that nobody wants to touch.
How organizations use Bot Dialog
Built a library of 15 Bot Dialogs covering their most common support requests. Each dialog handles exactly one intent and calls a shared 'Authenticate User' dialog at the start, avoiding duplicate authentication logic across every topic.
Uses a 'Main Menu' dialog that greets the user and offers a list of options, each of which routes to a topic-specific dialog. This keeps the user-facing entry point simple while the specific topic logic lives in dedicated dialogs.
Designed a 'Transfer to Agent' dialog that's called from any topic dialog when escalation is needed. Having it as a shared dialog means the escalation logic is consistent across the bot and easy to update.
Trust & references
Straight from the source - Salesforce's reference material on Bot Dialog.
- Understand Einstein Bot DialogsSalesforce Help
Test your knowledge
Q1. What is a Bot Dialog in Einstein Bots?
Q2. Can a Bot Dialog call another Bot Dialog?
Q3. What is the best practice for dialog design?
Discussion
Loading discussion…