If you have spent the last five years building and maintaining Salesforce Einstein Bots, you probably know every knot in your dialog trees by heart. You remember the exact rule conditions that routed a billing dispute to tier two, the three dozen slot-filling variables you created just to capture a shipping zip code, and the late nights spent fine-tuning NLU intent models with sixty variations of "where is my stuff."
Now Salesforce is steering everyone toward Agentforce. Einstein Bots have entered maintenance mode—supported, but functionally frozen—while the spotlight, the roadmap, and the product investment belong squarely to Agentforce Service Agents.
Here is the blunt truth from our research at 365Finds: migrating an Einstein Bot to Agentforce is not a metadata export-and-import exercise. It is an architectural demolition and rebuild. If an administrator tries to map every legacy dialog node directly into an Agentforce topic, they will create an uncontrollable, credit-draining disaster.
At 365Finds, we have dissected the migration path. This guide breaks down what actually translates, what must be thrown away, and how to methodically rebuild your legacy bot logic into clean Agentforce topics and actions.
The Paradigm Shift: Deterministic Trees vs. Autonomous Reasoning
Before touching Setup, you have to unlearn the core mental model of Einstein Bots.
Legacy Einstein Bot:
User Input ➔ Intent / Menu ➔ Dialog Node ➔ Rule Condition ➔ Flow/Apex ➔ Next Dialog Node
Agentforce Architecture:
User Input ➔ Atlas Reasoning Engine ➔ Topic Classification ➔ Agent Action (Flow/Apex) ➔ Grounded LLM Response
In Einstein Bots, you were an invisible train conductor. You laid down explicit tracks:
- If
{Customer_Tier}equals "Gold", jump to dialogVIP_Routing. - If slot
{Order_Number}is null, prompt the customer with exact text block C. - If three invalid attempts occur, route to
Agent_Transfer.
Agentforce does not use train tracks. It uses the Atlas Reasoning Engine paired with Large Language Models (LLMs). When a customer types a message, the engine evaluates available Topics (semantic capability domains), selects the best fit, reads the natural language Topic Instructions, and decides on the fly which Agent Actions (underlying Flows, Apex, or Prompt Templates) to execute to fulfill the goal.
| Legacy Einstein Bot Construct | Agentforce Equivalent | What Actually Happens During Migration |
|---|---|---|
| Dialog Trees & Menus | Topics (Capability Domains) | Consolidated. 30 dialog nodes collapse into 2 or 3 thematic topics. |
| Rule Conditions & Branching | Topic Instructions & Guardrails | Replaced by natural language instructions, or left to underlying Flow logic. |
| Dialog Actions (Flow / Apex) | Agent Actions | Reused, but must be decoupled from UI messaging and re-annotated. |
| Entities & Bot Variables | Action Inputs & Session Context | Replaced by native LLM parameter extraction from conversation context. |
| Static Text Dialogs / FAQs | Knowledge Grounding | Thrown away. Handled natively via Salesforce Knowledge articles. |
| Intent Models & Utterances | Topic Classification Descriptions | Repurposed to describe when the Atlas Reasoning Engine should trigger a topic. |
The "Upgrade Agent" Tool: A Scaffolding Utility, Not Magic
Salesforce provides an automated tool called Upgrade Agent through Agentforce Labs. It inspects your active Einstein Bot and generates a baseline Agentforce Service Agent configuration in parallel.
The good news: the upgrade tool is non-destructive. It does not touch your live Einstein Bot, so your existing production customer service remains unaffected.
The bad news: the automated output is merely a rough architectural scaffold. We at 365Finds caution against treating this tool as an end-to-end converter. In practice, the tool will pull in legacy variables, attempt to map dialog steps into scripts, and leave you with bloated instruction sets that confuse the reasoning engine.
Use the Upgrade Agent tool if you want an automated inventory of your bot's Apex hooks and Flow dependencies. But plan to spend 80% of your effort refactoring the resulting topics and actions manually.
Step 1: Audit and Prune the Legacy Dialog Inventory
Before creating a single topic in Agentforce Builder, take a spreadsheet audit of your legacy Einstein Bot dialogs. Categorize each dialog into one of three buckets:
- Delete (No longer needed):
- Static greeting and clarification dialogs ("Sorry, I didn't get that"). Agentforce handles clarification natively.
- Hardcoded informational dialogs ("Our return policy is 30 days..."). These should be deleted and placed into Salesforce Knowledge articles.
- Slot-filling loops ("Please enter your order number; invalid format; please retry"). LLMs extract strings, dates, and account numbers without scripted loops.
- Refactor as Actions (Backend utilities):
- Dialog actions invoking autolaunched Flows, Invocable Apex, or External Services (e.g.,
Get_Order_Status,Cancel_Subscription,Create_Case).
- Dialog actions invoking autolaunched Flows, Invocable Apex, or External Services (e.g.,
- Consolidate as Topics (Broad business domains):
- Groups of 10 to 15 interrelated dialogs (e.g.,
Order_Lookup,Order_Tracking,Modify_Delivery_Address,Report_Damaged_Item) must be rolled into a single topic: Order Management.
- Groups of 10 to 15 interrelated dialogs (e.g.,
Step 2: Refactor Flows and Invocable Apex for Agentforce Actions
In Einstein Bots, many administrators took shortcuts. They built Flows that combined database logic with pre-formatted conversational strings, spitting out a formatted text variable like Your tracking link is: {varLink} directly into a bot message step.
In Agentforce, that approach produces rigid, clunky responses.
1. Make Actions Idempotent and Data-Centric
Agent actions should return structured data (primitives, sObjects, or Apex-defined types), not conversational banter. Let the LLM synthesize the final user-facing text based on the customer's emotional context and language.
2. Rewrite Descriptions Meticulously
This is where legacy Einstein Bot admins struggle most. In an Einstein Bot, the Flow API name or action label did not matter to the runtime engine because you wired it to a button or a deterministic rule node.
In Agentforce, the Atlas Reasoning Engine reads your Action Name, Action Description, and Parameter Descriptions to decide whether to call that action. If your descriptions are ambiguous, the agent will call the wrong Flow or fail to extract necessary parameters.
- Bad Description:
Gets the order details for customer. - Good Description:
Retrieves current shipping status, line items, and estimated delivery dates for an order. Requires a valid 8-digit order number. - Input Parameter Description:
The 8-digit numerical identifier of the customer purchase order, formatted without spaces or hyphens.
Step 3: Architecting Topics and Natural Language Instructions
Once your Actions are registered in Agentforce Assets, you organize them under Topics.
A healthy Agentforce Service Agent typically has between 3 and 7 well-scoped Topics (plus standard system topics). If you find yourself creating 20 topics, you are trying to write an Einstein Bot dialog tree inside Agentforce.
Defining Topic Scope and Instructions
Each topic requires:
- Classification Description: Tells Atlas when to enter this topic.
- Topic Instructions: Step-by-step guidance on how the agent should converse, validate data, and invoke actions.
Concrete Example: Migrating "Order Status & Returns"
In Einstein Bots, this required roughly eight dialogs and twelve rule conditions. In Agentforce, it looks like this:
Topic Name: Order Support
Topic Scope/Description: Assist customers with tracking active orders, requesting return shipping labels, or reporting missing deliveries.
Topic Instructions:
1. Before retrieving order details, verify the customer's 8-digit Order Number and billing Postal Code.
2. If the customer does not provide both, politely ask for the missing piece of information.
3. Once validated, call the "Get_Order_Status" action.
4. If the order status is "Delivered" and the customer requests a return:
a. Check if the delivery date was within the past 30 days.
b. If eligible, call "Generate_Return_Label" and present the return instructions.
c. If older than 30 days, inform the customer of our return policy and offer to connect them to an agent.
5. Never execute "Cancel_Order" if the order status is already "Shipped".
Notice how conditional logic still exists, but it is written as clear business policy rather than hardcoded XML routing rules.
Step 4: Hybrid Coexistence and Phased Cutover
365Finds strongly advises against doing a cold-turkey, single-day cutover from a stable Einstein Bot to Agentforce.
Because Agentforce operates on generative reasoning, customer conversations will be less predictable than your old rule trees. Furthermore, Agentforce usage consumes credits or conversation units depending on your licensing, making unexpected looping expensive.
We recommend a phased routing strategy using Omni-Channel Flow:
Inbound Customer Chat / Messaging Session
│
▼
[Omni-Channel Flow Router]
│
┌─────────┴─────────┐
▼ ▼
[Legacy Einstein Bot] [Agentforce Service Agent]
(High-compliance, (Complex inquiries, natural language,
strict deterministic unstructured troubleshooting)
tasks: Auth/PIN)
│ ▲
└─────── Transfer ──┘
- Phase A (Parallel Pilot): Route 10% of inbound messaging traffic on a secondary channel (e.g., a specific web page or internal testing queue) to Agentforce. Monitor execution logs in Agentforce Builder.
- Phase B (Front-end Gatekeeper): Keep an Einstein Bot at the front door to handle high-speed, deterministic identity verification or strict menu selections, then use a
Transfer to AgentOmni-Channel action to hand the authenticated session over to Agentforce. - Phase C (Full Agentforce Deployment): Once topic instruction edge cases are stabilized and fallback rates to human queues are within tolerance, retire the legacy Einstein Bot entirely.
365Finds Evaluation: Where Admins Get Burned
At 365Finds, our assessment of the migration from Einstein Bots to Agentforce is positive on capability, but sobering on operational overhead.
The promise of Agentforce is real: you will never again have to maintain sixty intent training utterances just because customers typed "track package" instead of "where is my delivery." The ability of the Atlas Reasoning Engine to gracefully pivot across related topics when a customer changes their mind mid-conversation is light-years ahead of the rigid "Reset Variables and Go to Dialog" hacks of Einstein Bots.
However, the risk profile changes completely. In Einstein Bots, a bug meant a user got stuck in a loop or sent to an agent. In Agentforce, a poorly scoped topic or an ambiguous action description can lead to the agent executing an unintended database update or leaking conversational context.
Treat this migration not as a translation of code, but as a graduation from writing script trees to writing standard operating procedures for an autonomous team member. Document your backend Flow parameters, lean heavily on Salesforce Knowledge for grounding, and test topic transitions relentlessly before turning off your old dialogs.