Review AI ad copy with Claude and route outcomes to HubSpot and Slack
Ready for 3.0What this workflow does
This workflow has 34 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Gmail and Google Sheets. It also calls api.anthropic.com, slack.com and api.hubapi.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Set Routing Parameters (Edit Fields (Set)): sets 6 fields: claude_model, slack_channel_urgent, slack_channel_review…
- Set Report Parameters (Edit Fields (Set)): sets 6 fields: report_email, lookback_hours, run_id…
- Validate and Normalize Variant (Code): runs custom JavaScript code
- Verify Action Log Table (Data table): create (table)
- If: checks a condition and branches into true / false
- Read Action Log Data (Data table): get
- Verify Processing Status (Data table): get
- Handle Rejected Variant (Code): runs custom JavaScript code
- Calculate Run Statistics (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
…plus 21 more steps. See the full node list below.
Services it uses
HTTP calls to: api.anthropic.com, slack.com, api.hubapi.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 (12)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Gmail
n8n-nodes-base.gmail - Convert to File
n8n-nodes-base.convertToFile - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow receives AI-generated ad copy variants via a webhook, validates and deduplicates them, then uses Anthropic Claude to approve, review, or block each variant and (in live mode) creates a HubSpot task and posts a Slack alert while…