

What Can Automations Do?
Personal Newsletters
Personal Newsletters
Daily Briefings
Daily Briefings
Start your day informed:Example: Morning briefing
Research Monitoring
Research Monitoring
Track topics automatically:Example: Competition analysis
Personal Tracking
Personal Tracking
Monitor your own data:Example: Weekly review
Learning & Development
Learning & Development
Continuous education:Example: Daily learning
Health & Wellness
Health & Wellness
Stay on track with health goals:Example: Workout planner
Creating an Automation
Access Automations Page
Navigate to app.khoj.dev/automations
Set Schedule
Choose when and how often the automation runs:
- Quick Presets
- Custom Cron
- Daily at [time]
- Weekly on [day] at [time]
- Monthly on [date] at [time]
All times use your local timezone (detected automatically)
Enable Tools (Optional)
Toggle capabilities for this automation:
- Online Search: Include real-time web research
- Document Search: Access your knowledge base
- Image Generation: Include images in emails
- Code Execution: Run calculations or analysis
Managing Automations
- View All Automations
- Edit Automation
- Pause/Resume
- Delete Automation
The automations page shows:
- Subject & Query: What the automation does
- Schedule: When it runs
- Next Run: Countdown to next execution
- Status: Active, paused, or failed
Email Delivery
What to Expect
Email Formatting
Automation emails are formatted for readability:- Markdown rendered: Headings, lists, and formatting preserved
- Images embedded: Generated images appear inline
- Links active: Citations and references are clickable
- Mobile-friendly: Readable on all devices
Writing Effective Automation Queries
Be Specific and Structured
Be Specific and Structured
Use numbered lists or sections:Good:Less effective:
Include Time References
Include Time References
Specify relevant time periods:
Leverage Your Knowledge Base
Leverage Your Knowledge Base
Reference your documents:
Request Actionable Output
Request Actionable Output
Ask for practical results:
Example Automations
Best Practices
Time Zones
Automations use your local time - verify before scheduling
Test First
Run the query manually in chat before automating
Manage Email
Create filters to organize automation emails
Review & Refine
Adjust queries based on what you receive
Self-Hosting Requirements
Configure Authentication
Automations require user authentication to be enabled.Authentication Setup Guide →
Setup Email Service
Configure Resend for email delivery:
- Create account at resend.com
- Generate API key
- Set environment variable:
- Configure sender email in Khoj settings
Cloud Khoj users (app.khoj.dev) have automations fully configured - no setup needed.
Troubleshooting
Not receiving emails
Not receiving emails
Possible causes:
- Email in spam folder
- Self-hosting without Resend configured
- Incorrect email address in account settings
- Check spam/junk folders
- Whitelist [email protected]
- Verify account email in settings
- Check Resend configuration (self-hosted)
Automation didn't run
Automation didn't run
Possible causes:
- Automation paused
- Server downtime during scheduled time
- Timezone confusion
- Check automation status (active vs paused)
- Verify schedule in your local timezone
- Check “Last Run” timestamp
Results are empty or generic
Results are empty or generic
Possible causes:
- Query too vague
- Required tools not enabled
- No relevant documents in knowledge base
- Make query more specific
- Enable online search if needed
- Verify documents are synced
- Test query manually in chat first
Emails too long
Emails too long
Solutions:
- Ask for summaries or bullet points
- Limit number of items requested
- Be more specific about scope
Privacy & Data
- Automation emails are sent only to your account email
- You can share automation results by forwarding emails
- Queries run with your permissions and data access
- Delete automations anytime to stop future runs
Next Steps
Use Agents in Automations
Assign specialized agents to automations for better results
Advanced Queries
Learn slash commands and query techniques
Share Results
Share automation insights with your team
