# Agent Request Node

The **Agent Request** node allows your Workflow to be triggered by an **Agent tool call** inside Endless.\
When an Agent decides it needs to use a Workflow, this node is the entry point.

***

### 🛠️ How It Works

* Agents can call Workflows just like they call MCP tools.
* When this happens, the Workflow starts from the **Agent Request Node**.
* The request can include inputs (parameters) that your Workflow can use in the next steps.

***

### ⚙️ Configuration Options

* **Parameters** → define the input fields your Agent will send when triggering this Workflow.
* **Validation** → optional rules to ensure required parameters are provided.

***

### 📌 Example Use Cases

* An Agent needs to **generate a custom report** → it calls a Workflow that collects data and formats it.
* An Agent needs to **start an approval process** → it triggers a Workflow that sends a notification.
* An Agent needs to **query an external API** indirectly → it passes the request to a Workflow that handles it.

***

⚡ **Tip:** Combine the **Agent Request Node** with an **Agent Response Node** so your Workflow can return results directly back to the Agent.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zaia.app/workflows/workflow-nodes/agent-request-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
