New to Kestra?
Use blueprints to kickstart your first workflows.
Schedule a Prefect deployment every seven days from Kestra, wait for it to complete, then send an email notification through Resend with run details.
Schedule and supervise a Prefect Cloud deployment from Kestra, then notify your team the moment it finishes. This blueprint triggers a Prefect flow run on a weekly cadence, blocks until the run completes, and sends a confirmation email through Resend. It solves the common gap where a Prefect deployment runs in isolation and stakeholders have no clear, timely signal that the weekly job succeeded.
io.kestra.plugin.core.trigger.Schedule trigger named weekly fires on the cron expression 0 0 */7 * *, starting an execution every seventh day.trigger_prefect_run task (io.kestra.plugin.prefect.CreateFlowRun) calls Prefect Cloud at https://api.prefect.cloud/api and launches the configured deploymentId. With wait: true and pollFrequency: PT10S, Kestra polls every ten seconds and holds the execution open until the Prefect flow run finishes.send_email task (io.kestra.plugin.resend.email.Send) sends an HTML email through Resend to the configured recipient, embedding the deployment id, the originating {{ flow.namespace }}.{{ flow.id }}, and the {{ execution.id }}.Prefect's own scheduler can launch a deployment, but it cannot natively wait on that run and then fan out to an unrelated notification system like Resend in one declarative pipeline. Kestra adds event and schedule triggers, built-in retries, execution lineage across both Prefect and Resend, and a single YAML definition that lives in source control. You get one place to schedule, observe, and react to the run rather than stitching together Prefect automations and a separate email script.
PREFECT_ACCOUNT_IDPREFECT_WORKSPACE_IDPREFECT_DEPLOYMENT_IDPREFECT_API_KEYRESEND_API_KEYfrom and to addresses in the send_email task to your verified Resend domain and team recipients.weekly schedule enabled to run it automatically every seven days.Schedule cron for a different cadence, or add an io.kestra.plugin.core.trigger.Flow trigger to chain this after another pipeline.