Workflow
Run your integrations, processes and reports in a set order and on a schedule - create workflows, choose the dates they process, and check every run.
Updated
A workflow runs your integrations, processes and reports for you: in the order you set, for the dates you choose, and on a schedule. Use it when data has to be collected or rebuilt regularly, or when one step needs the result of another - for example, collect yesterday's ad data first and then refresh the report built on it.
Find it under Workflow in the main menu. The page has two tabs:
- User workflows - the workflows you and your team created.
- System workflows - the workflows WitCloud created when you connected an integration (see System workflows).

Create a workflow
Click Create workflow. Creating a workflow takes two steps: Workflow Settings (what runs) and Schedule Settings (when it runs).
Add tasks
- Enter the Name of the workflow.
- Under the name, click Add new task to add a task, or group task to add a group.
- In each task, pick what it runs in Select resource: one of your integrations, processes or reports, and - when they are set up in the project - All in One (AIO) or KPI Tree.

The tasks run one after another, from top to bottom. Drag a task to change the order. Each task runs once for every date in its date range.
A Task group shares one date range and one set of settings between several tasks. Add tasks to a group with Add task. Use a group when several integrations should process the same dates, for example yesterday's data from all your ad platforms. The switch next to Task group sets how its tasks run, for each date:
- Sequential - one after another (the default).
- Parallel - at the same time, up to 10 tasks in the group.
Next to each task and group:
- the calendar icon opens the Date settings - the date shown next to it (Today by default) is the current range;
- the wrench icon opens the Task settings (for a group, the Group settings);
- the trash icon removes it.
Settings that differ from the defaults show as small badges next to the date - for example the number of retries, the wait after each day and the stop-on-failure sign. Hover over a badge to read it, click it to open the settings.
Every task needs a resource, and every group needs at least one task. Next shows what is missing: At least one task is required, Each task must have a resource selected, Each group must contain at least one task or A parallel group can run at most 10 tasks.
Choose the dates
In Date settings, choose the dates a task or group processes in Pass date:
| Option | Dates processed |
|---|---|
| Today | Only the day of the run. |
| Last X days | Today and the X days before it, counted from the day of the run. Up to 365 days. |
| Dynamic date range | From Start date to End date, each given in days back from the day of the run - for example from 14 to 1 days ago. |
| Static date range | Fixed dates from Start date to End date. |
| Specified date range | The dates you paste, as yyyy-mm-dd separated by commas. |
"Today" and "the day of the run" are counted in the workflow's Timezone (see Schedule the workflow).
For every option except Today, Oldest first runs the dates from the oldest to the newest. When it is off, the newest date runs first.
Example dates You'll Process shows the dates the current choice gives today. Click Save.

Task settings
In Task settings:
- Days processed at once - how many days of the date range are processed at the same time, from 1 to 5. A higher number finishes a long date range sooner. With Today there is a single day, so it changes nothing.
- Retry failed runs - turn it on to retry a day that failed, after a growing delay that starts at one minute. Retry attempts sets how many times, up to 4.
- Wait after each day - a pause once a day of the range is processed; in a group, once all its tasks are done for that day. Without a date range, the pause comes once, after the step. Set the Wait time and its Unit (Seconds, Minutes or Hours), up to 24 hours.
- Stop the workflow if this step fails - the steps after it do not run, for example All in One after its integrations.

A group's wrench icon opens the Group settings: the same settings, applied to every task in the group, and How the group's tasks run - Sequential or Parallel, the same choice as the switch on the group.

Click Save. The badges next to the task or group show what you changed.

Schedule the workflow
Click Next to go to Schedule settings.
- Choose the Timezone the schedule follows. The dates the tasks process are counted in it too.
- Turn on Schedule workflow to run it automatically. Leave it off to run the workflow only when you start it yourself.
- Set how often it runs: Minutes, Hourly, Daily, Weekly or Monthly, every how many of them, and the time it Starts at.
- Click Create.

Creating and changing workflows needs an active billing account. Without it, Create and Save are not available: "Creating workflows is only available for accounts with active billing".
Manage workflows
The list shows each workflow's State (Active or Paused), its schedule in Schedulers (Not scheduled when it has none) and when it was created and last updated. Search by name, or click Filters to filter by status (Active, Paused) or by Schedulers (With schedulers, Without schedulers). Reset clears the filters. Click a column header to sort by name, state or date.
The icons in Actions:
- Update (wrench) - open the workflow to change it. At the top you also find Run Again, Copy (creates a copy and opens it) and Save.
- Delete (trash) - delete the workflow, after you confirm it.
- Run - start the workflow now, outside its schedule.
- Pause / Resume - stop the schedule for a while and start it again. Shown only for workflows with a schedule.
A workflow can also be started from your own scripts with an API key.
Check the runs
Click the arrow at the end of a row to see the workflow's runs: Start Time, End Time, Duration and State - for example Succeeded or Failed. While the list is open, it refreshes every 10 seconds. A run in progress has a Cancel icon that stops it. Load older runs with the arrow below the list.

Click the eye icon (Report) to open the Workflow Execution Report of that run. At the top it counts the jobs that Succeeded, Succeeded (Retry) (shown when any job succeeded only after a retry), Failed and are In Progress. The table lists every job
- one per date and resource - with its status. When a job failed, Show in Errors opens the error messages. The report refreshes itself while jobs are running; the refresh icon next to Updated reloads it at once.

System workflows
When you connect an integration, WitCloud creates its workflows for you. You find them on the System workflows tab, named after the integration and marked System:
- Historical - loads the historical data once, for the range you chose when you set up the integration.
- Ongoing - runs on a schedule and keeps the latest data up to date.
- Alignment - runs on a schedule and loads the last few days again, to fill gaps when the platform updates its data later.

WitCloud keeps them in step with their integration, so you cannot edit, copy or delete them. You can check their runs and run, pause and resume them from the list, like your own workflows. View (the eye icon) opens one read-only; the System workflow note at the top says which integration it belongs to, and Open integration takes you to the integration's settings.

Who can do what
- Owners, Admins and Editors can create, change, copy, run, pause, cancel and delete workflows, and run, pause and resume system workflows.
- Viewers can see the workflows, their runs and the run reports.