Skip to content
The Whenever SDK is open source.Explore the SDK on GitHub
On this page

Workflow examples

Complete workflows, adapted from ones the Whenever team runs, each have their own page below. Copy an example, swap the config names for your own and connect the products it calls. Review it against your workspace bindings before publishing.

Sweep an inbox every hour

Read the hourly inbox sweep: paginate Gmail results and mark messages read in batches.

A daily analytics digest

Read the analytics digest: gather complete reporting periods and send provider-confirmed results.

Announce new contacts in Slack

Read the inbound contact webhook: validate untrusted input before posting a notification.

Log Discord app installs

Read the signed Discord webhook: verify the sender and branch on its event type.

Reply on WhatsApp

Read the WhatsApp reply workflow: handle message deliveries and return Meta's acceptance receipt.

One workflow, a webhook and five schedules

Read the multiple-trigger workflow: record issue events and report their totals on weekdays.

A Telegram assistant with tools

Read the AI assistant workflow: bound model turns, validate tool arguments and restrict access to the owner's private chat.

A weekday brief from a changelog feed

Read the scheduled research brief workflow: fetch a bounded set of entries, call the model once, and post what Slack confirmed.

What every example assumes

Each ctx.integrations.<product>.<operation> call other than http, mcp, ai and postgres exists only after you bind that operation, and runs only once the owner connects the product. Every ctx.config.NAME and ctx.secrets.NAME the source spells out becomes a value the owner fills in Setup before the workflow can publish. A coding agent connected to the Whenever MCP server does both: it binds each operation it writes, and hands the owner the one Setup link the rest needs.

Review workflow integrations, deployment setup and runtime limits and responsibilities before using an example.

Ready to deploy?