Twitter/X Content Analysis & Insights with Grok AI and Telegram Delivery

Go to Workflow
61 views
Built by Rish Rish
Created on June 05, 2026

Description

👉🏻 Tutorial Video

🔬 Introducing X-Ray Pro: Your Intelligent X (Twitter) & Web Insight Machine! 💡

Hey n8n community! 👋

Tired of sifting through endless feeds to find meaningful insights on X (formerly Twitter) and the web? We've got something special for you! I'm excited to unveil X-Ray Pro, a powerful n8n workflow designed to be your ultimate information curator. It cuts through the digital noise and delivers precise, actionable intelligence right to your fingertips. Say goodbye to information overload and hello to clarity! 🚀

Step-by-Step Setup Instructions

1. Create Required Credentials

Grok AI (xAI) Credentials
Visit the xAI platform and create an account
Generate an API key
In n8n, create a new credential:
Type: "Generic Credential"
Name: "Grok AI API"
Add field: Authorization with value Bearer YOUR_API_KEY

Telegram Bot Credentials
Contact @BotFather on Telegram
Create a new bot with /newbot
Save the bot token
In n8n, create "Telegram" credential with your bot token
Get your chat ID by messaging your bot and checking the webhook

OpenAI Credentials
Get your OpenAI API key from platform.openai.com
Create "OpenAI" credential in n8n with your API key

2. Import and Configure the Workflow

Import the Workflow
Copy the provided workflow JSON
In n8n, go to "Workflows" → "Import from URL/File"
Paste the JSON content

Update Node Names and Structure
The workflow includes these key components:

Trigger Node:
Telegram Trigger - Receives messages from Telegram

Analysis Nodes: (Rename for clarity)
Tech Leaders Monitor (was "Updates from Tech Leaders")
Breaking News Scanner (was "Real-Time Breaking News")
Cross-Source Analyzer (was "Multi-Source Analysis")
Historical Data Miner (was "Historical Events")
Community Sentiment Tracker (was "Community Pulse Check")
Viral Content Detector (was "Find Memes and Trends")

Core Processing:
AI Agent Coordinator (was "X-Ray Pro")
Language Model (OpenAI Chat Model)

Output Node:
Telegram Response (was "Telegram")

3. Secure API Key Configuration

CRITICAL SECURITY UPDATE:

Replace the hardcoded API keys in all HTTP Request nodes with credential references:

Select each HTTP Request node
Remove the hardcoded Authorization header
In "Headers" section, select "Credentials"
Choose your "Grok AI API" credential
Repeat for all 6 analysis nodes

Give X-Ray Pro a try and transform how you gather insights!

Nodes Used (3)

AI Agent
@n8n/n8n-nodes-langchain.agent
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Telegram
n8n-nodes-base.telegram