Templates / Find relevant X tweets based on your profile and suggest responses

Find relevant X tweets based on your profile and suggest responses

Ready for 3.0

by @OnePromptMagic · 753 views · created 2025-06-10 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 19 nodes and runs when someone submits an n8n form (“Perfect Niche Tweets”). Along the way it connects OpenAI Chat Model. It also calls api.twitterapi.io over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Perfect Niche Tweets”).

  1. Get User Tweets (HTTP Request): calls api.twitterapi.io
  2. Map Tweets (Code): runs custom JavaScript code
  3. User Profile Analyser (AI Agent): runs an AI agent, with model: o3-mini; output parser: profile schema
  4. Keyword Analyser (AI Agent): runs an AI agent, with model: 4.1-mini; output parser: keywords schema
  5. combine keywords (Code): runs custom JavaScript code
  6. Split Out: splits a list into separate items
  7. Get relevant tweets (HTTP Request): calls api.twitterapi.io
  8. Aggregate: combines items into one
  9. Tweet Writer (AI Agent): runs an AI agent, with model: o3-mini; output parser: tweet schema
  10. Replace em dash (Code): runs custom JavaScript code

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

Services it uses

OpenAI Chat Model

HTTP calls to: api.twitterapi.io

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

What This Workflow Does Step 1: Analyzes your recent tweets for personality & style Step 2: Generates strategic keywords based on your profile Step 3: Searches for trending tweets in your niche Step 4: Creates personalized responses & original tweets Step 5:…

Excerpt from @OnePromptMagic'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.