Templates / Translate & repost Twitter threads in multiple languages with OpenAI

Translate & repost Twitter threads in multiple languages with OpenAI

Needs changes

by enes cingoz · 5,402 views · created 2025-05-19 · Social Media, Multimodal AI

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), Function (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 40 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Notion and X (Formerly Twitter).

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. config (Code): runs custom JavaScript code
  2. Extract Tweet ID and Username (Function): runs custom JavaScript (legacy Function node)
  3. Execute Workflow (Execute Sub-workflow): calls another n8n workflow
  4. Get first tweet (HTTP Request): calls an HTTP API
  5. Merge: merges the data from its input branches
  6. Extract tweets list (Code): runs custom JavaScript code
  7. Extract Conversation and Author ID (Function): runs custom JavaScript (legacy Function node)
  8. Merge: merges the data from its input branches
  9. Get Tweet Replies (HTTP Request): calls an HTTP API
  10. MAIN_LOOP (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 24 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelNotionX (Formerly Twitter)

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in Translator_openai (v1.7), Rewriter (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • 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).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Translator_openai (v1.7), Rewriter (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Function (legacy)
Extract Tweet ID and Username, Extract Conversation and Author ID
Code node, mode 'Run Once for All Items'

Nodes used (17)

From the author

Twitter Thread (Flood) Translator & Poster What it does - Thread Extraction: Automatically detects and extracts all tweets from a provided Twitter thread (flood) link. - Translation: Translates each extracted tweet into your target language using OpenAI. -…

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.