# Creating automation workflows

After modeling the system and its components and ensuring that appropriate telemetry instances are defined, the following step (see the following figure) is to define a [workflow](/akamas-docs/3.3.1/akamas-reference/glossary/workflows.md).

<figure><img src="/files/EyE8k31wS4hgkUZNp6tY" alt=""><figcaption><p>Preparing an optimization: create automation workflow</p></figcaption></figure>

A workflow automates all the tasks to be executed in sequence (see the following figure) during the optimization study, in particular those leveraging integrations with external entities, such as telemetry providers or configuration management tools. Akamas provides a number of general-purpose and specialized workflow operators (see [Workflow Operator](/akamas-docs/3.3.1/akamas-reference/workflow-operators.md) page).

<figure><img src="/files/TN7qgGeSLfJTfGRkMM7C" alt=""><figcaption><p>Workflow and its tasks (partial)</p></figcaption></figure>

The [Workflow template](/akamas-docs/3.3.1/akamas-reference/construct-templates/using-workflows.md) section of the reference guide describes the template required to define a workflow, while the commands for creating a workflow are listed on the [Resource Management command](/akamas-docs/3.3.1/akamas-reference/cli-reference/resource-management.md) page.

Since a workflow is an Akamas resource defined at the [workspace](/akamas-docs/3.3.1/akamas-reference/glossary/workspaces.md) level and that can be used by multiple studies, it might be the case that a convenient workflow is already available or can be used to create a new workflow for the specific target system and integrations, by adding/removing some workflow tasks, changing the task sequence or the values assigned to task parameters.

Notice that since the structure of workflows defined for a [live optimization study](/akamas-docs/3.3.1/akamas-reference/glossary/live-optimization-studies.md) and for an [offline optimization study](/akamas-docs/3.3.1/akamas-reference/glossary/offline-optimization-study.md) are very different, these cases are described by a specific page:

* [creating workflows for offline optimization studies](/akamas-docs/3.3.1/using-akamas/preparing-optimization-studies/creating-automation-workflows/creating-workflows-for-offline-studies.md)
* [creating workflows for live optimization studies](/akamas-docs/3.3.1/using-akamas/preparing-optimization-studies/creating-automation-workflows/creating-workflows-for-live-optimizations.md)


---

# 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.akamas.io/akamas-docs/3.3.1/using-akamas/preparing-optimization-studies/creating-automation-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.
