Templates / Scheduled auto-replies to targeted tweets using X (Twitter) API

Scheduled auto-replies to targeted tweets using X (Twitter) API

Ready for 3.0

by Masaki Go ✓ · 512 views · created 2025-11-13 · Social Media

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 15 nodes and runs on a schedule (every 30 minutes). It uses only n8n's built-in nodes. It also calls api.twitter.com over HTTP.

How it runs

Trigger: On a schedule (every 30 minutes).

  1. Search Tweets (HTTP) (HTTP Request): calls api.twitter.com
  2. Get Latest Tweet Per Account (Code): runs custom JavaScript code
  3. Is Success? (If): checks a condition and branches into true / false
  4. Prepare Reply (Code): runs custom JavaScript code
  5. Is Rate Limit? (If): checks a condition and branches into true / false
  6. Send Reply (HTTP) (HTTP Request): calls api.twitter.com (POST)
  7. Rate Limit Error (Edit Fields (Set)): sets 4 fields: status, reason, error_message…
  8. Is No Tweets? (If): checks a condition and branches into true / false
  9. Is Duplicate? (If): checks a condition and branches into true / false
  10. No Tweet Found (Edit Fields (Set)): sets 3 fields: status, reason, checked_at

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

HTTP calls to: api.twitter.com

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 (5)

From the author

What it does This workflow automates your X (Twitter) engagement by acting as an auto-responder. It runs on a schedule, searches for new tweets based on a specific query (like a hashtag, keyword, or mention), and automatically sends a reply. How it works 1.…

Excerpt from Masaki Go'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.