Retool Workflows
Build, schedule, and monitor your jobs, alerts, and ETL tasks.
Retool Workflows enables you to build complex automations that interact with your data sources. Connect pre-built query blocks together that can interact with resources, transform data, and run additional logic. Trigger workflows automatically with custom schedules or using webook events.
Get started
Watch the video or follow a quickstart to build your first workflow.
Quickstart
Build a workflow in just a few minutes.
AI Actions for workflows
Interact with AI models using a workflow.
Generate with AI
Generate an complete workflow using AI.
Retool Events
Trigger a workflow with Retool Events.
Connect data sources
Connect to nearly any API and database, or store data in a Retool-hosted PostgreSQL database.
![](https://d3399nw8s4ngfo.cloudfront.net/docs/628b76e9-060b-45d5-8bf7-86624f5ef6da.webp)
Connect to an API
Connect to REST, GraphQL, and SOAP APIs.
Connect to a database
Connect to most databases and data stores.
Retool Database
Power apps with a fully managed PostgreSQL database.
Environments
Make use of separate environments for data, such as production and staging.
Assemble blocks
Chain together pre-built blocks that can query data sources, execute JavaScript and Python code, interact with AI, and perform conditional logic.
![](https://d3399nw8s4ngfo.cloudfront.net/docs/9d2408ae-efa7-4ff8-a1d9-5f838294d3c3.webp)
Resource query
Interact with data sources.
JavaScript
Transform data with JavaScript.
Python
Write and execute Python code.
Loop
Iterate through data sets.
Filter
Filter results based on defined conditions.
Branch
Perform different actions depending on conditions.
AI Action
Leverage AI in workflows.
Workflow
Trigger additional workflows within a workflow.
Functions
Reuse queries and logic.
Run workflows automatically
Deploy workflows that are automatically triggered at a regular interval, with webhooks, or by events within your Retool organization.
![](https://d3399nw8s4ngfo.cloudfront.net/docs/83facff9-42e7-4009-b2c7-4d830ea6e764.webp)
Periodic schedule
Trigger workflows at a regular interval.
Webhooks
Trigger workflows with webhooks.
Retool Events
Trigger workflows with events in Retool.
Manage workflows
Explore run history and log, control access, configure error handling to prevent failures, and debug each step with built-in tools.
![](/img/docs/workflows/debug.png)
Best practices
Build performant workflows.
Troubleshooting
Debug and resolve issues.
Import and export
Import and export workflows.