Skip to main content

Auto scrape X image posts & publish to Telegram with Google Sheets storage

Workflow preview

Workflow preview
100%
Auto scrape X image posts & publish to Telegram with Google Sheets storage preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who’s it for This automation template is designed for content creators, social media managers, and automation enthusiasts who want to automatically scrape X (Twitter) posts with images and publish ...

Best for

  • Social Media automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.removeduplicates, n8n-nodes-base.splitinbatches, n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.wait, n8n-nodes-base.telegram

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Auto scrape X image posts & publish to Telegram with Google Sheets storage
Workflow name
Auto scrape X image posts & publish to Telegram with Google Sheets storage

Who’s it for

This automation template is designed for content creators, social media managers, and automation enthusiasts who want to automatically scrape X (Twitter) posts with images and publish them directly to a Telegram channel — without writing a single line of code.

With this workflow, you can keep your Telegram community constantly updated with the latest tweets from any account. It collects, cleans, and shares content in a fully automated cycle.

How It Works

  • Trigger – Start scraping from a specific X (Twitter) account using its unique ID and username.
  • Fetch Data – The workflow calls the Twitter API (or a scraping endpoint) to gather recent tweets.
  • Format & Filter – Extracts key fields (author name, username, text, URL, creation date, images, video) and keeps only tweets containing text and at least one image.
  • Remove Duplicates – Ensures no tweet is processed or posted twice.
  • Save to Google Sheets – Stores cleaned tweet data for backup and future use.
  • Clean Text – Removes unwanted links and hashtags for a polished message.
  • Loop & Publish – Sends each tweet (text + image) to your Telegram channel.
  • Delay – Waits 3 minutes between each post to prevent spamming.

How to Use

  • Enter the Twitter ID and username of the target account.
  • Connect your Google Sheets account to store scraped tweets.
  • Connect your Telegram bot and specify the channel for publication.
  • Run the workflow — tweets will be automatically scraped, filtered, saved, and posted to Telegram.

Requirements

  • A valid Twitter API connection or alternative scraping endpoint.
  • A Google Sheet to store tweet data.
  • A Telegram Bot linked to your channel.
  • n8n (or any compatible automation platform) to run the workflow.

Need help

Contact me for consulting and support: LinkedIn / YouTube

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 - Remove Duplicates

Type / Role
n8n-nodes-base.removeDuplicates - removeDuplicates
Config choices
Version 2

Block 2 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 3 - Trigger : Start scraping on X

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

Block 4 - Twitter API

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

Block 5 - Filter only tweets that have text and an image

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Save the scraping Data in a google sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 7 - Format and remove links from the scraping data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Wait 3 minutes per post

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - Send a photo and text in your channel

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

Block 10 - Sticky Note

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

Block 11 - Sticky Note1

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

Block 12 - Sticky Note2

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

Block 13 - Sticky Note4

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

Block 14 - Sticky Note3

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

3. Summary Table

Workflow Auto scrape X image posts & publish to Telegram with Google Sheets storage
Complexity intermediate
Nodes 14
Categories Social Media
Author Jaures NYA
Published 13 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9568/9568.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 Auto scrape X image posts & publish to Telegram with Google Sheets storage do?

Who’s it for This automation template is designed for content creators, social media managers, and automation enthusiasts who want to automatically scrape X (Twitter) posts with images and publish ...

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 Social Media use case.