Understanding Scheduled Jobs and Automated Reports
This guide covers understanding scheduled jobs and automated reports.
On this page
Jump to any section using the links below
TABLE OF CONTENTS
What are Scheduled Jobs?
- Receive daily or weekly dashboard reports via email
- Get notified when metrics exceed or fall below specific thresholds
- Send automated SMS alerts for critical values
- Monitor campaign performance at scheduled intervals
- Track resource utilization and booking statistics
Key Concepts
Jobs vs. Templates
Dashboard Values and Metrics
- Lead counts by status or campaign
- Booking statistics and resource utilization
- Custom field aggregations
- Time-based metrics (daily, weekly, monthly trends)
Accessing Scheduled Jobs
- Jobs - Create and manage scheduled tasks
- Email templates for jobs - Design email reports
- SMS Templates for jobs - Create SMS alerts
- Job history - View execution logs
Creating a Scheduled Job
Step 1: Create a New Job
- Give your job a descriptive name
- Example: "Daily lead summary", "Weekly booking report", "Threshold alert - High priority leads"
- Toggle to activate/deactivate the job
- Disabled jobs will not execute even if their schedule matches
- Select which day(s) of the week the job should run
- Options: Monday through Sunday
- You can select multiple days or all days
- Use "Select All" / "Deselect All" buttons for convenience
- Choose the hour(s) when the job should execute
- Available times: 05:00 through 23:00 (hourly intervals)
- You can select multiple hours for the same day
- Use "Select All" / "Deselect All" buttons
Step 2: Configure Execution Conditions (Optional)
- None - Job always executes at scheduled time (no conditions)
- One or more filters must match - Job executes if ANY filter condition is true (OR logic)
- All filters must match - Job executes only if ALL filter conditions are true (AND logic)
Step 3: Add Scheduled Job Filters (Optional)
- "If leads in 'New' status > 50"
- "If bookings today < 10"
- "If response time > 2 hours"
- "If conversion rate < 20%"
- Greater than / less than comparisons
- Equals / not equals conditions
- Value ranges
- Presence / absence of data
Step 4: Add Scheduled Job Actions
- Send email - Send an email template
- Send SMS - Send an SMS template
- Execute webhook - Trigger an external API call
- Export data - Generate and send data exports
- Update fields - Modify lead or resource data
Creating Email Templates for Jobs
- Friendly name to identify this template
- Example: "Daily dashboard summary", "Weekly performance report"
- Sender name displayed in recipient's inbox
- Example: "Hubhus.dk", "Your Company Name"
- Sender email address
- Example: "kontakt@hubhus.dk", "noreply@yourcompany.com"
- Select Hubhus users to receive this email
- Dropdown allows selecting multiple users
- Optionally specify additional email addresses
- Use for external recipients not in Hubhus
- Carbon copy recipients
- Can use "Auto" for system-determined recipients
- Blind carbon copy recipients
- Can use "Auto" for system-determined recipients
- Email subject line
- Can contain dashboard placeholders
- Pre-header text shown in email clients
- Can use "Auto" for automatic generation
- Email content editor
- Format: HTML (dropdown allows selecting plain text)
- Full HTML editor with styling options
- Select a pre-designed layout template
- Or choose "No parent layout" for custom design
- Add custom CSS styling for the email
- Collapsible section for advanced users
Dashboard Placeholders in Emails
- Metric counts: {{dashboard.lead_count}}
- Status breakdowns: {{dashboard.leads_by_status}}
- Time-based data: {{dashboard.bookings_today}}
- Custom calculations: {{dashboard.conversion_rate}}
- Tables: {{dashboard.top_campaigns_table}}
Creating SMS Templates for Jobs
- Friendly name to identify this template
- Example: "Critical alert", "Daily summary SMS"
- Sender identifier
- Usually your company name or "Hubhus"
- Recipient phone number field
- Used if sending to specific number
- Select Hubhus users to receive this SMS
- Dropdown allows selecting multiple users
- SMS text content
- Character limit applies (typically 160 characters per SMS segment)
- Can include dashboard values
Dashboard Values in SMS
Viewing Job History
| Column | Description |
|---|---|
| Job name | Name of the scheduled job that executed |
| Action name | Which action within the job was performed |
| Action description | Details about what the action did |
| Task day | Date when the job executed |
| Task hour | Hour when the job executed |
| Task created | Timestamp of when the task was queued |
| Task updated | Last update timestamp |
| Task status | Execution status (Success, Failed, Pending, etc.) |
| Task message | Any error messages or execution details |
- Search - Find specific jobs or dates
- Show X entries - Adjust how many rows display
- Sorting - Click column headers to sort
- Pagination - Navigate through multiple pages of history
- Verify a job executed at the expected time
- Troubleshoot why an email wasn't sent
- Audit scheduled task activity
- Monitor job performance and reliability
Practical Examples
Example 1: Daily Dashboard Email at 8 AM
- Create email template:
- Name: "Daily Dashboard Summary"
- Subject: "Daily Report - {{today_date}}"
- Body: Include tables and charts with dashboard values
- Create scheduled job:
- Name: "Daily Morning Report"
- Enabled: ✓
- Execute days: Monday, Tuesday, Wednesday, Thursday, Friday
- Execute hours: 08:00
- Execute conditions: None
- Actions: Send email template "Daily Dashboard Summary" to selected managers
Example 2: Threshold Alert for High Priority Leads
- Create SMS template:
- Name: "High Priority Alert"
- Message: "ALERT: {{dashboard.high_priority_count}} high priority leads need attention!"
- Create scheduled job:
- Name: "High Priority Threshold Monitor"
- Enabled: ✓
- Execute days: All days
- Execute hours: 09:00, 12:00, 15:00 (check 3x daily)
- Execute conditions: One or more filters must match
- Filters: "High priority lead count > 10"
- Actions: Send SMS template "High Priority Alert" to sales team
Example 3: Weekly Performance Report
- Create email template with:
- Last week's booking statistics table
- Conversion rate metrics
- Top performing campaigns
- Resource utilization charts
- Create scheduled job:
- Name: "Weekly Performance Report"
- Enabled: ✓
- Execute days: Monday
- Execute hours: 07:00
- Execute conditions: None
- Actions: Send email to all department heads
Quick Setup Guide
- Create email template (Scheduled jobs → Email templates → + New)
- Design your report with dashboard values
- Test with preview
- Create scheduled job (Scheduled jobs → Jobs → + New)
- Name it descriptively
- Set schedule (days + hours)
- Enable the job
- Edit job to add action (Click Edit on job)
- Add action: "Send email"
- Select your email template
- Choose recipients
- Save
- Verify in Job History (Next day)
- Check that job executed successfully
- Review task status and messages
Best Practices
Troubleshooting
- Is the job Enabled? (checkbox must be checked)
- Did you add at least one action to the job?
- If using filters, did the filter conditions match? Check Job History for details
- Is the schedule correct? (Remember: jobs execute at the START of the selected hour)
- Invalid recipient email addresses
- Email blocked by spam filters
- "From email" not properly configured
- Template contained errors that prevented sending
- Set a test execution time 5-10 minutes in the future
- Monitor Job History to confirm execution
- Then adjust to production schedule
- None - Job always runs at scheduled time
- One or more filters must match - Job runs if ANY filter is true (OR)
- All filters must match - Job runs only if ALL filters are true (AND)
Scheduled Jobs vs. Automation Rules
| Feature | Scheduled Jobs | Automation Rules |
|---|---|---|
| Trigger | Time-based (days + hours) | Event-based (status change, form submission, etc.) |
| Scope | Account-level | Campaign-level |
| Use case | Reports, monitoring, periodic tasks | Lead workflow automation |
| Recipients | Hubhus users + external emails | Lead-specific recipients |
| Content | Dashboard metrics and tables | Lead-specific data and placeholders |
| Execution | Scheduled intervals | Immediate upon trigger event |
- Daily/weekly reports and summaries
- Threshold monitoring and alerts
- Periodic data exports
- Management dashboards
- Lead follow-up emails
- Status change notifications
- Booking confirmations
- Customer-facing communications
Related Features
- How do I create automation rules? - Event-driven automation
- Building workflows in Hubhus - Complex automation sequences
- What are action listeners and how do they work? - Custom triggers
- How do I set up automated email flows? - Email automation basics
Summary
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article