Skip to main content

Tool call steps

What this page is — the step that hands data from a workflow run to a service outside Orbit and brings its answer back: which tools you can choose, how their inputs and outputs work, what leaves Orbit when the step runs, and what to do when the call fails.

What it is for — reaching systems a utility cannot: an external messaging service, an automation platform, a specialist calculation service.

The problem it solves — some work has to happen outside Orbit. Without a tool call someone copies the AI's output into the other system by hand, at a different time, with a different result each time. A tool call step does it inside the run — but it also sends your data to a third party, so it deserves more care than any other step type.

Route: /org/ai-workflow-build → a workflow → a step with Step Type set to External Tool · Needed to configure it: Change your organisation's workflows: input form, steps, wiring, conditions and loops.


1. What an external tool is​

A tool is a connection to an outside service that Orbit has set up and verified: an address to call, how to authenticate, the inputs it accepts and the fields it returns. You never see or edit the address or credentials — you choose the tool, connect its inputs, and give the step an Output Key.

The builder calls this step type External Tool; the read-only workflow viewer and the run console call it Tool call. They are the same thing.

TermMeaning
Tool inputsThe named values the service expects, for example message or recipient
Tool outputThe fields the service sends back, listed by the tool so later steps can pick them
ConnectedThe tool can be used by your organisation
Not connectedThe tool exists but needs a connection your organisation does not have

2. Why you would use it​

  • One flow, several systems. Generate content in Orbit and deliver it elsewhere in the same run.
  • Structured answers back. A tool's reply is kept field by field, so a later step can use just the status or the id it returned.
  • Repeatable hand-off. The same inputs go to the service in the same shape every run, instead of whatever someone remembered to paste.

3. Which tools you can choose​

On the Setup tab, set Step Type to External Tool and open Select External Tool. The list contains tools Orbit has switched on and verified. Each entry shows its icon, name, category and a short description.

Tool call steps can use only tools available to your organisation. Tools that need a connection show as Not connected — the name is followed by (not connected), the description ends with Not connected for your organisation, and the entry is greyed out and cannot be chosen.

Figure 1 — A tool your organisation has not connected is listed greyed out and cannot be chosen: (1) pick the tool, (2) a tool not connected yet cannot be chosen.

A workflow can still contain a tool that is not connected — for example one you duplicated from an Orbit template. The step keeps its tool, but:

  • Check and Publish report The selected tool is not connected for your organisation, and the workflow cannot be published until you change or remove the step.
  • If such a workflow is offered for running, the run screen shows Missing Integrations with the tool's name and a Go Back button instead of the form.

Choosing a different tool clears the step's wiring, because inputs differ from tool to tool.


4. Inputs and outputs​

Inputs​

The Wiring tab shows Tool Inputs (tool name) with one selector per input the tool declares, labelled with its name and type. Fill each from the input form, an earlier step, the project, the organisation, or a custom value — the same sources as other steps, described on Wiring and variables. A tool that declares no inputs shows No inputs required.

Outputs​

When the call succeeds, the reply is stored under the step's output key:

The service replies withStored asHow later steps use it
JSONA structurePick (Full Object) or one of the tool's listed fields, e.g. {{steps.3.delivery.status}}
Plain textText{{steps.3.delivery}}
An image or a PDF file—Not supported: the step stops with an error

The fields offered for a later step come from the tool's own description of its output. If the service actually returns something different, the field resolves to nothing — run the workflow once and read the step's response in the console before relying on a field.


5. What leaves Orbit when the step runs​

Each run of the step makes one request to the service and waits up to 30 seconds for an answer. The request contains:

SentNotes
Every wired input, by its keyExactly the values the wiring resolved to
context_project_idThe project the run belongs to
context_organization_idYour organisation
context_user_idThe person who started the run
Your data goes to that tool

Whatever you wire into a tool input is sent to a service outside Orbit and is then governed by that service, not by Orbit. Wire only what the tool needs. In particular, avoid wiring {{project.metadata}} or a whole AI answer when one field would do, and never wire personal data unless your agreement with the service covers it.

A file field sends Orbit's reference to the file, not the file itself. The service cannot open that reference on its own.

Orbit charges no AI credits for the call. A tool step inside a loop calls the service once per round; a retried run calls it again — so a tool that sends something can send it twice.


6. Field reference​

FieldTabTypeRequiredNotes
Step NameSetupTextYes, in practiceShown in the timeline and logs
Step TypeSetupChoiceYesExternal Tool
Select External ToolSetupSearchable listYes to publishNot connected tools cannot be chosen
Output KeySetupTextYes to publishName for the reply, e.g. delivery
Response TypeSetupChoiceNoA label for readers; the reply is stored as described in section 4
Tool inputsWiringOne selector eachAs the tool requiresThe tool decides which inputs matter
Conditional ExecutionConditionsToggleNoCall the tool only when a value matches — see Conditions

7. Worked example​

A clinic wants every approved appointment reminder pushed to the messaging service it already uses. The tool name here is illustrative; use whichever connected tool your list shows.

  1. Input form: Patient first name (Text) and Appointment date (Date).
  2. Step 1, AI persona: drafts a two-sentence reminder. Output key reminder.
  3. Step 2, Human review: a receptionist reads the draft. Output key review.
  4. Step 3, External Tool → Clinic Messaging (connected). Wiring: message → {{steps.1.reminder}}, first_name → {{inputs.patient_first_name}}. Output key delivery.
  5. Nothing further is needed: the run console shows the tool's reply, including its status field, for every run.

Note what was not wired: the patient's phone number lives in the messaging service already, so it is never sent from Orbit.


8. Before this works​

  • The tool appears in Select External Tool without (not connected).
  • You know what the service expects in each input and what it returns — ask whoever arranged the tool with Orbit.
  • The service answers within 30 seconds, with JSON or text.
  • Your organisation is comfortable with the data in section 5 leaving Orbit.
  • Building needs Change your organisation's workflows: input form, steps, wiring, conditions and loops.; publishing needs Publish or unpublish your organisation's workflows so they can (or can no longer) be run.

9. Don't confuse this with…​

A Utility stepActs inside Orbit — files, calendars, project pages — and sends nothing outside. See Utility steps
Social sign-in and mailbox connectionsConnections made in Settings for people or mailboxes. They do not make a workflow tool connected
An AI persona stepSends text to the AI model of the persona. A tool call goes to the service the tool names

10. Troubleshooting​

SymptomLikely cause and fix
The tool is greyed out with (not connected)It needs a connection your organisation does not have. Choose a connected tool
Check says The selected tool is not connected for your organisationAs above — replace or remove the step before publishing
Check says The selected tool is switched off or not verified by OrbitOrbit has withdrawn the tool. Replace the step
Choose a tool for this stepNothing is selected yet
The run stops with tool returned error 4xx or 5xx and a messageThe service rejected the request. The message after the code is the service's own explanation — usually a missing or badly formatted input
The run stops with http call failedThe service did not answer within 30 seconds, or could not be reached. Retry later
The run stops mentioning binary file handlingThe service replied with an image or PDF, which tool steps cannot receive
A later step's field from the tool is emptyThe reply did not contain that field. Read the step's response in the console and wire the field that is really there
The service received the same thing twiceThe run was retried, or the step is inside a loop. Put a condition on the step, or move it out of the loop

When a step fails, the run pauses so someone with Can Approve/Reject "Human Review" steps. can retry or halt it — see Monitor a run. More in AI workflow troubleshooting.