workflows.fit
Back to n8n workflows
n8n templateFreeBy Daniel Nkencho

Extract & process Q&A from URLs with Airtop, OpenRouter AI & Safety Guardrails

Transform your Telegram bot into a secure content analyzer: send any URL, and get safe, structured Q&A extractions with AI-powered safety checks and web search capabilities. 📋 What This Template Does This workflow ac...

CommunicationHITLAILangchainProductivityDevelopmentCore NodesFilter
Loading interactive preview...

Template notes

Transform your Telegram bot into a secure content analyzer: send any URL, and get safe, structured Q&A extractions with AI-powered safety checks and web search capabilities.

📋 What This Template Does This workflow activates when a user sends a valid URL to your Telegram bot. It extracts questions and answers from the webpage using Airtop, applies NSFW and PII guardrails to ensure safe content, then uses an OpenRouter AI agent (with optional Tavily search) to generate and send a concise response. If guardrails fail, it alerts the user instead. - Filters for valid URLs only to prevent unnecessary processing - Extracts structured Q&A from documents or forms - Enforces safety checks for harmful or private content - Supports web searches for enhanced responses when needed

🔧 Prerequisites - A Telegram bot created via @BotFather - Accounts with Airtop, OpenRouter, and Tavily

🔑 Required Credentials

Telegram API Setup 1. Open Telegram → Search @BotFather → Use /newbot command 2. Follow prompts to create bot and obtain API token 3. Add to n8n as Telegram API credential type

Airtop API Setup 1. Visit https://airtop.ai → Sign up or log in → Navigate to Dashboard → API Keys 2. Generate a new API key with extraction permissions 3. Add to n8n as Airtop API credential type

OpenRouter API Setup 1. Go to https://openrouter.ai → Sign up or log in → Navigate to API Keys section 2. Generate and copy your API key (free tier sufficient for basic use) 3. Add to n8n as OpenRouter API credential type

Tavily API Setup 1. Visit https://app.tavily.com → Sign up or log in → Go to API Keys 2. Generate and copy your API key 3. Add to n8n as Tavily API credential type