Most agent-builder tools make you choose between “one agent does everything, badly” and “hire an engineer to wire up an orchestration layer yourself.” This post is about a middle path you can build entirely from the Wetel dashboard: one coordinator agent that, on a single incoming message, hands pieces of the conversation to specialist agents at the same time. In this walkthrough there are three of them, each reaching into a different connected partner system (a messaging platform, a recruitment system and a CRM) and coming back with real data, not a canned answer.
If you already run a Multi-Team Routing setup, routing an incoming contact to whichever team is on shift, this is the same idea one layer up: instead of routing a contact to a human agent by shift, the coordinator routes a question to the right AI specialist by topic.
Nothing in the walkthrough requires writing code. Where the underlying config is shown, it is there so you can confirm what a click in the dashboard produces, not because you need to write it yourself. For the reference behind each piece, see Certified Operations, the Action node reference and the Sub-agent node reference.
What you end up with
In short: a coordinator agent receives the end user’s message, hands it to three specialist agents at the same time, each of which looks up real data through a certified operation and answers from it, then aggregates their results into one reply.
flowchart TB User(["End user's message"]) --> Master
subgraph Master["Front Desk Coordinator"] direction TB MStart(["Start"]) --> MDispatch["Dispatch to all<br/>specialists concurrently"] MDispatch --> MSum["Aggregate specialist<br/>results"] MSum --> MResp["Reply"] end
MDispatch -.-> SubA MDispatch -.-> SubB MDispatch -.-> SubC
subgraph SubA["Messaging specialist"] AFetch["Look up real contacts<br/>(certified operation)"] AFetch --> ALlm["Answer using<br/>the real data"] end
subgraph SubB["Recruitment specialist"] BFetch["Look up real recruitment data<br/>(certified operation)"] BFetch --> BLlm["Answer using<br/>the real data"] end
subgraph SubC["CRM specialist"] CFetch["Look up real companies<br/>(certified operation)"] CFetch --> CLlm["Answer using<br/>the real data"] end
AFetch -.->|"real contact data"| Messaging[("Messaging platform")] BFetch -.->|"real dashboard stats +<br/>job postings"| Recruitment[("Recruitment system")] CFetch -.->|"real company data"| Crm[("CRM")]
ALlm --> MDispatch BLlm --> MDispatch CLlm --> MDispatch MResp --> UserOut(["Reply to the end user"])One coordinator, three specialists, each pulling real data from a different connected system, all at once. Everything below was built and confirmed on a real deployment.
Step 1: Create the four agents
In the dashboard, go to Agents in the left sidebar and click New Agent, four times, naming them so their role is obvious in a list:
- Messaging Specialist, position “Specialist”
- Recruitment Specialist, position “Specialist”
- CRM Specialist, position “Specialist”
- Front Desk Coordinator, position “Coordinator”
Each agent gets its own id the moment you create it. You need those ids when you wire up the workflows, so keep the Agents list open in another tab.
Step 2: Build each agent’s workflow
Every agent needs its own workflow behind it. Open Workflows, create one per agent, and wire the nodes on the canvas.
Each specialist’s workflow: Start → Action (certified operation) → LLM (reads the fetched data) → Response → End. All three have the same shape, with a different certified operation underneath. Step 4 covers wiring one in.
Front Desk Coordinator’s workflow: Start → Dispatch node → LLM (aggregate) → Response → End. Step 3 covers the dispatch node.
A wrinkle if the identity you are connecting belongs to more than one organization on a partner system: credentials that resolve from an end user’s own sign-in need to know which organization to act as. If it is genuinely ambiguous, the platform declines rather than guessing. For a specialist using a session-scoped credential, add one small extra LLM node right before the fetch node whose only job is to emit a fixed organization name into a variable (for example orgHint), then reference that variable in the fetch node’s org-choice field. Word that node’s prompt carefully: a vague instruction such as “just say the organization name” can be pulled off-task by the surrounding conversation, and the node answers the user’s real question instead. Say explicitly that this step is not the assistant and must ignore the user’s message entirely.
One easy-to-miss requirement for every workflow: click Publish on it, and separately make sure the agent’s own settings point at that workflow’s id. Both are required. An unpublished workflow, or an agent not pointed at the right workflow, runs zero nodes for every conversation, with no error shown anywhere. If a freshly built agent seems to do nothing, check this first.
Step 3: The dispatch node sends a message to every specialist at once
Open the Coordinator’s workflow and click the dispatch node. The inspector panel on the right is the multi-target dispatch editor. It reads, roughly: “Every target below runs at the same time, each as its own independent session. One failing or timing out never blocks the others.”
Below that is a Target card per specialist, each with its own Agent dropdown (populated with your workspace’s real agents) and its own Opening message field. Click + Add target twice to bring in all three specialists; nothing about this is capped at three.
Set the three targets’ agents to your three specialists and leave each opening message set to pass along the user’s own message (the dashboard defaults to this). The config this produces underneath:
{ "id": "n_dispatch", "type": "sub_agent", "config": { "targets": [ { "agentId": 29, "contextTemplate": "{{userMessage}}" }, { "agentId": 30, "contextTemplate": "{{userMessage}}" }, { "agentId": 32, "contextTemplate": "{{userMessage}}" } ], "resultVar": "specialistResults" }}Each entry in targets becomes its own independent session: a genuinely separate session with its own turn history, not a sub-call inside the coordinator’s conversation. They are dispatched with Promise.allSettled, so one target timing out or failing never blocks or corrupts the others. resultVar always resolves to an array, [{agentId, status, text}, ...], one entry per target, in target order.
Downstream, the LLM node that aggregates the replies must read {{jsonString specialistResults}}, never a bare {{specialistResults}}. Handlebars has no automatic JSON conversion: a raw object interpolated into a template renders the literal string [object Object], and the model answers confidently from that string instead of the real array. This is a general rule for any node reading structured data from an earlier step.
Step 4: The certified operation picker, the part that matters most
Open one specialist’s workflow and click its fetch node. This is the node worth walking a technical reviewer through slowly, because it is the real mechanism behind “the agent can talk to that system”:
- Custom action dropdown: pick the connected action for the partner system.
- As soon as that action has a matching entry in Wetel’s certified catalog, a second Certified operation dropdown appears. Pick one, for example “Dashboard Stats & Job Postings” for the recruitment system.
- A read-only preview panel shows the exact query that will run: real GraphQL text, already verified against the partner’s live schema. Nobody building the workflow wrote it, and nobody needs to know the partner’s schema to pick it.
- The Arguments field relabels to Variables: you fill in the operation’s own inputs rather than writing a request body.
That preview panel is the whole pitch in one screenshot: pick an action, pick an operation, get a verified query and a form for its variables. No GraphQL knowledge, no partner documentation to read, no way to accidentally query the wrong field.
flowchart TD A["Workflow author picks a Custom Action<br/>in an ACTION node"] --> B{"Does that action's<br/>credentialSource have a<br/>matching catalog entry?"} B -- "No" --> C["No picker appears:<br/>author hand-writes argsTemplate<br/>as a full request body"] B -- "Yes" --> D["Certified operation dropdown appears"] D --> E["Read-only preview:<br/>real, Wetel-verified query text"] E --> F["Arguments field relabels to 'Variables'"] F --> G["Runtime: executor checks<br/>operation.compatibleCredentialSources<br/>includes action.credentialSource"] G -- "mismatch" --> H["Throws: certified operation is<br/>not compatible with this action's credential source"] G -- "match" --> I["Runs the verified query,<br/>with the author's Variables substituted in"]The gating answers the question an engineer evaluating this will ask: what stops an author from writing an arbitrary request body against a certified credential, and what happens if the picked operation does not match the action’s credential source? The first has no way to happen once an operation is picked, and the second throws before anything runs.
The catalog is broad, not three example rows. It covers most of what you would want to read or write against each connected system (candidates, jobs and company settings; contacts, conversations, tasks and automation rules; companies, deals and pipelines). The certified operations reference owns the current count. Not every operation is live-execution-verified: a small number of the newest write operations are schema-verified only, since there is no disposable fixture to round-trip against without touching a real record. Each operation’s verificationNote says which class it is in. Browsing the catalog needs nothing more than a signed-in Wetel user.
An action node using a certified operation looks like this underneath:
{ "id": "n_fetch", "type": "action", "config": { "customActionId": 4, "certifiedOperationId": 2, "argsTemplate": "{}", "outputVar": "recruitmentData", "timeoutMs": 10000 }}isDeprecated and lastVerifiedAt exist on every catalog entry so a query that changes shape gets flagged rather than silently breaking. Today isDeprecated is a soft flag, not a hard block: an already-published workflow using a deprecated operation keeps running, and picking a newer operation is the recommendation for new work.
Step 5: Test it
Open the Coordinator agent, click Test Agent, start a session, and send:
Please tell me: how many open jobs do we have, what companies are in our CRM, and what contacts do we have in our messaging platform?
Within a few seconds you get one combined reply summarizing all three specialists, with real data from all three systems. In a verified run it came back naming four real job postings, one real contact by name, email and phone, and a genuinely empty (real, not failed) company list for the connected organization. Your own numbers reflect whatever is in your connected data.
If someone asks “how do we know that is not just made up,” open Workflow Runs for that session and look at each specialist’s captured context. The raw JSON fetched from each partner sits there and matches the reply word for word. For the recruitment leg, the action node’s captured variable held {"dashboardStats": {"active_jobs": 4, "total_candidates": 4}, ...} and the specialist replied “Total candidates: 4, active jobs: 4”, an exact match. The explicit jsonString discipline in the template is what prevents hallucination here, not a property the model has on its own.
Proof of real concurrency
“Concurrent” is easy to put in a spec and rarer to show evidence for. In the verified three-specialist run, one test message dispatched all three sessions within 31 ms of each other, and their fetch and LLM node windows overlap in each session’s own execution trace. This is not sequential dispatch that happens to look fast. Each child session is a real, independently queryable record, each ending in its own ENDED state with its own message history. Check each specialist session’s start timestamp in Workflow Runs and you can confirm it on your own data.
sequenceDiagram participant M as Coordinator participant A as Messaging specialist participant C as CRM specialist participant B as Recruitment specialist
M->>A: dispatch M->>C: dispatch M->>B: dispatch Note over A,B: all three sessions start within 31ms of each other A-->>M: reply grounded in real messaging data C-->>M: reply grounded in real CRM data B-->>M: reply grounded in real recruitment data M->>M: aggregate all threeWhat it took to get the session-credential legs working
The recruitment leg used an admin-provisioned, Wetel-operated credential and worked the first time. The messaging and CRM legs resolve their credentials from an end user’s own sign-in, and that took a real code fix rather than configuration.
The bug. A sub-agent dispatch creates a brand-new, independent session for each specialist, which is how failure isolation and concurrency work. But that fresh child session started with no memory of the coordinator session’s signed-in identity. A session-credentialed action node checks “who is signed in to this session,” and for a freshly dispatched child the honest answer was always “nobody”. No crash and no visible error: the action node declined and returned an empty result, which is easy to misdiagnose as “the partner API is not returning data” when the cause is one layer up.
The fix. The dispatch step now carries the signed-in identity, and the downstream credential tied to it, from the coordinator session onto each freshly created child session before that child’s workflow starts. It is a small, targeted change with no effect on workflows that do not use session-scoped credentials inside a sub-agent dispatch.
One sign-in now covers several linked products. If a specialist’s credential resolves per end user, that user must be signed in, through Wetel’s identity layer, on the same session the coordinator runs in, before the dispatch. If the link is missing, the specialist declines honestly (“not signed in”) rather than guessing or falling back to a shared credential it has no business using. Earlier versions needed a separate sign-in per product. The group’s single sign-on service now supports linking several sibling products in one submit: your sign-in widget calls webbyxOneProductClientIds to see which products are linkable, requests each product’s ticket while the password is still in memory, and passes every ticket in one sdkVerifyWebbyxOneIdentity call’s productTickets argument. These two operation names are public GraphQL identifiers and are shown as they appear in the schema. This session-level linking is a different flow from the dashboard sign-in, which logs a person into the Wetel dashboard itself: linking only authorizes a running session’s workflow nodes to act as that end user, and it never creates or logs into a Wetel account.
Not every partner connection supports an end user bringing their own login. Some resolve credentials from the end user’s own connection; others require a Wetel-provisioned connection with no end-user variant yet. Check what is available for the partner you are connecting before assuming both options exist.
Why route through Wetel instead of building point-to-point
If you are an engineer at a partner company thinking “we could just write three GraphQL clients ourselves,” you could. The argument for not doing so:
- You do not have to learn or maintain someone else’s schema. The certified catalog is Wetel’s own verified, tested query text, pinned against each partner’s real schema. Someone has to own that shape, keep it in sync as it evolves and handle its auth quirks forever, and Wetel already carries that cost, with the deprecation flag as the ongoing maintenance signal.
- Concurrent, isolated specialists instead of one prompt doing everything. One specialist timing out does not block or corrupt the others, and the overlapping timestamps are the evidence. That is a more debuggable architecture than one system prompt juggling several integrations’ worth of context and tools.
- Your end users’ credentials can flow through automatically, where a session-scoped variant exists. Credentials resolve from an end user’s own sign-in all the way down through a concurrent dispatch, so nobody has to hand over a shared service account or build a credential-rotation story on the partner’s side.
Where to take this next: the pattern extends past three targets and past three certified partners. Give the coordinator a smarter aggregation prompt that decides what to surface, or have a specialist branch into different certified operations depending on what is asked. None of that needs new infrastructure; it is the same dispatch node and the same picker, applied again. For the plain-language version of when a sub-agent is the right tool at all, see What is a sub-agent, and when would I use one?.
Related reference docs
- Certified Operations: the full catalog model, verification status and GraphQL surface
- Action node reference, certified operations: the dashboard picker, credential-source compatibility checks, and the
NOT_SIGNED_IN,NOT_LINKED,NO_GRANTandNEEDS_ORG_CHOICEoutcomes - Sub-agent node reference: full
sub_agentconfig, concurrent dispatch semantics andresultVarshape - Session API reference: session-level identity linking, including
productTickets