Skip to main content
Agent commands. Your AI agent uses this node in workflows. You don’t configure it directly.
The HTTP node calls APIs and web services. It handles JSON and binary responses, supports all standard methods, and has built-in auth — so your agent doesn’t need to construct Authorization headers manually.

Parameters

Authentication (mutually exclusive)

You cannot use both auth_token and api_key in the same request.

Output

Method auto-detection

If method is not specified:
  • POST if body is provided
  • GET if no body

Response handling

JSON responses are automatically parsed to dict/list. Binary responses (images, PDFs, etc.) are base64-encoded. Detected by Content-Type:
  • image/*, video/*, audio/*
  • application/pdf, application/zip, application/octet-stream
Text responses are returned as strings.

Examples

GET request

POST with JSON body

With authentication

With query parameters

Results in: https://api.example.com/search?q=pflow&page=1&limit=10

Download binary file

Error handling

HTTP errors (4xx, 5xx) return the error action with details in error key. The response body is still available in response. Network errors trigger automatic retry (3 attempts, 1 second wait):

Status codes