Refresh extracted details from an edited Telegram message
A message correction can trigger a fresh look at the page so the work follows the latest context.
Trigger
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Action
Scrape webpage content using CSS selectors
A tool to extract structured content from a webpage by specifying css selectors. the tool navigates to the specified url, waits for the page to load (including parsing and executing javascript), and returns the selected elements in a structured json format.
Why this helps
Updating the source message does not automatically update the notes people already took from it.
- Re-scrape the page after a message edit.
- Extract the same useful page details from the revised URL.
- Lower the chance of acting on outdated notes.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Browserless once in the portal.
- 2Create an automation in Automations or tell Notis what outcome you want.
- 3Give Notis one instruction to scrape the selected details from the current URL in an edited message.
- 4Choose Telegram Message Edited and a reporting channel.
- 5Test by editing a bot-visible message that includes a public webpage link.
Questions about this workflow
Does the bot need to see the chat?
Yes. The message must be in a chat the bot can access.
Can I specify what should be refreshed?
Yes. List the desired page content in the prompt.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Browserless. A trigger fires from one place; an action lands in another.
Telegram triggers
Browserless actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Download file using Puppeteer script
This tool allows downloading files that chrome has downloaded during the execution of puppeteer code. it sets up a blank page, creates a fresh download directory, injects the provided code, and executes it. once the script finishes, any downloaded files from chromium are returned with the appropriate content-type header.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Execute Custom Function
A tool that allows executing custom puppeteer scripts via http requests. this endpoint enables users to run browser automation tasks without managing their own infrastructure.
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Fetch HTML Content
This tool fetches the complete html content of a webpage using browserless's content api. it's designed to retrieve the full html contents of any website, including dynamically generated content.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Generate PDF from webpage
This tool generates a pdf from a specified webpage using browserless's pdf generation api. it allows specifying the url of the webpage along with parameters such as format, filename, and waituntil options to control the pdf generation process.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Scrape webpage content using CSS selectors
A tool to extract structured content from a webpage by specifying css selectors. the tool navigates to the specified url, waits for the page to load (including parsing and executing javascript), and returns the selected elements in a structured json format.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Take Screenshot
A tool that captures a screenshot of a webpage using browserless's screenshot api. the tool takes a url and returns either a png or jpeg image. it includes options for full page capture, image type, quality, and clipping coordinates.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Unblock Protected Content
This tool provides access to content from websites that implement bot protection mechanisms. it is designed to bypass various types of protection (such as captcha and bot detections) and return the html content of the protected webpage, with optional customization through parameters like waitfor, timeout, and stealth mode.
Connect any two apps with Notis in the middle.
Telegram and Browserless, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Browserless.