Auto-tidy Gmail Inbox
Keep your inbox clean by archiving promotional emails in Gmail
Tags
Key Takeaways
- Daily inbox cleanup - Automatically identifies and archives promotional emails every day
- AI classification - An AI agent determines which emails are promotional
- Summary report - Sends you an email summarizing what was archived
- Scheduled trigger - Runs on a set schedule without manual intervention
What This Workflow Does
This workflow keeps your Gmail inbox organized by running daily, identifying promotional emails, marking them as read, archiving them, and sending you a summary of what was cleaned up.
Use cases:
- Clearing promotional clutter from your inbox each morning
- Reducing manual email triage time
- Keeping your inbox focused on important messages
How It Works
| Step | What Happens |
|---|---|
| 1. Scheduled trigger | The workflow kicks in every morning on a set schedule |
| 2. Find emails | Lists all emails in your inbox from the last 24 hours |
| 3. Classify emails | An AI agent identifies whether each email is promotional or not |
| 4. Filter | Only promotional emails are kept for processing |
| 5. Archive | An AI agent marks promotional emails as read and moves them to the archive |
| 6. Summarize | An AI agent sends you an email summarizing which emails were archived |
Workflow Nodes
| Node | Role |
|---|---|
| Scheduled Trigger | Runs the workflow on a set schedule (default: every morning) |
| Find Emails | Lists inbox emails from the last 24 hours |
| Classifier AI Agent | Determines if an email is promotional |
| Filter | Passes only promotional emails to the next step |
| Archiver AI Agent | Marks emails as read and archives them |
| Summarizer AI Agent | Sends you a summary email of what was archived |
Setup Instructions
- Add the workflow template to Needle
- Connect your Gmail account to the workflow
- Configure the scheduled trigger for your preferred time and frequency
- Review the classifier prompt to confirm it matches the types of emails you want archived
Customization
| What You Can Change | How |
|---|---|
| Schedule time and frequency | Adjust the scheduled trigger settings to run at a different time or more often |
| Email classification rules | Change the prompt in the Classifier AI Agent to detect additional email types such as newsletters or emails from specific senders |
| Summary delivery | Modify the Summarizer AI Agent to change how or where the summary is sent |
FAQ
Q: Will this archive important emails by mistake? A: The AI classifier is designed to target promotional emails. You can adjust the classifier prompt to be more or less strict.
Q: Can I target email types other than promotions? A: Yes, update the Classifier AI Agent prompt to detect newsletters, social notifications, or emails from specific senders.
Q: How do I change when it runs? A: Edit the Scheduled Trigger node to set a different time or frequency.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
