Execution types
Run an automation through its trigger, by hand, or as a simulation that changes no data in Tape. The execution type of a run decides if filters apply and if changes are real.
| Execution type | Started by | Filters | Changes data |
|---|---|---|---|
| Regular (triggered) | The trigger of the automation | Yes | Yes |
| Manual run | A person in the automation editor | Yes | Yes |
| Simulation | A person in the automation editor | No | No data in Tape, but requests to other services are real |
To start a manual run or a simulation from code, use Run & simulate in the Automation API.
Regular / triggered
The trigger of the automation starts the run. Example: an automation uses the trigger Record created. Someone creates a record in the web app, the mobile app or through the API, and the automation starts.
Tape checks the filters first. A run appears only if the record matches the filters of the automation.
Manual run
Start a run yourself in the automation editor:
- Open the menu in the automation editor and select Manual run.
- Under Run on, choose the records: selected records, a view, a number of the most recent records, or all records of the database app. With the trigger Webhook received, choose Last payload or Custom payload instead.
- Select Start run.

Filters apply. Only records that match the filters create a run.
Simulation run
Use a simulation to test an automation without changing data:
- Open the menu in the automation editor and select Simulated run.
- Choose the records under Simulate on.
- Select Start simulation.

Filters don't apply in a simulation. Actions that change data in Tape only pretend to run: record updates, record creation, comments and other changes return test data. Requests to other services run for real: Send HTTP request, Send API request and http calls in scripts.
Your scripts can check current_workflow_is_simulation. Use it to skip calls to other services, so a simulation can't change data outside Tape.
if (!current_workflow_is_simulation) {
await http.post('https://hooks.acme.com/deals', {
data: { automation_id: current_workflow_id },
headers: { 'Content-Type': 'application/json' },
});
}
Tape sends data as JSON, but doesn't set the Content-Type header for you. Add it yourself when the receiving service expects application/json.
The tape client in Execute a script works the same way. In a simulation, calls that change data, like creating or updating a record, return test data.
Next steps
- Automations: execution variables and where scripts run.
- Filter values: check that a filter matches only the records you expect.
- Errors: read failed runs and throw your own errors.
- Limits and throttling: limits for each run.
- In the Help Center: Test automations
- In the Help Center: Run an automation on existing records