Send weekly AI crawler visibility reports with Cloudflare, Claude, and Telegram/email
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Anthropic
@n8n/n8n-nodes-langchain.anthropic - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Telegram
n8n-nodes-base.telegram
What it does
Quick Overview This workflow runs on a weekly schedule, queries Cloudflare GraphQL Analytics for requests matching known AI crawler user-agents, aggregates request counts per bot, generates a short summary with Anthropic Claude, and optionally delivers the report via SMTP email and Telegram. How it works 1. Runs on a weekly schedule at the configured hour. 2. Loads your configuration (zone ID, lookback window, bot list, and notification toggles) and builds a Cloudflare GraphQL query that matches the selected AI crawler user-agents. 3. Calls the Cloudflare GraphQL Analytics API to retrieve request groups for the zone within the lookback time range. 4. Aggregates the results into exact request totals per tracked bot based on the returned user-agent strings. 5. Sends the totals to Anthropic Claude to generate a plain-language report for the configured site and language. 6. Formats the report and sends it via SMTP email and/or Telegram depending on which notification options are enabled. Setup 1. Create a Cloudflare API token with Zone → Analytics → Read for your zone and add it as an HTTP Header Auth credential (Authorization: Bearer <token) on the Cloudflare request step. 2. Add an Anthropic credential for the Claude node. 3. Configure the CONFIG values, including your Cloudflare Zone ID, site name, lookback days, bot list, report language, and whether email/Telegram delivery is enabled. 4. If using email, add SMTP credentials and set the recipient address in ALERTEMAIL (and adjust the From address if your SMTP server requires a specific sender). 5. If using Telegram, add a Telegram bot credential and set TELEGRAMCHATID to the destination chat or channel.