Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Approve AI Gmail Replies via Telegram with OpenAI

When a new Gmail email arrives, OpenAI decides if it needs a reply, drafts one, and sends it only after you approve in Telegram.

What it does

## 🤖 AI Email Reply Assistant ## 🔄 What this workflow does This automation monitors your Gmail inbox, intelligently decides which emails need replies, generates professional responses using AI, and sends them after your approval via Telegram. --- #### 🧩 Node-by-node Breakdown 1. 📥 Trigger: New Email - Gmail Trigger node - Polls inbox every minute for new emails 2. 📂 Check: Is Email in Inbox? - Filters emails to only process those in INBOX - Skips sent, drafts, and other folders 3. 🧠 AI: Should We Reply? - AI analyzes email content to determine if reply is needed - Skips promotions, newsletters, and notifications - Only processes emails with questions, requests, or urgent matters 4. ✅ Check: Response Required? - Routes emails based on AI decision - Continues only if reply is needed 5. ✍️ AI: Generate Email Reply - Creates professional, contextual email response - Maintains appropriate tone and format - Generates subject line and body content 6. 📱 Telegram: Send + Approve - Shows original email and AI-generated response - Waits for your approval via Telegram buttons - 5-minute timeout for decision 7. 🚀 Send a message - Sends the approved reply via Gmail - Only executes if you approve via Telegram --- #### 💡 Key Features - Smart Filtering: Only replies to emails that actually need responses - Human Approval: You control what gets sent - Professional Tone: AI maintains appropriate business communication - Mobile Control: Approve/reject replies directly from Telegram --- #### 🛠 Perfect for: - Busy professionals managing high email volume - Customer service representatives - Sales teams with quick response requirements - Anyone wanting AI assistance with email management ---

The steps

  1. Structured Output Parser1
  2. Send a message
  3. Trigger: New Email
  4. Check: Is Email in Inbox?
  5. AI: Should We Reply?
  6. Parse: Reply Decision JSON
  7. Check: Response Required?
  8. Exit: No Reply Needed
  9. No Operation, do nothing
  10. AI: Generate Email Reply
  11. OpenAI Chat Model
  12. OpenAI Chat Model1
  13. Telegram: Send + Approve
  14. Check: Telegram Approved?

15 steps in total.

Similar automations