http-request function type makes arbitrary HTTP requests to any endpoint. This function type can be used in both Actions and Flow Nodes.
Usage
- Actions - Use
http-requestaction type to make HTTP requests to any external endpoint - Flow Nodes - Use
custom-http-requestnode type to make HTTP requests within flows
Examples
Action Implementation
Flow Node Implementation
Configuration Parameters
Action Parameters
request.uri- Request URI (required)request.method- HTTP method (defaults to GET)request.body- Request bodyrequest.query- Query parametersrequest.headers- HTTP headersresponseSchema- Expected response schema (optional)allowNon2xx- Allow non-200 responses (optional)
Flow Node Parameters
url- Request URL (supports formulas)method- HTTP method (GET, POST, PUT, DELETE, etc.)headers- HTTP headers (supports formulas)body- Request body (supports formulas)query- Query parameters (supports formulas)timeout- Request timeout in milliseconds (optional)
Batch Mode
In Flow Nodes, you can enable batch mode to avoid sending dozens or hundreds of HTTP requests. When using Batch Mode, the node’s input becomes a list of up tobatchSize items.