Gmail meets Telegram for faster, friendlier replies
Your inbox fills up, a customer is waiting, and you’re stuck rewriting the same “friendly but professional” sentence three different ways. Meanwhile, the day moves on. And your replies get later.
This Gmail Telegram replies automation hits solo business owners hardest, but support leads and agency account managers feel it too. You get faster responses without sounding rushed, plus a consistent “warm, thoughtful” tone even when you’re tired.
Below, you’ll see how the workflow routes new emails into Telegram, turns your quick notes into polished copy with OpenAI, and prepares a ready-to-send response.
How This Automation Works
The full n8n workflow, from trigger to final output:
n8n Workflow Template: Gmail meets Telegram for faster, friendlier replies
flowchart LR
subgraph sg0["Chick-Fil-A Translat Flow"]
direction LR
n0@{ icon: "mdi:message-outline", form: "rounded", label: "Email Received (IMAP)", pos: "b", h: 48 }
n1["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/merge.svg' width='40' height='40' /></div><br/>Merge"]
n2@{ icon: "mdi:swap-vertical", form: "rounded", label: "Extract Text", pos: "b", h: 48 }
n3@{ icon: "mdi:message-outline", form: "rounded", label: "Send Chick-fil-A Style Reply", pos: "b", h: 48 }
n4["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/merge.svg' width='40' height='40' /></div><br/>Merge1"]
n5@{ icon: "mdi:robot", form: "rounded", label: "Chick-Fil-A Translator", pos: "b", h: 48 }
n6["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/code.svg' width='40' height='40' /></div><br/>Extract Email"]
n7["<div style='background:#f5f5f5;padding:10px;border-radius:8px;display:inline-block;border:1px solid #e0e0e0'><img src='https://flowpast.com/wp-content/uploads/n8n-workflow-icons/telegram.svg' width='40' height='40' /></div><br/>Ask for Response"]
n8@{ icon: "mdi:swap-horizontal", form: "rounded", label: "If Respond", pos: "b", h: 48 }
n1 --> n4
n1 --> n7
n4 --> n3
n8 --> n5
n2 --> n1
n6 --> n1
n7 --> n8
n0 --> n6
n0 --> n2
n5 --> n4
end
%% Styling
classDef trigger fill:#e8f5e9,stroke:#388e3c,stroke-width:2px
classDef ai fill:#e3f2fd,stroke:#1976d2,stroke-width:2px
classDef aiModel fill:#e8eaf6,stroke:#3f51b5,stroke-width:2px
classDef decision fill:#fff8e1,stroke:#f9a825,stroke-width:2px
classDef database fill:#fce4ec,stroke:#c2185b,stroke-width:2px
classDef api fill:#fff3e0,stroke:#e65100,stroke-width:2px
classDef code fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px
classDef disabled stroke-dasharray: 5 5,opacity: 0.5
class n5 ai
class n8 decision
class n6 code
classDef customIcon fill:none,stroke:none
class n1,n4,n6,n7 customIcon
The Problem: Customer emails take too long to answer well
Most customer emails aren’t hard. They’re just emotionally expensive. You have to read carefully, stay patient, avoid sounding defensive, and still give a clear answer. When you’re in the middle of work (calls, fulfillment, campaigns), opening Gmail turns into a time sink. You answer one message, then three more appear, and suddenly you’re “doing email” for an hour with nothing to show for it. The worst part is the tone spiral: you type something short, worry it feels cold, rewrite it, then second-guess again.
It adds up fast. Here’s where it breaks down in real life.
- You end up delaying replies because writing “nicely” takes longer than the actual solution.
- When you’re rushing, tone gets inconsistent, which means customers read the mood into your words.
- Copying an email into notes, drafting, then pasting back invites small mistakes like wrong names or missing details.
- Even good templates feel robotic, so you keep reinventing the same paragraphs.
The Solution: Telegram-first drafts, OpenAI-polished replies
This workflow watches your inbox for new messages, grabs the important parts (sender and body), and immediately pings you in Telegram with a quick summary. Instead of opening Gmail and crafting a perfect email on the spot, you reply in Telegram with the simple version. The “just get the facts out” version. Then OpenAI rewrites that raw reply into a polished customer-support response inspired by Chick-fil-A style service: friendly, thoughtful, and calm without being cheesy. Finally, the workflow merges the polished text with the email details so it can be sent back out through email, or held for review depending on how you configure the last step.
The workflow starts with an IMAP inbound email trigger, then combines parsed sender details with the extracted email body. Telegram collects your quick response, OpenAI refines it, and the workflow prepares the final outbound email content for sending.
What You Get: Automation vs. Results
| What This Workflow Automates | Results You’ll Get |
|---|---|
|
|
Example: What This Looks Like
Say you handle about 20 customer emails a day. Manually, even “easy” replies can take around 10 minutes each once you open Gmail, reread the thread, write carefully, and proof it, so that’s about 3 hours. With this workflow, you skim the Telegram summary, type a rough reply in about 2 minutes, then wait about a minute for the polished version. You’re down to roughly an hour of active effort, and you still sound like you cared.
What You’ll Need
- n8n instance (try n8n Cloud free)
- Self-hosting option if you prefer (Hostinger works well)
- Gmail (or any IMAP inbox) to monitor inbound support emails
- Telegram Bot to receive notifications and send drafts
- OpenAI API key (get it from your OpenAI dashboard)
Skill level: Intermediate. You’ll connect accounts, set triggers/filters, and adjust one AI prompt.
Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).
How It Works
A new email arrives. The IMAP inbound email trigger listens continuously, so the workflow runs as soon as a message hits the inbox (or a chosen folder/label).
The email gets cleaned up. The workflow extracts the email body, parses the sender address, then merges those details so the rest of the automation has one reliable “packet” of context.
You answer in Telegram. A Telegram message asks you for a quick reply. There’s a simple validation check, so blank or missing text doesn’t get pushed into the AI step by accident.
OpenAI rewrites and the email is prepared. The AI agent turns your rough note into a polished response, then the workflow merges reply details and hands it to the send-email step so it can go out (or be reviewed first, depending on your version).
You can easily modify the tone prompt to match your brand voice based on your needs. See the full implementation guide below for customization options.
Step-by-Step Implementation Guide
Step 1: Configure the IMAP Inbound Email Trigger
This workflow starts by reading new emails from your inbox.
- Add the IMAP Inbound Email Trigger node as your trigger.
- Set Mailbox to
Inbox. - Credential Required: Connect your IMAP Email credentials.
- Connect IMAP Inbound Email Trigger to both Parse Sender Address and Extract Email Body so they run in parallel.
Tip: Parallel processing here speeds up extraction—IMAP Inbound Email Trigger outputs to both Parse Sender Address and Extract Email Body in parallel.
Step 2: Connect Email Parsing and Merge Inputs
This stage extracts the sender’s email address and the message body, then combines them for downstream actions.
- In Parse Sender Address, keep the JavaScript Code as provided to parse the
fromfield and outputemail. - In Extract Email Body, add an assignment to create a text field with value
={{ $json.textPlain }}. - Connect both Parse Sender Address and Extract Email Body to Combine Email Inputs.
- Set Combine Email Inputs to Mode
combineand Combine BycombineByPosition.
⚠️ Common Pitfall: If the IMAP “from” header is empty or formatted differently, Parse Sender Address may return null. Test with a real email to confirm.
Step 3: Set Up the Review and Validation Path
This step sends the email content to Telegram for a human reply and validates the response.
- Configure Telegram Review Request with Chat ID
[YOUR_ID]. - Set Message to
=Email from {{ $json.email.replace(/[_*[\\]()~`>#+-=|{}.!]/g, '\\\\$&') }} {{ $json.text.replace(/[_*[\\]()~`>#+-=|{}.!]/g, '\\\\$&') }}. - Set Operation to
sendAndWaitand Response Type tofreeText. - Credential Required: Connect your Telegram credentials.
- In Validate Reply Text, keep all three string checks with Left Value set to
={{ $json.data.text }}and the operatorsnotEquals,notEmpty, andnotStartsWithas configured.
Tip: This validation ensures the Telegram reply is not blank and doesn’t start with a space before sending it to the AI model.
Step 4: Configure AI Polishing and Email Reply
The response is rewritten in a polite tone and merged with the sender address before sending a reply.
- In Polite Tone Translator, set Model to
gpt-4o-miniand keep the system prompt as provided. - Set the user message content to
={{ $json.data.text }}. - Credential Required: Connect your OpenAI credentials in Polite Tone Translator.
- In Merge Reply Details, set Mode to
combineand Combine By tocombineByPosition. - Configure Dispatch Styled Reply Email with Text
={{ $json.message.content }}, SubjectSUBJECT, To Email={{ $json.email }}, From Email[YOUR_EMAIL], and Email Formattext. - Credential Required: Connect your SMTP Email credentials in Dispatch Styled Reply Email.
Combine Email Inputs outputs to both Merge Reply Details and Telegram Review Request in parallel, ensuring the reply and review flow happen together.
Step 5: Test and Activate Your Workflow
Run a full test to confirm the end-to-end orchestration works before enabling the workflow.
- Click Execute Workflow and send a test email to the monitored inbox.
- Verify that Telegram Review Request posts the email body and waits for your response.
- Confirm Polite Tone Translator returns rewritten text and Dispatch Styled Reply Email sends an email to
={{ $json.email }}. - When satisfied, toggle the workflow to Active for production use.
Common Gotchas
- Telegram bot credentials can expire or the bot can be blocked in a chat. If things break, check BotFather settings and the chat ID in your Telegram node first.
- If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
- OpenAI prompts start generic. Add your brand voice early (greeting style, sign-off, level of formality) or you will be editing outputs forever.
Frequently Asked Questions
About 30 minutes if your email, Telegram bot, and OpenAI key are ready.
No. You’ll mostly connect accounts and edit a prompt.
Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in OpenAI API usage, which is usually a few cents per day at small volumes.
Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.
Yes, and it’s mostly prompt work. Update the Polite Tone Translator (OpenAI) instructions to specify formality, greeting style, and sign-off rules, then keep a couple of example replies in the prompt so the model follows your pattern. Common customizations include removing “extra friendly” phrasing, adding short bullet answers for support, and forcing a single closing line that matches your brand.
Most of the time it’s auth: an expired Gmail/IMAP session or missing permission scopes. Reconnect the Gmail/IMAP credentials in n8n, then confirm the trigger is pointed at the right mailbox or folder/label. If it fails only sometimes, check for provider throttling when many emails hit at once, and make sure your Parse Sender Address step is handling unusual “From” formats.
On n8n Cloud Starter, you can typically handle a few thousand workflow runs per month, which covers most small inboxes. If you self-host, there’s no execution limit (it depends on your server). Practically, the bottleneck is usually email provider rate limits and how quickly you want the AI rewrite to return, not n8n.
Often, yes, if you want control and flexibility. n8n makes it easier to add branching logic (for example, different tones for refunds vs. compliments), validate that your Telegram reply isn’t empty, and merge email context cleanly before sending. You can also self-host for high volume without paying per tiny step, which matters when email volume spikes. Zapier or Make can still be simpler for a basic “send me an alert” flow. If you’re unsure, Talk to an automation expert and we’ll map the cheapest option to your volume.
The workflow handles the repetitive part: catching emails, nudging you in Telegram, and polishing your tone. You handle the human part. Honestly, that’s the split most small teams need.
Need Help Setting This Up?
Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.