> For the complete documentation index, see [llms.txt](https://docs.mydbsync.com/cloud-workflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/flow.md).

# Flow

Automate data processing and integration tasks using the Flow action

A flow in DBSync Cloud Workflow represents a specific workflow you want to create. Flows let you automate data processing and integration tasks using queries and variables. You can enable or disable any flow, which also enables or disables that workflow during integration execution.

### Create and configure a flow <a href="#createandconfigureaflow" id="createandconfigureaflow"></a>

{% stepper %}
{% step %}
Drag and drop the **Flow** icon from the left panel to the center of the screen.
{% endstep %}

{% step %}
Click **Configure** to configure the flow.
{% endstep %}

{% step %}
Enter a name for the flow, then click **Save**.
{% endstep %}
{% endstepper %}

#### Enable or disable a flow <a href="#enableordisableaflow" id="enableordisableaflow"></a>

Select or clear the **Disabled flow** checkbox to enable or disable the flow. This action applies to all queries, variables, and transformations within the flow.

#### Add queries and variables <a href="#addqueriesandvariables" id="addqueriesandvariables"></a>

Within the flow, you can add queries and variables that your workflow requires. This lets you process data dynamically based on your defined logic.

<figure><img src="https://1036205596-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv9avy716UiAsS24zOznZ%2Fuploads%2FVbL9abvx83ktPAUkm23r%2Fimage.png?alt=media&amp;token=28486546-6594-49f5-9c05-012e90ce6ebb" alt=""><figcaption><p>Adding Queries and Variables</p></figcaption></figure>

### Run the flow <a href="#runtheflow" id="runtheflow"></a>

Click the **Run** icon to execute the integration.

### Monitor and modify the flow <a href="#monitorandmodifytheflow" id="monitorandmodifytheflow"></a>

{% stepper %}
{% step %}
After running the flow, review the logs to confirm it completed successfully.
{% endstep %}

{% step %}
If you need to make adjustments, return to the flow configuration, modify the settings or components, and save again.
{% endstep %}
{% endstepper %}

<details>

<summary>Frequently Asked Questions (FAQ)</summary>

#### 1. How do I reconnect a disconnected flow?

If a flow becomes disconnected, navigate to the flow configuration, re-establish any broken connections, and ensure all settings are correctly configured before saving and running the flow again.

#### 2. Can I schedule flows to run automatically?

Yes, you can schedule flows to run automatically by defining triggers and schedules within the task configuration. This allows for automated execution based on your defined criteria.

#### 3. How can I monitor the execution of my flows?

You can monitor flow execution through the logs available in the DBSync Cloud Workflow interface. These logs provide detailed information on the execution status, errors, and warnings.

#### 4. What should I do if a flow fails to execute?

If a flow fails to execute, review the logs to identify the error. Modify the flow configuration as needed to address the issue and re-run the flow. Regular testing and monitoring help prevent execution failures.

</details>

### What's next <a href="#whatsnext" id="whatsnext"></a>

* [Creating custom tasks](https://docs.mydbsync.com/cloud-workflow/ipaas/functional-concepts/task): Learn how to design and automate processes using the DBSync Task Builder.
* [Query](https://docs.mydbsync.com/cloud-workflow/ipaas/functional-concepts/query): Learn how to add and configure queries to retrieve data from various sources.
* [Variable](https://docs.mydbsync.com/cloud-workflow/ipaas/functional-concepts/variable): Learn how to use variables to pass data between actions within your tasks.
