> For the complete documentation index, see [llms.txt](https://docs.codewords.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codewords.ai/automations/running-automations.md).

# Running automations

Learn the different ways you can run CodeWords workflows — from chat, from the run page, or automatically with schedules and triggers.

### Ways to run a workflow

There are a few ways to run workflow automations in CodeWords.

**Run from chat**

In the chat where the workflow was built, click **Run**. That’s the fastest way to see how it performs and check you’re happy with the output.

**Run page**

Each time a workflow executes (manually, on a schedule, or via a trigger), a run page is generated. Each run page includes:

* **Integrations** — check whether connections are required to run the workflow
* **Input fields** — enter your data or reference points
* **Run button** — available once required inputs are filled in
* **Workflow logs** — see which step is in progress as the run updates
* **Output** — the result when the run finishes
* **Error details** — if the run failed, so you can go back to chat and ask Cody to fix it

If an automation doesn’t behave as expected, head back to the chat, reference the workflow, and ask Cody to fix it.

### Schedules and triggers

You can run a workflow manually, or set up a schedule or trigger so it runs on its own.

See [Schedules and triggers](https://docs.codewords.ai/automations/schedules-and-triggers) for the full walkthrough.

<figure><img src="https://1922564109-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDPhSzUJZB9UnI8nwVLWT%2Fuploads%2Fx0LzYQm3L3D6DGYpLX0B%2FSchedules%20and%20Triggers.gif?alt=media&amp;token=162820ca-ffa0-42db-806d-7b0187cb9494" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.codewords.ai/automations/running-automations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
