Spot social media trends and generate post ideas with Claude and Google Sheets
Needs changesWhat this workflow does
This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model and Google Sheets. It also calls api.twitter.com, oauth.reddit.com and trends.google.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate Config & Build Parameters (Code): runs custom JavaScript code
- Fetch Twitter Trending Topics (HTTP Request): calls api.twitter.com
- Fetch Reddit Hot Topics (HTTP Request): calls oauth.reddit.com
- Fetch Google Trends (HTTP Request): calls trends.google.com
- Merge: merges the data from its input branches
- Wait: pauses until after execution
- Parse & Filter Trending Topics (Code): runs custom JavaScript code
- Generate Content Ideas with Claude AI (AI Agent): runs an AI agent, with model: Claude AI Model
- Parse Claude Response (Code): runs custom JavaScript code
- Wait: pauses until after execution
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.twitter.com, oauth.reddit.com, trends.google.com
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 Generate Content Ideas with Claude AI (v1.6): 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).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generate Content Ideas with Claude AI (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Wait
n8n-nodes-base.wait - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Google Sheets
n8n-nodes-base.googleSheets - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This AI-powered workflow monitors trending topics across multiple social platforms, generates creative post ideas with captions and visual suggestions, and recommends optimal posting times based on engagement data. How it works 1. Trigger - Runs on schedule…