# Testing a workflow

Use representative test data, run each branch including failures and retries, inspect step-level logs, and verify no real external side effect occurs unexpectedly.

![Testing a workflow in Foxora v5.0.3](/docs/images/v5.0.3/automation/workflow-editor.webp)

## Where this lives

Open **foxora → Workflows**.

A workflow is a reusable automation made of a trigger and ordered steps such as agent work, tool actions, conditions, delays, approvals, and delivery.

> **Safety:** Assume triggers and external data are untrusted. Validate inputs, limit credentials, prevent duplicate side effects, and require approval before irreversible operations.

## Steps

1. Open **foxora → Workflows**.
2. Use representative test data.
3. Run each branch including failures and retries.
4. Inspect step-level logs.
5. Verify no real external side effect occurs unexpectedly.
6. **Confirm the result.** Run the workflow with test data, inspect every step input and output, verify the final destination, and publish only the tested version.

## Choose the right path

- Use a task for exploratory work.
- Use a scheduled task for one prompt on a clock.
- Use a workflow for repeatable multi-step logic or event-driven automation.


## Confirm it worked

- Run the workflow with test data, inspect every step input and output, verify the final destination, and publish only the tested version.
- The screen, command, file, run, or destination named in this guide reflects the expected state.
