← All nodes
Actions a_api

HTTP Request

Calls an external HTTP endpoint and routes on OK vs error status.

What does it do?

Makes an HTTP request to any external system, like your Shopify store, your CRM (HubSpot) or your payment gateway.

How does it work?

You configure the URL, method (GET, POST), security headers (API Keys) and the request body. When the flow reaches this node, Daguito executes the call and stores the response in execution memory.

Why use it?

So your bot isn't isolated. If a customer asks "Where is my order?", you use this node to connect to the shipping company and fetch the real package status.

Inputs

This node takes no structured inputs.

Outputs

nametype
status number
ok boolean
body unknown
headers object
branch string
duration_ms number

Branches

Fixed branches

  • ok — OK
  • http_error — HTTP Error

Configuration

url string required
method "GET" | "POST" | "PUT" | "PATCH" | "DELETE" required default: "GET"
headers object required default: {}
body unknown optional
timeout_ms integer required default: 10000
fail_on_http_error boolean required default: false
branch_when_ok string required default: "ok"
branch_when_http_error string required default: "http_error"
memory_key string optional

Default configuration

{
  "url": "https://example.com",
  "method": "GET",
  "headers": {},
  "timeout_ms": 10000,
  "fail_on_http_error": false,
  "branch_when_ok": "ok",
  "branch_when_http_error": "http_error"
}

Emitted events

This node does not publish events on the pubsub channel.