Create Einstein Bot (Classic)
sf_create_einstein_botCreates a classic Einstein Bot with conversation dialogs for automating structured FAQs and data collection on messaging channels.
Instructions
Creates a classic Einstein Bot (Bot + BotVersion metadata types) with one or more conversation dialogs. Classic Einstein Bots handle chat and messaging channels via rule-based and ML-powered conversation flows.
Note: For AI-first agents using large language models, use sf_create_agent (Agentforce/Einstein Service Agent) instead. Classic Einstein Bots are best suited for:
Structured FAQ automation
Simple data collection workflows
Channels that don't support Agentforce (SMS, WhatsApp via classic routing)
Each dialog defines:
name/label: the dialog identifier
utterances: training phrases that trigger this dialog
messages: bot responses shown to the user
type: Main (user-facing), System (internal), Rule (condition-based)
The bot is created with an ML domain for intent classification. After creation:
Train the bot in Setup → Einstein Bots → {BotName} → Train
Activate the bot
Connect it to a messaging channel or chat button
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Bot display label | |
| botName | Yes | Bot API name | |
| dialogs | No | Bot dialogs | |
| description | No | Bot description | |
| defaultLocale | No | Default language/locale, e.g. 'en_US', 'fr', 'de' | en_US |