---
schema_version: "1"
id: ff4a58c12872bd4a2501a3f5cca138975071666bd48d282f844c171a4c0c7a0f
title: How the Upgrade Agent Tool Works
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/bots_service_asa_how_it_works.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.bots_service_asa_how_it_works.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 467fbf27d913a9bbd4b269ad4c47939323016b85bda458ddb74171af5bc73c09
description: The Upgrade Agent tool analyzes your Einstein Bot's dialogs, intents, and action steps to generate an Agentforce Service Agent. The tool creates subagents based on grouped dialogs with similar intents, and generates agent actions from bot action steps.
products:
  - Service Cloud
  - Service Intelligence
release: "264"
---
# How the Upgrade Agent Tool Works

The Upgrade Agent tool analyzes your Einstein Bot's dialogs, intents, and action steps to generate an Agentforce Service Agent. The tool creates subagents based on grouped dialogs with similar intents, and generates agent actions from bot action steps.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Foundations or Agentforce 1 Editions.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">To use enhanced Messaging channels with AI agents, <a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;language=en_US" target="_blank">see required editions</a>.</td></tr></tbody></table>

The Upgrade Agent tool is available on [Agentforce Labs](https://labs.agentforce.com/upgrade-agent). The tool uses generative AI to analyze your bot and create an equivalent agent.

## How Subagents Are Generated

After gathering details about your bot, the tool identifies which dialogs or dialogs groups it can create subagents from. Typically, the tool uses all dialogs that have intents and utterances. Then, Agentforce groups similar intents and dialogs together and, based on each group, generates a classification description, scope, and subagent instructions. If a dialog has custom conditional logic, that logic is included in the subagent instructions. [Learn more about subagents](https://help.salesforce.com/s/articleView?id=ai.agent_topics.htm&type=5&language=en_US).

## How Agent Actions Are Generated

After identifying dialogs to create subagents from, the tool creates agent actions based on action steps in those dialogs. For each agent action, Agentforce generates a description and input and output parameters. [Learn more about actions](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_instructions.htm&type=5&language=en_US).

- Action steps that only help the bot navigate conversations
- Action steps that create feedback logs

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_intelligence-264-0-0-production-enus/dcd06a7b-b5ab-448b-a767-4e2e90481508/images/icon_example.png)

Example

Bot Dialogs with Flow-Based Action Steps

- Service Request dialog with an action step that creates a service request
- Get Service Status dialog with an actions step that retrieves a service request
- Reschedule Service dialog with an action step that updates a service request
- Customer Details dialog
- Vehicle Details dialog

Subagent with Agent Actions

Service Appointment Management subagent with Manage Service Appointment, Get Service Request, and Get Car Models actions.