Skip to main content
Use a Function Call node to check stock, pull an order from your CRM, look up a customer, or update another system while the caller is on the line. Functions are available on flow agents.

Set up a Function Call node

1

Add the node

Add a Function Call node to the flow and click HTTP Request to open its settings.
2

Describe the request

Fill in the request the node sends:Every value can be fixed text or a [variable] collected earlier in the call.
3

Save response fields

Under Store Return Values as Collected Vars, map response fields to variables for later nodes. Read a nested field by dotted path, for example order.status. See Variables.
4

Test it

Click Test API to send a real request with sample values and see the response.
5

Connect both branches

Route Success and Error to the right next steps.
Each Function Call node holds its own request. To call the same API from two places in a flow, copy the node (Copy or Duplicate in its menu) and change what differs.

Success and error

Success means a 2xx response. The node takes Error on a 3xx, 4xx or 5xx response, a timeout, a network failure, a 2xx response that isn’t valid JSON, or a response field that doesn’t match its declared type. Always connect the Error branch to something the caller hears, such as an apology or a transfer.

In the transcript

Each call to a function adds two system rows. The request row shows the method, URL and body. The result row shows the status, response, extracted variables and duration, plus an error code if it failed. Expand them to debug an integration without reading server logs.

Security

  • Common secret headers (such as Authorization and X-Api-Key) and secret-looking query parameters are shown as [REDACTED] in transcripts and the API. The real values are still sent to your endpoint.
  • Header values are stored as plain text in the agent’s configuration, not encrypted, and travel with the node when you copy it. Use a dedicated key with the smallest permissions your endpoint allows, and rotate it if needed.
  • Requests to private or internal network addresses are blocked. Responses are capped at 1 MB.