We use cookies

We use cookies and similar technologies for analytics and marketing. You can allow these cookies or continue with only essential cookies.

By clicking "Accept", you agree to our use of cookies.
Learn more.

CLI Reference

Triggering Workflows

You can use the hatchet trigger command to trigger workflows locally for testing and development purposes. This command allows you to set up triggers in your hatchet.yaml file that define how to run specific workflows.

Example

In your hatchet.yaml file, you can define a trigger for a simple workflow like this:

triggers:
  - name: "simple"
    command: "poetry run python src/run.py"
    description: "Trigger a simple workflow"

Then, you can select this trigger when running the hatchet trigger command:

hatchet trigger simple

Or just hatchet trigger, which will prompt you to select a trigger interactively.

Last updated on August 13, 2026

On this page