BrowserAct + Telegram: keyword filtered news posts
You don’t need more news. You need the right news, without scanning endless headlines, opening ten tabs, and still missing the one story you actually cared about.
Content marketers feel this when trend-watching turns into doomscrolling. A journalist on deadline doesn’t have time for noise. And if you run a small team, you’re usually the “research department” too. This Telegram news filtering automation fixes that.
You’ll set up an n8n workflow that collects headlines via BrowserAct, filters them with Google Gemini using your keywords, then posts clean, readable updates straight to Telegram (with a photo and link).
How This Automation Works
Here’s the complete workflow you’ll be setting up:
n8n Workflow Template: BrowserAct + Telegram: keyword filtered news posts
flowchart LR
subgraph sg0["Schedule Flow"]
direction LR
n0@{ icon: "mdi:cog", form: "rounded", label: "Wait", pos: "b", h: 48 }
n1@{ icon: "mdi:cog", form: "rounded", label: "Wait1", pos: "b", h: 48 }
n2@{ icon: "mdi:robot", form: "rounded", label: "Structured Output Parser", pos: "b", h: 48 }
n3@{ icon: "mdi:play-circle", form: "rounded", label: "Schedule Trigger", 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/httprequest.dark.svg' width='40' height='40' /></div><br/>Run WorkFlow"]
n5@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Check For Errors", 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/httprequest.dark.svg' width='40' height='40' /></div><br/>Get WorkFlow Data"]
n7@{ icon: "mdi:swap-horizontal", form: "rounded", label: "Check For 'Finished' Status", pos: "b", h: 48 }
n8@{ icon: "mdi:robot", form: "rounded", label: "KeyWords filtering", pos: "b", h: 48 }
n9@{ icon: "mdi:brain", form: "rounded", label: "Google Gemini", pos: "b", h: 48 }
n10["<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/>Code - Clean Output"]
n11["<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/>Send a News Photo To Telegram"]
n0 --> n6
n1 --> n4
n4 --> n5
n9 -.-> n8
n5 --> n6
n5 --> n1
n3 --> n4
n6 --> n7
n8 --> n10
n10 --> n11
n2 -.-> n8
n7 --> n8
n7 --> n0
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 n3 trigger
class n2,n8 ai
class n9 aiModel
class n5,n7 decision
class n4,n6 api
class n10 code
classDef customIcon fill:none,stroke:none
class n4,n6,n10,n11 customIcon
Why This Matters: Keyword Research Gets Buried in Noise
Keeping up with news sounds simple until it becomes part of your job. You start “just checking headlines,” and suddenly it’s 45 minutes later, you’ve read five irrelevant pieces, and the one article you needed is hidden on page two. Then comes the copy-paste routine: headline, link, maybe an image, then sending it to your team or saving it “for later” (which honestly means never). The real cost isn’t only time. It’s the mental load of constantly re-scanning the same sources and second-guessing if you missed something important.
The friction compounds. Here’s where it breaks down in real life.
- You spend about 1–2 hours a day sifting through irrelevant headlines just to find a few that match your niche.
- When you manually share links in chat, the context is messy, and people ignore it because it looks like spam.
- Keyword tracking is inconsistent, so your “topic monitoring” depends on who remembered to check that morning.
- By the time you spot a trend, it’s already circulating and you’re reacting late.
What You’ll Build: BrowserAct Headlines → Gemini Keyword Filter → Telegram Posts
This workflow runs on a schedule in n8n, so you don’t have to remember to “check the news.” It kicks off a BrowserAct scraping job via an HTTP request, which collects the latest headlines from the BrowserAct “News Content Marketing Automation” template. Because scraping jobs aren’t instant, the workflow checks the task status, waits, and retries until the results are actually ready. Once the dataset is available, a Google Gemini–powered AI Agent reviews the headlines against your keyword list and keeps only the items that match what you care about. Then a formatting step turns the AI output into a clean message. Finally, n8n posts each matched article to your Telegram channel as a rich message, including the headline, a picture, and the link.
The workflow starts with a scheduled trigger and a “launch scrape” call to BrowserAct. Next, it monitors the task until completion (with checks and short waits). Then Gemini filters by keywords, and the final results are formatted and dispatched to Telegram automatically.
What You’re Building
| What Gets Automated | What You’ll Achieve |
|---|---|
|
|
Expected Results
Say you check three sources twice a day and spend about 20 minutes each time skimming, opening articles, and sharing the few good links. That’s roughly 80 minutes daily. With this workflow, you spend maybe 10 minutes upfront defining keywords, then it runs automatically: a couple minutes to launch the scrape, some waiting while BrowserAct finishes, and Telegram gets the matched posts without you touching anything. Most days, you get about an hour back.
Before You Start
- n8n instance (try n8n Cloud free)
- Self-hosting option if you prefer (Hostinger works well)
- BrowserAct for scraping and headline collection.
- Google Gemini to filter headlines by your keywords.
- BrowserAct API token (get it from your BrowserAct account settings).
Skill level: Beginner. You’ll connect accounts, paste a token, and update one workflow_id value.
Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).
Step by Step
A scheduled trigger starts the run. n8n executes this workflow at the times you choose (for example, every morning and mid-afternoon). You can also run it manually when you want an instant check.
BrowserAct gets launched and monitored. An HTTP Request starts the BrowserAct scraping workflow, then the automation validates the response and repeatedly checks task details. If it’s not done yet, it waits briefly and tries again until the completion state is confirmed.
Gemini filters by your keyword list. The Keyword Match Agent reads the headlines and decides what’s relevant based on the keywords and rules you define. This is the part that turns “news firehose” into “signal.”
Telegram receives formatted posts. A formatting step cleans up the output so it’s readable, then n8n sends each matched item as a Telegram photo message (headline, picture, and link included).
You can easily modify the keywords and the message format based on your needs. See the full implementation guide below for customization options.
Step-by-Step Implementation Guide
Step 1: Configure the Scheduled Trigger
Set the workflow schedule so the automation runs on a timed interval.
- Add and open Scheduled Automation Trigger.
- In Rule, keep the interval field as
hoursto run hourly. - Connect Scheduled Automation Trigger to Launch Scrape Task.
Step 2: Connect the Browseract Scrape Task
Configure the API call that launches the scraping task.
- Open Launch Scrape Task and set URL to
https://api.browseract.com/v2/workflow/run-task. - Set Method to
POSTand enable Send Body. - In Body Parameters, set workflow_id to
[YOUR_ID]. - Credential Required: Connect your httpBearerAuth credentials for Launch Scrape Task.
[YOUR_ID] with your actual Browseract workflow ID, or the task will fail to start.Step 3: Validate Task Response and Poll for Completion
Use conditional checks and wait windows to retry until the task finishes.
- Open Validate Task Response and confirm the conditions use
{{ $json.error }}withnotExistsand{{ $json.id }}withnotEqualsnull. - From Validate Task Response, keep the true branch connected to Retrieve Task Details and the false branch connected to Retry Pause.
- In Retry Pause, set Unit to
minutesand Amount to1. - Open Retrieve Task Details and set URL to
https://api.browseract.com/v2/workflow/get-taskwith query parameter task_id set to{{ $json.id }}. - Credential Required: Connect your httpBearerAuth credentials for Retrieve Task Details.
- In Verify Completion State, confirm conditions use
{{ $json.error }}withnotExistsand{{ $json.status }}equalsfinished. - Keep the false branch from Verify Completion State routed to Pause Window, and the true branch routed to Keyword Match Agent.
Step 4: Set Up AI Keyword Matching
Configure the AI agent, language model, and structured parser to filter relevant news items.
- Open Keyword Match Agent and keep Prompt Type as
definewith the provided prompt text. - Ensure Keyword Match Agent has Structured Result Parser connected as the output parser.
- Open Structured Result Parser and keep the JSON Schema Example set to the provided structure for
Matched_News. - Attach Gemini Chat Model to Keyword Match Agent as the language model.
- Credential Required: Connect your googlePalmApi credentials for Gemini Chat Model. The Structured Result Parser uses the parent agent, so add credentials to Gemini Chat Model, not the parser.
Step 5: Format and Send to Telegram
Transform the matched items into Telegram-ready payloads and dispatch photos with captions.
- Open Format Matched Items and keep the JavaScript code as-is to map
Matched_Newsinto{ "text": item }objects. - Open Telegram Photo Dispatch and set Operation to
sendPhoto. - Set File to
{{ $json.text.Url }}and Caption to{{ $json.text.Headline }}.
{{ $json.text.Url }} - Replace Chat ID value
[YOUR_ID]with your Telegram chat or channel ID. - Credential Required: Connect your telegramApi credentials for Telegram Photo Dispatch.
Url points to an image file.Step 6: Test and Activate Your Workflow
Validate the end-to-end flow and enable the workflow for production runs.
- Click Execute Workflow to run from Scheduled Automation Trigger.
- Confirm that Launch Scrape Task returns an
id, then Retrieve Task Details showsstatusasfinished. - Verify Keyword Match Agent outputs
Matched_Newsand that Telegram Photo Dispatch sends photos with captions to your chat. - When satisfied, toggle the workflow to Active for scheduled production runs.
Troubleshooting Tips
- BrowserAct credentials can expire or the token can be pasted incorrectly. If things break, check the BrowserAct API token in the n8n HTTP Request node first.
- If you’re using Wait nodes or external scraping, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
- Default prompts in AI nodes are generic. Add your brand voice and keyword rules inside the Gemini-backed AI Agent early or you’ll be editing outputs forever.
Quick Answers
About 30 minutes if you already have BrowserAct, Gemini, and Telegram ready.
No. You’ll mostly connect accounts and paste tokens into the right nodes. The included formatting code is already done for you.
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 Gemini usage costs (usually small for headline filtering) and any BrowserAct plan fees tied to scraping volume.
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 you should. Most people start by editing the keyword list and the instructions inside the Keyword Match Agent, then tweak the “Format Matched Items” step to match their preferred message style. You can also swap the schedule to run hourly during business hours, or only on weekdays. If you want a different destination, replace the Telegram Photo Dispatch node with Slack, email, or a Google Sheet write step.
Usually it’s a bad or expired BrowserAct token in the Launch Scrape Task request. Double-check the token, then confirm the workflow_id you’re calling matches the BrowserAct “News Content Marketing Automation” template you actually set up. If it still fails, look for rate limits or plan restrictions in your BrowserAct account, especially if you increased the schedule frequency.
If you self-host, executions aren’t capped by n8n (it depends on your server), and this workflow can comfortably handle multiple scheduled runs per day plus dozens of matched items per run.
Often, yes, because this workflow has “wait, check status, retry” logic that news scraping usually needs. n8n handles branching and polling without making the scenario fragile or expensive. You also get more control over the AI step, including how the agent reasons about keyword matches and formatting. Zapier or Make can still work if your inputs are simple and instant (like a single RSS feed), but scraping jobs and asynchronous APIs are where people get stuck. Talk to an automation expert if you want a quick recommendation for your exact setup.
Once this is running, your Telegram channel becomes the place where relevant news shows up automatically. Quiet feed. Clear signals. And a lot more time to act on what you find.
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.