# Triggering Workflows

Automateo workflows are triggered via webhooks. Here's how to set up and use webhook triggers:

1. When you save a workflow, Automateo generates a unique webhook URL for that workflow.
2. You can find this URL in the workflow details page.
3. To trigger the workflow, send a POST request to this webhook URL.
4. Include any necessary input data in the request body, formatted according to your Input node specifications.
5. Authenticate the request by including your Automateo API key in the Authorization header as "Bearer {token}".

Example curl command to trigger a workflow:

```
Copycurl -X POST https://api.automateo.app/api/w/{workflow_id} \
     -H "Authorization: Bearer {YOUR_API_KEY}" \
     -H "Content-Type: application/json" \
     -d '{ "input": { "some_property": "value" } }'
```

Replace `{workflow_id}` with your actual workflow ID, `YOUR_API_KEY` with your Automateo API key, and adjust the JSON payload to match your workflow's input requirements.


---

# 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.automateo.app/triggering-workflows.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.
