# How to Run a Workflow

## Background

{% content-ref url="/pages/kGz1rovOOBYXXhoOcn3E" %}
[Workflow](/core-concepts/scaffold/workflow.md)
{% endcontent-ref %}

## To Run a Workflow

There are two ways to run a workflow:

1. Use the CLI command
2. Use the provided `Makefile`

### CLI Command

The CLI command is `stoobly-agent scaffold workflow up` .

This is great for users who have small setups and prefer getting started quickly. To learn more, see:

{% content-ref url="/pages/QCzlmGBBwpBzMSRsNZZq" %}
[Running with CLI command](/guides/how-to-integrate-e2e-testing/how-to-run-a-workflow/running-with-cli-command.md)
{% endcontent-ref %}

### Makefile

The Makefile contains commands for common operations. This provides an opinionated way to run commands following our best practices. This is recommended for teams using CI environments. To learn more, see:

{% content-ref url="/pages/yy8sa3l21uzMkbO2nWIE" %}
[Running with Make](/guides/how-to-integrate-e2e-testing/how-to-run-a-workflow/running-with-make.md)
{% endcontent-ref %}


---

# 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.stoobly.com/guides/how-to-integrate-e2e-testing/how-to-run-a-workflow.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.
