Skip to content
MyAppBuilder
StableWorkflow node

Call API

Overview

Calls one of your configured APIs with parameters and saves the response for later steps.

Purpose

Enrich or sync data: fetch a shipping rate, push a contact to your CRM, verify an address. Secrets stay on the server.

Inputs

  • API — an API source defined under APIs. Unlike the component action, workflows may call APIs that are not allowed from published apps.
  • Parameters — values for the {{params.name}} placeholders found in the API's URL, headers, query and body. The list is pre-filled from the API definition; add more if needed.
  • Save result as — a key (letters, digits, underscores) under which later steps find the result: Action results › key in the Data Picker or {{results.key}} in templates. Default key: api.

Configuration

  • Test the API under APIs first so its response fields appear in the Data Picker.
  • Use a Set values step afterwards to pick the parts you need under clear names.

Outputs

  • results.<key> = the response data (after the API's Response path), for example {{results.rate.total}}. Step output { status }.

Example

Get a shipping rate

Example
Call API
  API: POST Shipping rate
  Parameters: postcode = {{record.postcode}}, weight = {{record.weight_kg}}
  Save result as: rate

Database › Update record: Shipping cost = {{results.rate.total}}

Errors

  • “API source no longer exists” — the API was deleted.
  • “API returned HTTP 4xx/5xx” — the step fails when the response is not successful; the data is still saved under the result key for inspection in Run history.
  • Missing secret or blocked address errors from the API layer.

Limitations

  • Responses over 2 MB are rejected; the timeout is the API's (0.5–30 s).
  • On test data (preview, Test run, staging, test webhook URLs) writes — POST, PUT, PATCH, DELETE — are captured, not sent (the result is empty and the step output says captured), unless the API's connection allows real calls in Integrations. GET requests are performed.
  • GET, PUT and DELETE are retried on network errors, 408/425/429 and 5xx (connection setting, default 2 retries); POST and PATCH never are. Calls are rate limited per connection (default 60 a minute).
  • When a step fails, the run stops there, is marked failed in Run history with the step name and error, and the remaining steps are skipped.

Advanced

  • Config (v1, src/core/integrations/actions.ts): { apiSourceId, params?, resultKey? }. Calls callApi(ctx, api, evalValues(params)) (src/server/integrations/outbound.ts → executeApiSource); results[resultKey] = r.data is set before the HTTP status check.

Related

Was this helpful?