Use Cases
Schedule Newsletter and Email Dispatch
Trigger scheduled email newsletters and marketing campaigns via API. Use TrigRun to call your email provider (SendGrid, Postmark, Resend) on a cron schedule.
Trigger your newsletter or email campaign at a specific time every week. TrigRun calls your dispatch endpoint — your backend sends the emails through SendGrid, Postmark, Resend, or your own SMTP.
The problem
You want a weekly newsletter that goes out every Tuesday at 9 AM for your audience. Your email platform has a send API but no built-in scheduling (or its scheduling is limited). You need something to trigger the send at the right time, reliably.
How it works with TrigRun
Step-by-step setup
1. Store your email API key as a secret
2. Create the weekly job
3. Add email notification on success
Get confirmation every time the newsletter actually sends:
Expected results
Successful dispatch:
| Field | Example value |
|---|---|
| Status | 200 OK |
| Duration | 8,420 ms |
| Response body | {"sent": 2340, "bounced": 3, "template": "weekly-digest", "subject": "This Week in Tech - March 16"} |
| Next run | 2026-03-23T09:00:00 EDT |
Failed dispatch (email API down):
| Field | Example value |
|---|---|
| Status | 503 Service Unavailable |
| Attempts | 2 of 2 |
| Result | failed — Slack alert sent |
Common scheduling patterns
| Pattern | Expression | UTC tip |
|---|---|---|
| Weekly Tuesday 9 AM | 0 9 * * 2 | Treat this as 9 AM UTC, or convert your audience's local time to UTC before saving |
| Biweekly Monday | 0 9 * * 1 (+ skip logic in your app) | Handle skip logic server-side |
| Daily digest | 0 18 * * 1-5 | Weekday evenings |
| Monthly roundup | 0 10 1 * * | First of month |