Templates / Audit websites from Telegram with GPT-4o-mini and log results to Google Sheets

Audit websites from Telegram with GPT-4o-mini and log results to Google Sheets

Needs changes

by Incrementors ✓ · 1 views · created 2026-09-18 · Market Research, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and Google Sheets.

How it runs

Trigger: On Telegram events (message).

  1. Set config (Edit Fields (Set)): sets 4 fields: sheetId, sheetName, senderName…
  2. Find a URL in the message (Code): runs custom JavaScript code
  3. Was a URL sent? (If): checks a condition and branches into true / false
  4. Fetch the website (HTTP Request): calls an HTTP API
  5. Reply with help (Telegram): uses Telegram
  6. Strip the HTML down to text (Code): runs custom JavaScript code
  7. Write the audit (AI Agent): runs an AI agent, with model: Chat model; output parser: Output Parser - Audit fields
  8. Format the reply (Code): runs custom JavaScript code
  9. Log the audit (Google Sheets): append
  10. Reply with the audit (Telegram): uses Telegram

Services it uses

TelegramOpenAI Chat ModelGoogle Sheets

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Write the audit (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Write the audit (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

Quick overview This workflow turns a Telegram bot into a website audit assistant: it extracts a URL from incoming Telegram messages, scrapes the page, uses OpenAI (gpt-4o-mini) to generate a structured audit, logs the results to Google Sheets, and replies…

Excerpt from Incrementors's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.