Templates / Automated Twitter brand promotion with Anthropic Claude AI & Google Sheets reporting

Automated Twitter brand promotion with Anthropic Claude AI & Google Sheets reporting

Needs changes

by Pavlo Hurhu · 532 views · created 2025-08-07 · Social Media, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 20 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Anthropic Chat Model, Google Sheets and X (Formerly Twitter). It also calls api.twitterapi.io over HTTP.

How it runs

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

  1. Automaticaly set todays Date (Edit Fields (Set)): sets 1 field: date
  2. Check if there's a Google Sheet for todays Date (Google Sheets): uses Google Sheets
  3. Code: runs custom JavaScript code
  4. SET KEYWORD (Edit Fields (Set)): sets 1 field: keyword
  5. Twitter Search by Keyword (HTTP Request): calls api.twitterapi.io
  6. Split tweets (Code): runs custom JavaScript code
  7. Compose Comment (AI Agent): runs an AI agent, with model: Anthropic Chat Model
  8. Merge: merges the data from its input branches
  9. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Merge: merges the data from its input branches

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

Services it uses

Anthropic Chat ModelGoogle SheetsX (Formerly Twitter)

HTTP calls to: api.twitterapi.io

Before you upgrade to n8n 3.0

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

  • AI Agent v1 (old agent modes) in Compose Comment (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

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 →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Compose Comment (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

This n8n workflow promotes your brand/company/platform by mentioning it in Twitter comments. The responses look human-like, the workflow is robust and designed to avoid bans. Good to know The workflow is configured to maximize efficiency while minimizing…

Excerpt from Pavlo Hurhu'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.