Configure Copilot Studio node
Note
Planned for DC2025.01
Use the Copilot Studio node in Dialogue Studio to hand off a conversation to a Microsoft Copilot Studio agent via the Bot Framework Direct Line channel.
Prerequisites
- A stand‑alone Copilot Studio subscription or Pay‑as‑you‑go meter with message capacity. Teams‑only plans cannot generate Direct Line secrets or tokens.([learn.microsoft.com](https://learn.microsoft.com/en-us/microsoft-copilot-studio/configure-web-security))
- The Environment Maker or Copilot Studio Author role in the Power Platform environment that hosts the agent.([learn.microsoft.com](https://learn.microsoft.com/en-us/microsoft-copilot-studio/admin-share-bots))
- The agent’s Token endpoint (Direct Line Speech) and regional Bot URL.
Get the token endpoint
- Sign in to copilotstudio.microsoft.com and open your agent. If you don’t have an agent, select New agent and follow the wizard.
- On the toolbar, select Channels, then choose Direct Line Speech.
- Select Copy next to Token endpoint. Save this URL—you’ll paste it into Dialogue Studio.
Add a Copilot Studio configuration
Create one configuration per agent. The configuration stores the token and bot endpoints.
- Open your Dialogue Studio flow.
- Drag a Copilot Studio node onto the canvas and double‑click it.
- If no configuration exists, select Add new configuration (pencil icon).
- In Token URL, paste the token endpoint you copied earlier.
- In Bot URL, enter the base URL for your region:
Global:
https://directline.botframework.com/v3/directline/
Europe:
https://europe.directline.botframework.com/v3/directline/
India:
https://india.directline.botframework.com/v3/directline/
Note
A request might fail if you use the global base URI for a regional bot, as some requests could go beyond geographical boundaries. Microsoft maintains the regional URLs. Learn | API reference - Direct Line API 3.0
Delay (ms) (optional) — enter the interval, in milliseconds, that the node waits before polling Copilot Studio for the next reply. The default is
200
. If the node reaches the delay without receiving a reply, it escalates to the next Skill so the customer isn’t left waiting. Increase the value for generative‑AI prompts that reference external content (for example, Dataverse Dataverse lets you securely store and manage data that's used by business applications. Data within Dataverse is stored within a set of tables. A table is a set of rows (formerly referred to as records) and columns (formerly referred to as fields/attributes). [From: Microsoft Docs] or public web pages). Learn more.
- Select Save.