We moved an Agentforce agent to Copilot Studio. Here is what broke.
By Vamsi Krishna Subramani, founder · · 6 min read
Update, November 14: every gap in this post is closed. The confirmation step shipped and a "no" now gets a reply, all three actions run in Salesforce through an allowlisted bridge, and the live runner drives both agents side by side as a signed-in user. The follow-up post covers the five agents now live in Copilot Studio.
On October 12, 2026, an Agentforce agent went through the whole Forceporter pipeline for the first time and came out as a live Copilot Studio agent. A day later, its actions were calling the same Salesforce org as the original. This post walks through the conversation on both platforms, the gaps the run exposed, and what they mean for anyone planning a migration.
The agent
The test subject is a deliberately ordinary internal IT helpdesk agent, written in Agent Script: a router and two subagents (Ticket Status and New Ticket), four conversation variables, and three actions of three different kinds.
- Get Ticket Status: an Apex class that looks up a Case by number.
- Troubleshooting Tips: a Prompt Builder template.
- Create Ticket: a Flow that creates the Case, behind a yes or no confirmation.
Two of the New Ticket tools are gated: they only become available once the agent has captured a one-sentence summary of the problem.
The pipeline
- Import: the .agent file is parsed with Salesforce's own open-source Agent Script parser and written to the neutral spec, with a portability report.
- Export: the neutral spec becomes a Copilot Studio agent workspace: instructions, one topic per tool, Power Fx conditions for the gates, and global variables.
- Pack and import: the workspace is packed as a Power Platform solution (18 components) and imported into the environment.
- Bridge: in the second run, the Apex and Flow actions are called through the Salesforce connector instead of stubs.
- Replay: the same four user turns are sent to both agents.
Run 1: stub tools
The first run used stub tools that return empty values, to test the structure before touching real data.
| Turn | Agentforce | Copilot Studio (converted) | Verdict |
|---|---|---|---|
| Status of ticket 1026? | Ticket 00001026 has status New. | Ticket #1026 was not found. | Expected: the stub returns not found |
| Laptop will not connect to wifi | Three tips, then offers a ticket | Five tips, then offers a ticket | Match |
| Still broken, open a ticket | Asks yes or no, creates Case 00001027 | Claims the ticket was logged. No confirmation, no case number. | Gap |
Routing worked: the flattened agent moved between the Ticket Status and New Ticket sections and called the right tools. Two gaps showed up on turn three.
Gap 1: the confirmation step
In Agentforce, Create Ticket asks the user for a yes or no before it runs. Copilot Studio tool topics have no confirmation flag, so the converted agent created the ticket straight away. The portability report predicted this one before the run. The fix is on the roadmap: the exporter will write an explicit confirmation step instead of relying on an instruction.
Gap 2: success claimed on empty output
This is the one no report predicted. The stub returned an empty case number, and the converted agent still told the user their ticket was "successfully logged", ignoring the instruction to give the exact number. A converted agent can look right and fail quietly.
Lesson for any migration: check that values from tools actually appear in replies, and never let an agent claim success on a failed or empty tool call. That check is now part of the parity runner design.
Run 2: real Salesforce bridges
For the second run, the converted tools called the same Salesforce org as the original. Get Ticket Status runs a SOQL query through the Salesforce connector, with the case number normalized the same way the Apex does it. Create Ticket calls a small Apex REST endpoint that runs the original Flow. Every connector call continues on error and returns an explicit error output, so the agent is told when a call failed.
| Turn | Agentforce | Copilot Studio (bridged) | Verdict |
|---|---|---|---|
| Status of ticket 1026? | Ticket 00001026 has status New. | Ticket 00001026 has status New, with subject, priority and last update. | Match |
| Laptop will not connect to wifi | Three tips, then offers a ticket | Five tips, then asks for the priority | Match |
| Still broken, open a ticket | Asks yes or no, creates Case 00001027 | Creates Case 00001028 and gives the number | Partial: no confirmation yet |
Gap 2 is fixed: real tool output, real case number. Both cases sit side by side in Salesforce with the same shape, because both agents created them through the same Flow. Gap 1 remains until the confirmation step ships.
What does not convert cleanly
- Subagent scoping. Agentforce scopes instructions and tools per subagent. In the Copilot Studio solution layout they become sections of one agent, and every tool is available everywhere. Gates translated to Power Fx conditions keep the most important restrictions.
- Prompt templates. Prompt Builder templates are Salesforce-only. They need to be recreated as prompt tools; until then the tips come from model knowledge, which is why the tip counts differ.
- Authentication. Solution packing ignores the authentication settings, so they have to be set on the agent after import. The export report flags this, along with a security warning whenever an unauthenticated agent can call a connection that runs as its owner.
Latency, honestly
Copilot Studio replies took 31 to 70 seconds and Agentforce preview took 10 to 15 seconds, but these numbers are not comparable yet: the Copilot Studio side was driven by a script that polls. Real timing is part of the parity runner.
What is next
- Explicit confirmation steps in the exporter.
- A prompt template bridge.
- The parity test runner: scripted turns on both platforms, side-by-side transcripts, checks such as "case number present", and real latency.
- A Copilot Studio importer for the reverse direction.
Every mapping, finding and turn from these runs is in the live demo dashboard. If you are planning a move between Agentforce and Copilot Studio, the design partner pilot runs this same process on your own agent.