> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dume.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# HTTP Node

> Configure and utilize the HTTP Node for seamless API integrations in your Dume.ai workflows. Complete guide to REST API calls, webhooks, and external service connections.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/sample-nodes/http.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=369e0c5d3c21f6ca23235bcbc3f1df3a" alt="Workflow Dume.ai HTTP" title="Dume.ai Workflow HTTP" width="200" data-path="images/light/workflow/sample-nodes/http.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/MMXhwtNTjHEo285E/images/dark/workflow/sample_nodes/http.png?fit=max&auto=format&n=MMXhwtNTjHEo285E&q=85&s=a9e34fba75f40eb3ca77336076251409" alt="Workflow Dume.ai HTTP" title="Dume.ai Workflow HTTP" width="200" data-path="images/dark/workflow/sample_nodes/http.png" />
</Frame>

The **HTTP Node** is your primary tool for connecting Dume AI workflows with the outside world using APIs. It enables seamless integration with any web service, allowing you to fetch, send, or manipulate data dynamically as part of your automation pipeline.

## What Can the HTTP Node Do?

* **Make API Calls:** Supports a wide range of HTTP methods such as GET, POST, PUT, PATCH, or DELETE.
* **Integrate Third-Party Services:** Connect your workflow with platforms like CRMs, databases, AI services, or any REST-enabled API.
* **Automate Data Exchange:** Fetch or push data from/to external systems to power advanced automations.
* **Customize Requests:** Configure headers, query parameters, body payload, and timeout settings for complete control.

## Key Features

* **Flexible Method Selection:** Choose the appropriate HTTP method (default: GET).
* **URL Input:** Specify the exact endpoint you want to interact with.
* **Configurable Timeout:** Define maximum wait time for responses (in milliseconds) to suit your API’s expected response durations.
* **Advanced Configuration:** Add headers (for authentication, content type, etc.), query string parameters, and custom request bodies—making it easy to interact with both public and private APIs.
* **Dynamic Data:** Use variables from previous workflow nodes as part of your URL or payload for contextual, data-driven requests.

## Configuring the HTTP Node

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/http_node.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=4c8828c27690f2f6a7969017e2a5db8a" alt="Workflow Dume.ai HTTP node" title="Dume.ai Workflow HTTP node" width="200" data-path="images/light/workflow/nodes/http_node.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/F6GDMY5YwnHIovR6/images/dark/workflow/nodes/http_node.png?fit=max&auto=format&n=F6GDMY5YwnHIovR6&q=85&s=7e630bc0068c1c17ea11f3f08ed12d12" alt="Workflow Dume.ai HTTP node" title="Dume.ai Workflow HTTP node" width="200" data-path="images/dark/workflow/nodes/http_node.png" />
</Frame>

The HTTP node configuration panel allows you to set up every detail for your API call:

**1. Basic Tab**

* **Method:** Select GET, POST, PUT, PATCH, or DELETE.
* **URL:** Enter the API endpoint (can use dynamic variables from previous nodes).
* **Timeout:** Set response timeout in milliseconds.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/http_node/basic.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=ad1a5f23d03b5100eafc2c05f1bf1465" alt="Workflow Dume.ai HTTP node basic" title="Dume.ai Workflow HTTP node basic" width="200" data-path="images/light/workflow/nodes/http_node/basic.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/F6GDMY5YwnHIovR6/images/dark/workflow/nodes/http_node/basic.png?fit=max&auto=format&n=F6GDMY5YwnHIovR6&q=85&s=bdd35322f0475e8e73b143ceaad425f9" alt="Workflow Dume.ai HTTP node basic" title="Dume.ai Workflow HTTP node basic" width="200" data-path="images/dark/workflow/nodes/http_node/basic.png" />
</Frame>

**2. Headers Tab**

* Easily add authentication (e.g., Bearer tokens, API keys), content-type, or any required header.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/http_node/headers.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=548c369618ab8b08ceb5aaff6b6a8b1a" alt="Workflow Dume.ai HTTP node headers" title="Dume.ai Workflow HTTP node headers" width="200" data-path="images/light/workflow/nodes/http_node/headers.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/F6GDMY5YwnHIovR6/images/dark/workflow/nodes/http_node/headers.png?fit=max&auto=format&n=F6GDMY5YwnHIovR6&q=85&s=6186ed3bb5a13bd3cfd5a46cd5508f10" alt="Workflow Dume.ai HTTP node headers" title="Dume.ai Workflow HTTP node headers" width="200" data-path="images/dark/workflow/nodes/http_node/headers.png" />
</Frame>

**3. Query Tab**

* Specify URL query string parameters as needed by the target API.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/http_node/query.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=b055dbcfc0aa56e86550eb68244632b6" alt="Workflow Dume.ai HTTP node query" title="Dume.ai Workflow HTTP node query" width="200" data-path="images/light/workflow/nodes/http_node/query.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/F6GDMY5YwnHIovR6/images/dark/workflow/nodes/http_node/query.png?fit=max&auto=format&n=F6GDMY5YwnHIovR6&q=85&s=67250445294e099d03edd270ceeb2413" alt="Workflow Dume.ai HTTP node query" title="Dume.ai Workflow HTTP node query" width="200" data-path="images/dark/workflow/nodes/http_node/query.png" />
</Frame>

**4. Body Tab**

* For POST/PUT requests, define JSON or form-data payload using variables from your workflow.

<Frame>
  <img className="block dark:hidden" src="https://mintcdn.com/stackgrid/oY4hBaRY8pxXJFIw/images/light/workflow/nodes/http_node/body.png?fit=max&auto=format&n=oY4hBaRY8pxXJFIw&q=85&s=2edafd368f8c538aee0868b0fdb79d46" alt="Workflow Dume.ai HTTP body query" title="Dume.ai Workflow HTTP body query" width="200" data-path="images/light/workflow/nodes/http_node/body.png" />

  <img className="hidden dark:block" src="https://mintcdn.com/stackgrid/F6GDMY5YwnHIovR6/images/dark/workflow/nodes/http_node/body.png?fit=max&auto=format&n=F6GDMY5YwnHIovR6&q=85&s=e2d1cf03931ca9f3f82037aae2fe1cd2" alt="Workflow Dume.ai HTTP node body" title="Dume.ai Workflow HTTP node body" width="200" data-path="images/dark/workflow/nodes/http_node/body.png" />
</Frame>

**5. Next Node**

* After the API call, connect subsequent nodes to process API responses (pass to an LLM, trigger a condition, etc.).

## Example: Fetching Data from an External API

Suppose you want to retrieve weather data for a city received as input:

1. **Input Node:** Provides a `city` parameter.
2. **HTTP Node:**
   * **Method:** GET
   * **URL:** `https://api.weatherapi.com/v1/current.json?key={YOUR_API_KEY}&q={INPUT/city}`
   * Add necessary headers if required.
3. **Next Node:** Parse the `temperature` from the response and feed it to a Template or Output Node.

## Use Cases

* **Enrich workflow data with external information (e.g., user details, stock prices, weather).**
* **Send workflow outcomes to remote databases or reporting tools.**
* **Trigger notifications on third-party services.**
* **Integrate business logic into SaaS platforms.**

## Best Practices

* **Handle Errors:** Use Condition Nodes to handle HTTP failures (timeouts, non-200 status codes, etc.).
* **Secure Credentials:** Store API keys in secure environment variables whenever possible.
* **Test Your API Calls:** Start with small requests and check responses for proper mapping.

The **HTTP Node** allows you to power up your Dume AI workflow with virtually any web-connected system—bringing advanced automation, interoperability, and real-time data exchange into your business processes.
