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

# Workflows

Process automations in Arcee Orchestra are built via workflows. **Workflows** are a collection of actions which automate a specific business task. These actions, aka "components" or "nodes", can be requests to an SLM or LLM, external API calls, code execution, queries to a vector database, integrations into over 200+ built-in connectors, conditionals/decisions, aggregations, and more. Each action will be covered in-depth in [Components](/arcee-orchestra/workflows/workflow-components.md).

Workflows are executed along a graph node by node allowing for complete flexibility and customization. Take for example the simple workflow below:

<figure><img src="/files/M4Rfuf2RZS7zG5A9Bj0P" alt=""><figcaption><p>News Analysis Workflow</p></figcaption></figure>

1. In the start node, a variable **prompt** is defined which expects text as input.
2. When a prompt is received, two built-in integrations for search, Serpapi and Tavily, are invoked where the query is the prompt entered by the user.
3. The articles retrieved from these integrations are then passed to a model node to analyze the articles and provide an answer to the user's query.
4. The model's response is then provided back to the user.

### Building a Workflow

{% embed url="<https://www.youtube.com/watch?v=o8Evp3v7xEw>" %}
Build Your First Workflow pt 1
{% endembed %}

{% embed url="<https://www.youtube.com/watch?v=qqVgJs4PIKs>" %}
Build Your First Workflow pt 2
{% endembed %}

{% embed url="<https://www.youtube.com/watch?v=WS3ItQhJ9js>" %}
Build Your First Workflow pt 3
{% endembed %}

Workflows are built by defining and connecting nodes together. In the video above, you are walked through how to create a simple workflow to generate a travel itinerary for a given location and have the itinerary emailed to you.

This initial example serves as a basis for how workflow components work together. The real power of Orchestra comes from when you connect your business applications to a workflow to execute relevant and impactful automations.

### Invoking a Workflow

Workflows can be invoked in chat interface or directly via an API.

When invoking workflows through the chat interface, simply select the tool from the tool bar and submit a prompt. The selected model will determine what tool to call based on the prompt and forward the request to the determined workflow. Navigate to [Chat Interface](/arcee-orchestra/chat-interface.md) for more information. &#x20;

When invoking workflows with an API, simply specify your API key, the workflow ID, and the input parameters. Navigate to [API Invocation](/arcee-orchestra/workflows/api-invocation.md) and [Execute a Workflow API](/arcee-orchestra/workflows/api-invocation/workflow-execution-api.md) for more information.

### Scaling Workflows

Workflows scale at the node level meaning when your traffic increases they automatically scale to meet your traffic demands.&#x20;
