Library / AI Agents & Assistants
AI Agents & Assistants
Review ad copy variants with Claude and route results to HubSpot and Slack
Runs on webhook calls: validates ad copy variants, has Claude classify and route them, creates HubSpot tasks and Slack alerts, and logs outcomes. A daily digest is also sent by email and Slack.
What it does
## Review AI ad copy with Claude and route it to HubSpot and Slack ### How it works This workflow receives ad copy variants by webhook, validates and normalizes them, prevents duplicate processing, then asks Claude to classify the variant and decide the right routing. It plans follow-up actions, optionally creates a HubSpot task and posts a Slack alert in live mode, logs every outcome, and responds to the sender. A separate reporting lane can run manually or on a daily schedule to summarize the action log, ask Claude for insights, and distribute the digest by email, Slack, HTML, and Google Sheets. ### Setup steps - Configure the webhook URL and expected payload fields for incoming ad variants, including brief and variant identifiers used for idempotency. - Add Anthropic API credentials or headers for both Claude HTTP request nodes, and set the desired Claude model in the routing/report configuration nodes. - Configure HubSpot API authentication and task object fields for the HubSpot task creation node. - Configure Slack bot token/authentication and set the urgent, review, and digest channel IDs in the relevant Set nodes. - Set up the n8n Data Table used as the action log and ensure both the processing and reporting lanes point to the same table. - Configure Gmail credentials and recipient email for report delivery. - Configure Google Sheets credentials and target spreadsheet/sheet for the decision export. - Review the Live Mode condition so testing runs can assemble/log outcomes without posting to external systems. ### Customization You can tune the validation rules, Claude prompts, fallback routing rules, Slack channels, report lookback window, and live-mode behavior to match your campaign review process.
The steps
- When Ad Variant Received
- Set Routing Parameters
- Validate and Normalize Variant
- If Gatekeeper Passes
- Handle Rejected Variant
- Verify Processing Status
- If Already Processed
- Handle Duplicate Variant
- Build Request for Claude
- Post to Claude API
- Check AI Response Validity
- If AI Decision Valid
- Fallback Rule Router
- Prepare Action Plans
34 steps in total.
Similar automations
CRM & Sales PipelineScore and route web form leads using Claude Haiku, HubSpot and Slack24 stepsEmail AutomationCreate UGC video ad variants from Google Sheets with GenMagic and Gmail17 stepsContent Writing & GenerationGenerate Facebook Ad Variants from Competitor Ads with GPT-426 stepsAI Agents & AssistantsQualify and route inbound leads with GPT-4.1, HubSpot, Google Calendar and Slack38 steps