Templates / Extract and merge Twitter (X) threads using TwitterAPI.io

Extract and merge Twitter (X) threads using TwitterAPI.io

Needs changes

by enes cingoz · 2,810 views · created 2025-05-15 · Market Research

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when another workflow calls it (plus 1 other trigger). It uses only n8n's built-in nodes.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Extract Tweet ID and Username (Function): runs custom JavaScript (legacy Function node)
  2. Get first tweet (HTTP Request): calls an HTTP API
  3. Merge: merges the data from its input branches
  4. Extract Conversation and Author ID (Function): runs custom JavaScript (legacy Function node)
  5. Merge: merges the data from its input branches
  6. Get Tweet Replies (HTTP Request): calls an HTTP API
  7. Filter: keeps only the items that match a condition
  8. Fetch tweets which are connected to first tweet (Code): runs custom JavaScript code

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Extract Tweet ID and Username, Extract Conversation and Author ID: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Extract Tweet ID and Username, Extract Conversation and Author ID
Code node, mode 'Run Once for All Items'

Nodes used (8)

From the author

Twitter (X) Thread Fetcher: Extract and Merge Tweets from Threads What it does - Thread Detection: Automatically detects whether the provided Twitter link is a single tweet or a thread. - Tweet Extraction: Fetches and returns the content of a single tweet, or…

Excerpt from enes cingoz's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.