Automate data with workflows
A workflow is a repeatable data job built on a canvas: read from a source, clean and reshape the data, then store or send the result, by hand or on a schedule.
What workflows do
Typical workflows:
- Every night, join orders with targets, aggregate by region, and store the result as a table that dashboards read.
- Each morning, load an uploaded file, remove duplicates and missing values, and email a summary.
- Run a Python step that scores customers, then post the top ten to a Slack channel.
Create a workflow
Start it
Open Workflows and choose Create Workflow. Enter a name, and choose Manual Trigger to run it on demand or Automated Schedule to run it regularly. You can change this later.
Add steps
Drag steps from the palette onto the canvas, or choose Use ETL Template for a ready-made outline to edit. Steps sit in three layers: inputs, processing and outputs.
Connect them
Drag from one step's handle to the next to link them. Auto Connect links every input through the processing steps to every output; Auto Layout tidies the canvas.
Configure each step
Select a step to set it up in Properties: which database and table to read, the join condition, the columns to aggregate. Choose Update Node Settings, then Save.
Available steps
| Layer | Step | What it does |
|---|---|---|
| Input | Database | Query a connected database. |
| Input | Dataset | Read an existing dataset, with its access rules. |
| Input | Upload | Read a CSV, Excel, Parquet or JSON file. |
| Input | API | Call a REST or GraphQL endpoint, with bearer authentication. |
| Processing | Visual Transform | Select, group, filter and aggregate without code. |
| Processing | Filter | Keep rows that match conditions, date windows or null rules. |
| Processing | Join | Join, union or look up against another input. |
| Processing | Aggregate | Group by columns and sum, average or count. |
| Processing | Deduplicate | Remove duplicate rows by key columns. |
| Processing | Field Mapper | Select, reorder or rename columns. |
| Processing | Clean NA | Fill or drop missing values. |
| Processing | Sort Rows | Order rows ascending or descending. |
| Processing | Python Script | Transform the data with your own pandas function. |
| Output | Store to Database | Write a table, append to one, or update rows by key. |
| Output | Send a report, an attachment or an alert. | |
| Output | Slack | Post to a channel, with details of the run. |
| Output | Send an approved message template. |
Test and run
- Validate Workflow
- Checks that there's at least one input and one output and that every path is connected.
- Dry run
- Runs the reading and processing steps and shows what each produced, but doesn't call APIs, write to databases or send messages.
- Run
- Runs it for real now.
Schedule and publish
Set the schedule
Choose the Schedule button in the toolbar, or Execution Schedule in the properties panel, and pick a preset or write a cron pattern.
Publish
A new workflow is a Draft, and drafts don't run on their schedule. Choose Publish when it's ready.
When a run fails
Under Failure & Retry Policy, choose how many times a failed run is retried (three by default) and how long to wait between tries. Each step's Error Handling decides whether a failure stops the workflow. Every run, with each step's status, is listed in the workflow's run history.