Summary
Allow users to schedule automatic report generation and delivery via email, enabling stakeholders to receive regular updates without logging into the application.
Current State
No scheduling or automated delivery. Reports must be viewed in real-time within the application.
Proposed Features
Schedule Configuration
defineSchedule({
name: 'Weekly Sales Report',
dashboard: 'sales-dashboard',
filters: { region: 'EMEA' },
schedule: '0 9 * * MON', // Every Monday at 9am
timezone: 'Europe/London',
format: 'pdf',
recipients: ['sales-team@company.com']
})
Scheduling Options:
- Daily, weekly, monthly schedules
- Cron expression support for complex schedules
- Timezone-aware delivery
Format Options
- PDF: Multi-page dashboard export
- PNG: Dashboard as single image
- CSV/Excel: Data tables as attachments
- Inline HTML: Email body with embedded charts
Email Configuration
- Recipients: Individual emails and distribution lists
- Subject Line: Dynamic with date/filter values
- Custom Message: Configurable body text
- Reply-to: Configure reply address
Delivery Management
- Delivery History: Track sent/failed deliveries
- Retry Logic: Automatic retry on failure
- Pause/Resume: Temporarily disable schedules
- On-Demand: Trigger immediate send
Competitor Reference
- Google Looker Studio: "Regularly send a PDF of your report to stakeholders by setting up a delivery schedule"
- Power BI + Power Automate: "Export Power BI report as PDF and attach to weekly email"
- Tableau MailScheduler: "Automatically send published dashboards as PDF to selected users"
Technical Approach
- Create
ScheduleDefinition schema with cron expression
- Implement server-side rendering for PDF generation (Puppeteer)
- Add email delivery service integration (SMTP, SendGrid, SES)
- Build schedule management UI component
- Create scheduler service (node-cron or external job queue)
Server Components
SchedulerService: Manages cron jobs
RenderService: Generates PDF/PNG from dashboards
DeliveryService: Sends emails with attachments
Labels
enhancement feature-request server automation
Summary
Allow users to schedule automatic report generation and delivery via email, enabling stakeholders to receive regular updates without logging into the application.
Current State
No scheduling or automated delivery. Reports must be viewed in real-time within the application.
Proposed Features
Schedule Configuration
Scheduling Options:
Format Options
Email Configuration
Delivery Management
Competitor Reference
Technical Approach
ScheduleDefinitionschema with cron expressionServer Components
SchedulerService: Manages cron jobsRenderService: Generates PDF/PNG from dashboardsDeliveryService: Sends emails with attachmentsLabels
enhancementfeature-requestserverautomation