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

# Automate

Turn a known part of an operational process into a defined, repeatable execution path.

Use Automate when part of an operational process is understood well enough to run through a defined, repeatable path.

A common progression is that people first handle messy cases manually or with the Agent, then move stable parts into Workflows once the triggers, rules, data and exception boundaries are clearer.

![The Automate list groups Workflows by trigger type and shows current Draft or Active state, recent run activity and builder actions.](https://3370306531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlgSglJDQZxDZdn20CUcl%2Fuploads%2FPFA8rBQ5aBMYxxPzZ2wy%2Fautomate-workflow-list.png?alt=media)

## Start with the process, not the canvas

Before wiring actions together, define:

* what starts the work;
* what a correct business result looks like;
* which systems and information are authoritative;
* what can be handled deterministically;
* where judgement or missing information requires a person;
* what should happen when something fails.

Then use the builder mechanics to encode that path.

![Workflow anatomy: one defined path from Trigger through actions, branches and data flow, optional Request Decision or Request Input boundaries, external side effects or output, with Monitoring evidence captured across the run and Draft/Published as states of the same Workflow.](https://3370306531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlgSglJDQZxDZdn20CUcl%2Fuploads%2FkOeARNk29oxUQtCikFjJ%2Fdiagram-6-workflow-anatomy.png?alt=media)

## Build the execution

Use Build a workflow for triggers, actions, data flow and canvas mechanics.

Use Human handoffs when the running Workflow must deliberately pause for a human decision or input. Those handoffs create operator-facing Requests.

## Test before live execution

Use Test and publish to run the Draft, validate behaviour, publish the version used by production and configure supported schedules.

Builder Runs and Tests are real executions. External actions can have real side effects, so choose test data and connected systems accordingly.

After execution, use Monitoring to inspect what actually happened across runs.

## Expose structured operator access

Use Publish apps & APIs when a published Workflow should be started or used through an operator-facing app or supported programmatic surface.

Operators use those published interfaces under Workflow apps.

## Add reusable context and capability

If the execution needs maintained instructions, structured data, reference material or files, use Intelligence rather than embedding everything directly into Workflow logic.

## Where to go next

* Design and build the path → Build a workflow
* Add human decision points → Human handoffs
* Run, test and publish → Test and publish
* Publish an operator interface → Publish apps & APIs
* Inspect live execution → Monitoring


---

# 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.lleverage.ai/build-and-improve/automate.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.
