Unit 2/Lesson 3 of 3

Blueprints, Triggers, and the Developer Experience

How Kestra's trigger system works (schedule, webhook, flow-completion, polling), what Blueprints are and why they matter for adoption, and how the full developer experience — from the embedded editor to Git Sync — fits together.

SkillsTriggersDeveloper experienceBlueprints
+20 XP
✏️ On desktop — select text to ask Nobi, save notes, or add thoughts

The trigger system

Triggers define how a flow starts. Kestra supports four trigger categories:

Schedule triggers: cron-based scheduling. Run at specific times, with timezone support, backfill for missed executions, and configurable catchup behavior. This is the simplest and most common trigger type for batch workflows.

Webhook triggers: HTTP-based event triggers. An external system calls a Kestra-generated webhook URL → flow starts immediately. Used for: CI/CD integration (GitHub → Kestra), external event handling, and connecting to systems that push events rather than being polled.

Flow triggers (flow-completion events): a flow starts when another flow completes — successfully, with a failure, or when a specific output condition is met. This enables event-driven pipeline compositions without central orchestration: Flow A completes, Flow B automatically starts. Multiple flows can listen to the same completion event.

Polling triggers: periodically check an external source for new data or events. A Kafka trigger polls a topic for new messages; an S3 trigger watches a bucket for new files; a database trigger queries for new rows. When the condition is met, the flow executes. This is how Kestra handles event-driven patterns for systems that don't support webhooks.

For the PM: the trigger system is what makes Kestra "event-driven" in its product positioning. Cron is the basic case. Webhooks, flow triggers, and polling triggers are what enable reactive, real-time workflows — including the "run the agent when new data arrives" pattern that's central to AI workflow use cases.

囲
Senteせんて

Having the initiative — your move forces a response. A webhook trigger gives the workflow sente: an external event initiates the sequence, and Kestra responds rather than waiting for a scheduled moment.

Blueprints: reducing time-to-value

What Blueprints are:
Pre-built, ready-to-use flow templates covering common use cases. A Blueprint is a complete YAML flow that demonstrates a specific pattern: "sync data from Postgres to Snowflake," "run a dbt transformation after an S3 file arrives," "call an LLM to classify support tickets."

Why Blueprints matter for adoption:
New users face a blank canvas problem. Even with 1300+ plugins and a clean YAML model, knowing how to compose them into a working flow for a specific use case requires expertise. Blueprints solve this: a user searches "LLM" in the Blueprint catalog, finds a template that does what they need, clicks to open it in the editor, customizes the namespace and credentials, and they're running in 10 minutes instead of 2 hours.

The AI Copilot and Blueprints:
They serve related but distinct needs:
- Blueprint: "I know what use case I want — show me a complete, working example"
- AI Copilot: "I'll describe what I want in natural language — generate the YAML for me"

Blueprints are curated and quality-controlled (they work, they have documentation, they handle errors). AI Copilot output is generated on-demand and requires review. Both reduce time-to-value; they're complementary not competitive.

The PM question for Blueprints: which AI workflow patterns are common enough and generalizable enough to become official Blueprints? The "LLM-powered document classification" pattern is a Blueprint candidate. A highly customer-specific agent loop probably isn't. This curatorial decision is a product call.

The developer experience ecosystem

The embedded editor:
Kestra's UI includes a flow editor with syntax highlighting, auto-complete for task types and properties, inline documentation, and real-time validation. This is important because it means YAML editing is guided — users get error feedback before they run the flow, not after.

Git Sync:
New plugin in 1.0. Bidirectional sync between Kestra and a Git repository: push changes from the UI → they're committed to Git; pull from Git → they're deployed to Kestra. This is how teams implement GitOps workflows: flows are the source of truth in Git, Kestra is the runtime. CI/CD pipelines can validate and deploy flow changes automatically.

The Playground:
A new 1.0 feature: an isolated execution environment for iteratively developing and testing flows without affecting production namespaces. Useful for developing new flows, testing edge cases, and demonstrating features.

MCP Resources:
Kestra exposes its documentation and live instance state via the Model Context Protocol (MCP). This means AI coding assistants like Claude Code and Cursor can query Kestra's live documentation at runtime rather than relying on potentially stale training data. When a developer asks Claude Code "how do I configure the S3 trigger?", the MCP resource fetches the current documentation from the running Kestra instance.

Agent Skills:
Structured knowledge files (in the style of CLAUDE.md) that teach external AI coding agents how to generate valid Kestra flows and operate kestractl. This extends Kestra expertise into the developer's existing AI coding environment.

Ask Nobiexplain

Select any text in the lesson to ask a question. Press Esc to close.

1 / 2

A machine learning team wants to automatically retrain their model when a new dataset file arrives in an S3 bucket. Which trigger type should they use?