Create Your Copilot Agent
- In Copilot Studio, create a new Copilot.
- Name it something clear, like Enterprise Insights (Dataworkz).
- Add a short system message:
“Each Topic corresponds to a Dataworkz Agent.
Use the user’s last message as input for the Topic’s HTTP call.”
Keep this simple — Copilot’s main job is to route user messages to the right Topics.
Each Topic represents a specific use case or workflow and is where the real logic lives.
Inside a Topic, you can define:
- The description that tells Copilot when to trigger it,
- The HTTP call to your Dataworkz Agent,
- And the variables or prompts that capture what the user said and pass it downstream.
Think of your Copilot Agent as the router, and each Topic as the intelligent workflow that knows how to handle a particular scenario — such as fetching campaign metrics, summarizing claims data, or analyzing portfolio risk.
Create One Topic per Dataworkz Agent
Each Topic in Copilot is usually tied to one specific Dataworkz Agent — for example, Claims Intelligence, HubSpot Insights, or Portfolio Risk Summary.
This setup works best when you want Copilot to have clear, direct connections to your workflows, with no ambiguity about which Agent should run.
However, there’s an alternative architecture that’s more flexible for complex environments:
You can create just one Topic inside your Copilot Agent and route all user questions through it.
That single Topic would call a primary Dataworkz Agent — an orchestration or “router” Agent — that performs intent classification internally.
Based on the user’s question, that primary Agent can then:
- Identify which downstream workflow or specialized Agent to trigger (e.g., “marketing,” “finance,” “claims”),
- Pass the user’s text along with context,
- And return the final result back to Copilot.
This approach centralizes control inside Dataworkz and allows you to manage routing, logic, and sub-agent chaining without changing your Copilot setup.
In short:
- Multiple Topics → clear, simple, one-to-one mapping to Agents.
- Single Topic with a router Agent → scalable, dynamic intent handling managed entirely within Dataworkz.
In each Topic:
- Name: Dataworkz – Claims Agent
- Description:
“When a user asks questions related to insurance claims, send their most recent query to the agent”
- Trigger: Keep it specific (e.g., “Claims Intelligence”).
Variable: Create a string variable userQuery and set its value to Last user message.