Scheduled Reports
EMA can automatically generate reports on a recurring schedule and deliver them to your chat.
Creating a schedule
Through EMA chat
Tell EMA what you want:
- “Report every Monday at 9am about all agent activity”
- “Every Friday, summarize the Marketing project progress”
- “Daily at 6pm, tell me what agents did today”
EMA translates your request into a cron expression and creates the schedule.
Through Settings
Go to Settings → EMA Assistant to manage schedules with a form:
- Click “New Schedule”
- Enter a description
- Pick a cron preset or write a custom expression
- Set the timezone
- Write the report prompt — what EMA should focus on
- Click “Create Schedule”
How it works
- Vercel cron checks for due schedules every 5 minutes
- When a schedule is due, EMA generates a report using the prompt template
- The report includes context from recent agent activity
- The report is saved as a message in your EMA chat
- Next run time is computed from the cron expression
Managing schedules
From Settings → EMA Assistant:
- Toggle active/inactive — pause a schedule without deleting it
- Delete — permanently remove a schedule
- View next/last run — see when the next report will generate
You can also ask EMA:
- “Show me my schedules” → calls
list_ema_schedules - “Cancel the Monday report” → calls
cancel_ema_schedule
Cron presets
| Preset | Cron Expression |
|---|---|
| Every day at 9am | 0 9 * * * |
| Every Monday at 9am | 0 9 * * 1 |
| Every Friday at 5pm | 0 17 * * 5 |
| First of every month | 0 9 1 * * |
Last updated on