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.
- Marker 1: Internal calls: what it does, and a reminder that it's opt-in.
- Marker 2: Click the switch to turn it on.
- Marker 1: Internal calls is on.
- Marker 2: Outgoing: webhooks this one will fire.
- Marker 3: Incoming: webhooks and AI nodes that will fire this one.
Do the same on the source webhook, Store orders. A webhook only appears in the link pickers once its own switch is on.
Link the two flows
You can create the link from either side: Add a target on the source, or Add a source on the target. Here, on Pack order, click Add a source.
- Marker 1: Search by name if you have many webhooks.
- Marker 2: Pick Store orders. The list only shows webhooks with Internal calls on, without this webhook or ones already linked.
Then choose how the source waits for the target.
- Marker 1: The selected source.
- Marker 2: Mode: Sync (the default) or Async.
- Marker 3: Sync timeout: how long the source waits, in seconds. The hint shows your plan's maximum.
- Marker 4: Click Create link.
| Mode | What happens |
|---|---|
| Sync | The source flow waits until the target flow finishes, or until the timeout. Use it when the order of steps matters. |
| Async | The source fires the target and moves on right away. |
Neither mode brings the target's result back to the source. The default timeout is 30 seconds; the maximum is 10 seconds on Free, 30 on Starter, 60 on Pro and 300 on Enterprise.
Check the link on both sides
The link now shows on both webhooks.
- Marker 1: Under Incoming, Store orders is marked FLOW-LINK. Never fired yet becomes "Last fired" with a total once events go through.
- Marker 2: SYNC or ASYNC: the link's mode.
- Marker 3: The bin icon removes the link.
- Marker 4: INPUT now shows Store orders and its last event, so you can build the Pack order flow with real field names.
- Marker 1: Add a target adds more flows to fire.
- Marker 2: Under Outgoing, → Pack order.
- Marker 3: The same mode, shown on this side too.
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.
- Marker 1: Add Tool: let the model decide when to call a flow.
- Marker 2: Cross-workspace links: fire other flows every time this node finishes.
- Marker 3: Link to another flow picks the webhook, sync or async, just like step 03.
As a tool. Click Add Tool, then From Workspace.
- Marker 1: From Workspace: use any node as a tool.
- Marker 1: Under Workflow, the webhooks with Internal calls on. Pick one to add it as a tool.
| As a tool | Cross-workspace link | |
|---|---|---|
| When it fires | When the model decides the conversation needs it. | Every time the AI node finishes. |
| What the target receives | The arguments the model chose. | The AI node's output. |
| Listed on the target under Incoming as | A tool | A 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.
| Value | What 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(orx-hw-ai-tool) andx-hw-call-stack, and their event type isflow-linkorai-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 off | Its links stop firing but are kept. An amber count shows how many are waiting. Turn it back on and they resume. |
| Pause the webhook | Same as above. |
| Delete the webhook or AI node | All its links are removed. |
Troubleshooting
| What you see | Cause | Fix |
|---|---|---|
| The webhook isn't in the picker | Its Internal calls switch is off, or it's already linked. | Turn the switch on in its own page. |
| Never fired yet after a test | The test came from Run. | Send a real request to the source webhook's URL. |
| The link stopped firing | Internal 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 partway | It hit the depth limit or looped back. | Check the logs for the warning and shorten the chain. |