triggers

Configure webhook, data stream, and CDC triggers for Windmill scripts and workflows.

17.5k|1.1k|Updated May 5, 2022
One-click install
npx skills add https://github.com/windmill-labs/windmill --skill triggers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triggers
Source: https://github.com/windmill-labs/windmill/tree/main/system_prompts/auto-generated/skills/triggers
Command: npx skills add https://github.com/windmill-labs/windmill --skill triggers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Triggers enable external systems to start your Windmill scripts and flows automatically, turning event data into actions without manual intervention.

Core Features & Use Cases

  • Event-driven invocation: Configure triggers that respond to webhooks, data streams, or CDC events to start scripts and workflows.
  • Pattern-based configuration: Use the naming scheme {path}.{trigger_type}_trigger.yaml to organize trigger definitions.
  • Operational workflows: Use the Windmill CLI to push and pull trigger configurations across environments.

Quick Start

Create a trigger file following the pattern, e.g. u/user/webhook.http_trigger.yaml, and push it with wmill sync push. Then pull updated definitions with wmill sync pull.

Frequently Asked Questions about triggers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate script execution when external events occur?

Triggers convert external events into script executions automatically. Create a trigger file using the naming pattern {path}.{trigger_type}_trigger.yaml—for example, u/user/webhook.http_trigger.yaml—then push it with wmill sync push to enable event-driven invocation.

What trigger types can I use for webhooks and data streams?

Triggers support webhooks, data streams, and CDC-based integrations as event sources. Use the {trigger_type}_trigger.yaml naming convention to define the trigger type in your configuration file, then manage it with Windmill CLI commands.

How do I set up and manage triggers across environments?

Use wmill sync push to deploy trigger configurations and wmill sync pull to retrieve updated definitions across environments. Trigger files require YAML frontmatter in SKILL.md for discovery and predictable file naming for reliable synchronization.

Can triggers start both scripts and workflows automatically?

Yes, triggers can invoke both individual scripts and complete workflows. When an external event matches your trigger configuration, Windmill immediately processes the incoming signal and executes the associated script or workflow without manual intervention.

What's the difference between webhooks and CDC triggers?

Webhook triggers respond to HTTP events from external systems, while CDC triggers capture data changes from source systems. Both integrate into Windmill as event sources using the same {trigger_type}_trigger.yaml configuration pattern to automate script execution.