# Triggers, steps, and actions

Choose the initiating event, inspect its payload, connect each step’s required input to a validated value, and make the final side effect explicit.

![Triggers, steps, and actions 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. Choose the initiating event.
3. Inspect its payload.
4. Connect each step’s required input to a validated value, and make the final side effect explicit.
5. **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.
