Skip to main content
Workflows provide durable background execution for async processing, scheduled jobs, multi-step pipelines, and data aggregation. Apps define workflows in src/server/workflows/ and schedule them via schedules.json.

Daily task summary

We want the task tracker to have a daily workflow that aggregates task metrics, generates a human-readable summary with the Anthropic LLM service, and posts it to the team Slack channel. Define the workflow in src/server/workflows/dailySummary.ts:
Export it from src/server/workflows/index.ts:

Scheduling

Configure the workflow to run daily in schedules.json:
Schedules are registered during the build pipeline and validated against the workflow definitions. For the full workflow DSL, step types, pagination, forEach, error handling, and worker configuration, see the Workflows Framework.