HostWebhook Help Center

Connect flows with Webhook Internal calls

Let one webhook fire another flow, in any workspace, without HTTP or keys. Choose sync or async, and let AI nodes call flows as tools.

Time about 10 minutesYou need a HostWebhook account and an AI provider API keyUpdated October 11, 2026

Internal calls connect flows inside your organization without going over the internet. When one webhook receives an event, it can fire a webhook in another workspace directly: no HTTP request, no URL, no signature and no API key. AI agents can use the same switch to call a webhook as a tool.

In this guide, the Store orders webhook in the Webhook workspace hands every order to a Pack order webhook in a second workspace called Fulfillment. Then you see how an AI node can do the same.

When to use internal calls

Use internal calls when the work for one event is split across flows, or across teams with their own workspaces:

  • Hand-off: an order arrives in Sales, and Fulfillment's flow packs it.
  • Fan-out: one event starts several flows at once.
  • Private steps: a flow that should never be reachable from outside. Turn its Public URL off and keep internal calls on.
  • AI agents: let an AI node trigger a flow when the conversation calls for it.

Internal calls work between any two Webhook nodes in your organization, in the same workspace or in different ones. Each link has a source (the webhook that fires) and a target (the webhook that's fired).

Both webhooks need Internal calls turned on.

The switch is off by default, so no flow can be triggered from inside by accident. Only someone who can open a webhook's workspace can turn it on.

Turn on Internal calls on both webhooks

Open the target webhook's page, here Pack order in the Fulfillment workspace. Find the Internal calls card under Configuration.

  1. Marker 1: Internal calls: what it does, and a reminder that it's opt-in.
  2. Marker 2: Click the switch to turn it on.
Pack order webhook page with the Internal calls card turned off
  1. Marker 1: Internal calls is on.
  2. Marker 2: Outgoing: webhooks this one will fire.
  3. Marker 3: Incoming: webhooks and AI nodes that will fire this one.
Internal calls turned on with empty Outgoing and Incoming lists

Do the same on the source webhook, Store orders. A webhook only appears in the link pickers once its own switch is on.

Check the link on both sides

The link now shows on both webhooks.

  1. Marker 1: Under Incoming, Store orders is marked FLOW-LINK. Never fired yet becomes "Last fired" with a total once events go through.
  2. Marker 2: SYNC or ASYNC: the link's mode.
  3. Marker 3: The bin icon removes the link.
  4. Marker 4: INPUT now shows Store orders and its last event, so you can build the Pack order flow with real field names.
Pack order with Store orders in the Incoming list and its data in the Input panel
  1. Marker 1: Add a target adds more flows to fire.
  2. Marker 2: Under Outgoing, → Pack order.
  3. Marker 3: The same mode, shown on this side too.
Store orders with Pack order in the Outgoing list

From now on, every event that Store orders receives runs its own flow first, then fires Pack order. Both flows share one run, so Monitoring shows the steps of both together.

Run on the webhook page doesn't fire links.

In our tests, the test event from Run was accepted but didn't fire the link, and the counter stayed at Never fired yet. To test the link, send a real request to the source webhook's URL.

Let an AI node call a flow

An AI node can use internal calls in two ways. Open the AI node and go to its Tools tab.

  1. Marker 1: Add Tool: let the model decide when to call a flow.
  2. Marker 2: Cross-workspace links: fire other flows every time this node finishes.
  3. Marker 3: Link to another flow picks the webhook, sync or async, just like step 03.
AI node Tools tab with Add Tool and the Cross-workspace links card

As a tool. Click Add Tool, then From Workspace.

  1. Marker 1: From Workspace: use any node as a tool.
Add Tool menu with From Workspace highlighted
  1. Marker 1: Under Workflow, the webhooks with Internal calls on. Pick one to add it as a tool.
Use a workspace node as a tool dialog listing Pack order and Store orders under Workflow
As a toolCross-workspace link
When it firesWhen the model decides the conversation needs it.Every time the AI node finishes.
What the target receivesThe arguments the model chose.The AI node's output.
Listed on the target under Incoming asA toolA flow link

Neither way returns the other flow's result to the AI node. If the tool is turned off in the AI node, its row on the webhook shows paused.

Tell internal calls apart in the flow

A webhook can receive both HTTP requests and internal calls. To branch on where an event came from, use {{meta.source}} in any node after the webhook, for example in a condition.

ValueWhat it holds
{{meta.source}}flow-link or ai-tool for internal calls. Empty for HTTP requests.
{{meta.sourceNodeType}}The type of node that fired this webhook.
{{meta.sourceNodeId}}The ID of that node.
{{meta.flowLinkId}}The link's ID. Only for flow links.

HostWebhook sets these values itself, so an HTTP request can't fake them.

Use meta, not payload._meta.

The event that crosses a link carries a _meta envelope, but nodes never receive it. {{payload._meta.source}} is always empty; use {{meta.source}}.

What crosses a link, and what doesn't
  • The payload crosses. The target receives the same payload as the source.
  • References don't cross workspaces. $() references to nodes in the source flow don't work in the target. Put the data the target needs into the payload, for example with a Transform node.
  • The target's Target URL still gets the event, if it has one.
  • Internal calls skip the target's protections: signature, API key, IP allowlist and rate limit. The Internal calls switch and your organization's membership protect them instead.
  • Headers: internal events carry x-hw-flow-link (or x-hw-ai-tool) and x-hw-call-stack, and their event type is flow-link or ai-tool.

Chains, limits and pausing

Links can chain: A fires B, which fires C. HostWebhook protects you from runaway chains:

  • Loops are skipped. A link to a webhook that already ran in this run doesn't fire again.
  • Depth is limited. A chain can be 2 links deep on Free, 3 on Starter, 5 on Pro and 10 on Enterprise.
  • Calls per minute are capped across your organization: 60 on Free, 600 on Pro and no cap on Enterprise.

When a link is skipped for one of these reasons, the logs record a warning with the run's ID.

You…What happens to the links
Turn Internal calls offIts links stop firing but are kept. An amber count shows how many are waiting. Turn it back on and they resume.
Pause the webhookSame as above.
Delete the webhook or AI nodeAll its links are removed.

Troubleshooting

What you seeCauseFix
The webhook isn't in the pickerIts Internal calls switch is off, or it's already linked.Turn the switch on in its own page.
Never fired yet after a testThe test came from Run.Send a real request to the source webhook's URL.
The link stopped firingInternal calls was turned off or the webhook is paused.Turn it back on, or resume the webhook.
Fields from the source flow are empty in the target$() references don't cross workspaces.Put the values into the payload before the link fires.
A chain stops partwayIt hit the depth limit or looped back.Check the logs for the warning and shorten the chain.