Workflow steps

http

type: "http"

Any HTTP request, with its own guarded loop: every redirect is re-checked, the response is capped, and the timeout is bounded.

url required5 redirects10 MB · 15 minutes
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

urlstringrequired

Where. Missing is refused on save.

methodstringPOST

Any method.

headersobject

Added to Content-Type: application/json.

bodyanythe run's context

Sent as JSON. Absent sends the input and the step outputs.

timeoutMsinteger900 000

Fifteen minutes at most.

{ id: "notify", type: "http", config: {
    url: "https://hooks.example.com/digest",
    method: "POST",
    headers: { Authorization: "Bearer …" },
    body: { text: "{{steps.write.output.text}}" } } }
{"id": "notify", "type": "http", "config": {
    "url": "https://hooks.example.com/digest",
    "method": "POST",
    "headers": {"Authorization": "Bearer …"},
    "body": {"text": "{{steps.write.output.text}}"}}}

Output

{{steps.notify.output.status}}    // 200
{{steps.notify.output.body}}      // parsed JSON, or the text
"{{steps.notify.output.status}}"   # 200
"{{steps.notify.output.body}}"     # parsed JSON, or the text

Redirects are followed by hand

Each hop is checked again

Five at most. A redirect that led somewhere private would otherwise be the whole address check undone in one hop — and that is exactly what a redirect is for, from the other side.

A redirect that browsers turn into a GET is turned into a GET here too, without the body.

The bounds

ThingBound
Response10 MB
Redirects5
Timeout15 minutes

A refusal fails the step

A status outside the successful range throws, carrying the status, the address and the message the service returned — which is usually the thing that explains it.