What This Workflow Does
For content creators, marketers, and publishers, manually curating a newsletter is a massive time sink. You have to search for news, summarize articles, format HTML, and schedule the send—a process that's repetitive and doesn't scale.
This n8n workflow automates the entire pipeline. It starts when you send a keyword (like "AI trends" or "sustainable tech") to a Telegram chat. The workflow expands that keyword into trending search suggestions using Dumpling AI, fetches recent articles from Google News, scrapes and cleans the content, uses OpenAI to generate a professional HTML newsletter with a subject line, and finally sends it to your specified inbox via Gmail.
The result is a ready-to-publish newsletter, delivered to you in minutes, without any manual intervention. It turns a fragmented, hours-long task into a seamless, triggered automation.
How It Works
1. Trigger with a Telegram Keyword
The workflow listens to a designated Telegram chat (private or group). When you send a keyword, it captures that text as the starting signal. This allows you to initiate a newsletter on-demand from anywhere.
2. Expand & Fetch Trending News
The keyword is sent to Dumpling AI's Autocomplete endpoint to generate related, trending search phrases. These phrases are then used to query Dumpling AI's Google News integration, returning a list of recent, relevant articles with titles, URLs, and snippets.
3. Process & Scrape Article Content
The list of articles is split into individual items. Each article URL is passed to Dumpling AI's Scraper node, which extracts clean, readable text from the webpage, stripping away ads, navigation, and other clutter.
4. Generate the Newsletter with AI
All cleaned article content is aggregated into a single dataset. This data is sent to an OpenAI model (like GPT-4) with instructions to create a cohesive, engaging HTML newsletter. The AI writes the subject line, introduction, summaries, and conclusion, formatting it all in professional HTML.
5. Deliver via Gmail
The final HTML newsletter and subject line are passed to the Gmail node, which sends the email to your pre-configured recipient list. The newsletter lands in your inbox, ready for any final review or to be forwarded to your audience.
Who This Is For
This automation is ideal for content creators and newsletter publishers who need to produce regular updates but lack the time for manual research. Digital marketing agencies can use it to create client reports or industry digests. Virtual assistants and community managers can automate updates for groups or membership sites. Any business or individual that shares curated news with an audience will find immense value in this workflow.
What You'll Need
- An n8n instance (cloud or self-hosted).
- A Telegram Bot token (created via @BotFather) and the chat ID you want to monitor.
- A Dumpling AI account with API access for Autocomplete, Google News, and Scraper nodes.
- An OpenAI API key with access to a capable model like GPT-4 or GPT-3.5-turbo.
- A Gmail account connected to n8n with send permissions enabled.
Pro tip: Start with broad keywords to test the volume and quality of fetched news. You can refine them over time to match your audience's exact interests. Also, consider adding a final "human review" step before the Gmail send for complete control.
Quick Setup Guide
Importing and configuring this workflow is straightforward. Follow these steps to get it running in your n8n environment.
- Download the template using the button above and save the JSON file.
- In your n8n dashboard, go to Workflows > Import from file and select the downloaded JSON.
- Configure the Telegram Trigger node: Enter your Bot token and the chat ID you'll use to send keywords.
- Set up the Dumpling AI nodes: Add your Dumpling AI API key to the HTTP Request nodes for Autocomplete, Google News, and Scraper.
- Connect the OpenAI node: Add your OpenAI API key and select your preferred model.
- Configure the Gmail node: Authenticate with your Gmail account and set the "To" email address.
- Test the workflow: Activate it and send a keyword to your Telegram chat. Check your inbox for the resulting newsletter.
Key Benefits
Save 5–10 hours per week on newsletter creation. Eliminate the manual search, copy-paste, and formatting grind. This workflow handles the heavy lifting, freeing you to focus on strategy and audience growth.
Ensure consistent, high-quality output. AI-generated content maintains a professional tone and structure, reducing the variability that comes with manual writing under time pressure.
React to trends in real-time. Because the workflow is triggered on-demand by a Telegram message, you can publish newsletters about breaking news or emerging topics within minutes, not days.
Scale your content operations without scaling your team. One person can manage multiple newsletters for different niches or clients by simply changing the trigger keyword.
Full control and flexibility. Unlike rigid SaaS platforms, this n8n workflow can be modified to add new data sources, apply custom filters, or integrate with your CRM, website, or social media.