Summarize Facebook and Instagram campaign comments with Apify and Claude
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Configure report (Edit Fields (Set)): sets or maps fields
- Use demo data? (If): checks a condition and branches into true / false
- Load fictional launch comments (Code): runs custom JavaScript code
- Choose the comments Actor (Code): runs custom JavaScript code
- Download campaign brief (Code): runs custom JavaScript code
- Collect public comments (HTTP Request): calls an HTTP API (POST)
- Prepare comments (Code): runs custom JavaScript code
- Prepare classification request (Code): runs custom JavaScript code
- Classify comments with Claude (HTTP Request): calls api.anthropic.com (POST)
- Validate comment labels (Code): runs custom JavaScript code
HTTP calls to: api.anthropic.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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow generates a sentiment and theme brief from comments on a public Facebook or Instagram post, using Apify to collect comments (live mode) and Anthropic Claude to classify them, then outputs a readable report plus a downloadable CSV.…