Email Automation
Triage Gmail and Draft Replies on Telegram with OpenAI
When a new Gmail email arrives, OpenAI decides if it needs a response, and a Telegram bot lets you review and send a reply.
What it does
# Outputparserstructured Workflow ## Overview Automated workflow: Outputparserstructured Workflow. This workflow integrates 12 different services: telegramTrigger, stickyNote, telegram, gmailTrigger, chainLlm. It contains 32 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 32 - Node Types: 12 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Structured Output Parser: outputParserStructured - OpenAI Chat Model: lmChatOpenAi - Text Email: telegram - OpenAI: openAi - New Email Received: gmailTrigger - In the Inbox?: if - Needs a response?: if - Telegram Bot Message Received: telegramTrigger - It needs to be an audio message + a reply!: telegram - Get Audio File: telegram - ... and 22 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible
The steps
- Structured Output Parser
- OpenAI Chat Model
- Text Email
- OpenAI
- New Email Received
- In the Inbox?
- Needs a response?
- Telegram Bot Message Received
- It needs to be an audio message + a reply!
- Get Audio File
- Create Email Draft
- Direct to Draft
- Does Email Need a Response?
- Is Type Audio Message + Reply?
26 steps in total.
Similar automations