Tutorials & How-To

Implementing Copilot ↔ Dataworkz with Topics

A step-by-step guide to wiring Microsoft Copilot to Dataworkz Agents using Topics, comparing one-Topic-per-Agent mapping against a single router-Agent architecture.

Key takeaways

  • In Copilot Studio you create a Copilot whose main job is to route user messages to the right Topics, where the real workflow logic lives.
  • Each Topic defines the description that tells Copilot when to trigger it, the HTTP call to a Dataworkz Agent, and the variables or prompts that capture and pass the user's input downstream.
  • Using multiple Topics gives a clear, simple, one-to-one mapping between each Topic and a specific Dataworkz Agent such as Claims Intelligence, HubSpot Insights, or Portfolio Risk Summary.
  • An alternative architecture uses a single Topic that calls a primary "router" Dataworkz Agent, which performs intent classification internally and triggers the correct downstream workflow.
  • Each Topic uses a string variable named userQuery set to the last user message, which is sent to the corresponding agent.
On this pagesections

    Create Your Copilot Agent

    1. In Copilot Studio, create a new Copilot.
    2. Name it something clear, like Enterprise Insights (Dataworkz).
    3. 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.

    Frequently asked questions

    How do you connect Microsoft Copilot to Dataworkz Agents?

    In Copilot Studio you create a Copilot that routes user messages to Topics, where each Topic defines a description, an HTTP call to a Dataworkz Agent, and variables that capture the user's input. The Copilot acts as the router and each Topic is the workflow that handles a particular scenario.

    Should I create one Topic per Dataworkz Agent or a single router Topic?

    Multiple Topics give a clear, one-to-one mapping to Agents and work best when you want direct connections with no ambiguity about which Agent runs. A single Topic that calls a router Agent is more flexible for complex environments, offering scalable, dynamic intent handling managed entirely within Dataworkz.

    How does a single-Topic router architecture work?

    One Topic routes all user questions to a primary Dataworkz Agent that performs intent classification internally. That primary Agent identifies the right downstream workflow or specialized Agent, passes along the user's text and context, and returns the final result to Copilot.

    What variable is used to pass the user's question to a Dataworkz Agent?

    Each Topic uses a string variable named userQuery whose value is set to the last user message, which is then sent to the agent via the Topic's HTTP call.

    See what your engineers can ship in production

    Dataworkz is the agentic AI platform enterprises trust to put AI agents into production. Teams build production-ready agents in days, every decision stays traceable, and every agent has ROI attached.

    Explore the platform