fetchHttp action calls an HTTP or HTTPS endpoint without requiring a custom action. Use it for public APIs, webhooks, and other requests that don’t need a platform-managed integration account.
Example
automations/look-up-pokemon.automation.ts
Inputs
Every input accepts a compatible signal.
query replaces an existing parameter with the same name. An array writes that name once per value.
With responseType: "auto", JSON media types produce a JSON body. Text and XML media types produce text, and other media types produce a Blob. An empty response always produces bodyType: "empty" and body: null. Use an explicit response type when an endpoint sends an incorrect or missing content-type header.
Output
Returns a signal containing these response fields:
HTTP error statuses are successful action outputs with
ok: false, so your automation can inspect their bodies and decide what to do. Network failures and response parsing failures throw and follow the normal action retry lifecycle.
Don’t put API keys, bearer tokens, or other secrets in headers, query, or body. Action inputs are durable run data. Use a packaged integration action for supported providers, or keep credentials inside a custom action for unsupported services.
Requests that create or change data may run again after a network failure. Use a provider-supported idempotency key when the endpoint supports one.