Transform email responses with GPT-4O Mini and Telegram human-in-the-loop
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when a new email arrives over IMAP. Along the way it connects OpenAI and Telegram.
How it runs
Trigger: When a new email arrives over IMAP.
- Extract Email (Code): runs custom JavaScript code
- Extract Text (Edit Fields (Set)): sets 1 field: text
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Ask for Response (Telegram): send and wait for a reply
- Send Chick-fil-A Style Reply (Send Email): sends an email over SMTP
- If: checks a condition and branches into true / false
- Chick-Fil-A Translator (OpenAI): uses OpenAI
Services it uses
Other Telegram + OpenAI templates (807)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Send Email
n8n-nodes-base.emailSend - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if
From the author
Description This workflow automates your email communication by listening for incoming emails and notifying you via Telegram. It then prompts you to provide a quick response, which it transforms into a polished, professional message inspired by Chick-fil-A’s…