Skip to main content

Twitter/X content analysis & insights with Grok AI and Telegram delivery

Workflow preview

Workflow preview
100%
Twitter/X content analysis & insights with Grok AI and Telegram delivery preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

🏻 Tutorial Video Introducing X Ray Pro : Your Intelligent X (Twitter) & Web Insight Machine! Hey n8n community! Tired of sifting through endless feed...

Best for

  • Market Research automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequesttool, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rish.

Original n8n.io source

1.1 Workflow description

Title
Twitter/X content analysis & insights with Grok AI and Telegram delivery
Workflow name
Twitter/X content analysis & insights with Grok AI and Telegram delivery

👉🏻 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

  1. Visit the xAI platform and create an account
  2. Generate an API key
  3. 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

  1. Contact @BotFather on Telegram
  2. Create a new bot with /newbot
  3. Save the bot token
  4. In n8n, create "Telegram" credential with your bot token
  5. Get your chat ID by messaging your bot and checking the webhook

OpenAI Credentials

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

2. Import and Configure the Workflow

Import the Workflow

  1. Copy the provided workflow JSON
  2. In n8n, go to "Workflows" → "Import from URL/File"
  3. 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:

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

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Tech Leaders Monitor

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 2 - Breaking News Scanner

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 3 - Cross-Source Analyzer

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 4 - Historical Data Miner

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 5 - Community Sentiment Tracker

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 6 - Viral Content Detector

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 7 - Language Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 8 - Telegram Response

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 10 - AI Agent Coordinator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Twitter/X content analysis & insights with Grok AI and Telegram delivery
Complexity intermediate
Nodes 14
Categories Market Research, AI Chatbot
Author Rish
Published 21 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5093/5093.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Twitter/X content analysis & insights with Grok AI and Telegram delivery do?

🏻 Tutorial Video Introducing X Ray Pro : Your Intelligent X (Twitter) & Web Insight Machine! Hey n8n community! Tired of sifting through endless feed...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Chatbot use case.