# How to create a Workflow

Creating a workflow in K3 Labs is a straightforward process. Follow these steps to set up and deploy your workflow:

1. **Configure the Trigger**. Using Schedule / Trigger function, select a starting point of the workflow by choosing either frequency of the execution or event that would trigger the execution.
2. **Drag and Drop Desired Functions**. Select the functions you need from the Functions tab and drag them into the Main Workflow Editing Section.
3. **Connect the Functions**. Connect the functions by dragging the input and output arrows to define the flow of data between them. Please note that one function output can only be connected to one input.&#x20;
4. **Enter Function Parameters**. In the Functions Parameters Section on the right-hand side, enter the required parameters for each function.
5. **Deploy the Workflow**. Once verified, deploy the workflow by pressing the Deploy button.

<figure><img src="https://i.imgur.com/4x5XT6Y.gif" alt=""><figcaption></figcaption></figure>


---

# 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.k3-labs.com/introduction/automate/how-to-create-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.
