# Action

## Introduction

In DBSync Cloud Workflow, Actions are the functional steps that define how your data is manipulated, transformed, and routed between systems during a workflow execution. Actions allow you to perform operations such as querying records, updating data, sending emails, triggering sub-flows, and writing to external storage. Each action is configurable and can be used in combination with filters, expressions, and functions to create powerful integration logic.

This section helps you understand the purpose of each action type and how to configure them within a workflow. Whether you're building a basic integration or an advanced multi-step process, mastering actions is essential for leveraging the full capabilities of DBSync Cloud Workflow.

## Key Topics in This Section

* [Flow](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/flow): Trigger another flow within your project, enabling modular, reusable workflow design.
* IDP: enables upload, process, and transform documents or images into structured XML outputs using customizable prompts
* SQL: enables retrieval, insertion, updation, and deletion of records directly from/to the databases
* Rest: enables users to interact with any ReSTful web service
* [Email](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/email): Automatically send email notifications during workflow execution for alerts, confirmations, or sharing data outputs.
* [Variable](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/variable): Define and assign dynamic values to variables, which can be reused across multiple actions in a workflow.
* [Transform and Write](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/transform-and-write): Write data to target systems using various operations like create, update, and upsert.
* [Query](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/query): Learn how to extract data from your source system using custom queries as the first step in your integration process.
* [Restructure](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/restructure): Group flat data into nested structures (e.g., invoices with line items) before writing or sending it to a target system.
* [Debug](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/debug): Log intermediate outputs and variable values to help with workflow debugging and error tracking.

Condition Actions

* [If Condition](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/conditions/if-condition): Add branching logic to execute certain steps only when specific conditions are met. Useful for filtering records, validating fields, or routing data dynamically.
* [For Loop](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/conditions/for-loop): Iterate over lists or collections of records and apply actions to each item. Ideal for processing invoice line items, order details, or repeating structures.

Storage Actions

* [File Storage Action](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/file): Save files locally on the server where DBSync is hosted. Useful for staging files before transferring them elsewhere.
* XML: Allows users to perform structured data transformations between systems
* [CSV Formatter](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/csv): Format data into structured CSV files for reporting or sharing with external systems.
* [Amazon S3](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/s3): Upload data files to an Amazon S3 bucket for secure cloud storage and archival.
* [Google Drive](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/google-drive): Automatically upload documents to Google Drive, enabling easy access and sharing.
* [FTP](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/ftp): Send files to FTP servers for integration with legacy systems or remote storage.
* [Dropbox](https://docs.mydbsync.com/cloud-workflow/create-your-workflow/actions/storage/dropbox): Upload files to Dropbox for cloud storage, collaboration, or external file sharing.

<br>


---

# 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.mydbsync.com/cloud-workflow/2026_create-your-workflow/action.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.
