Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. When Ad Variant Received
  2. Set Routing Parameters
  3. Validate and Normalize Variant
  4. If Gatekeeper Passes
  5. Handle Rejected Variant
  6. Verify Processing Status
  7. If Already Processed
  8. Handle Duplicate Variant
  9. Build Request for Claude
  10. Post to Claude API
  11. Check AI Response Validity
  12. If AI Decision Valid
  13. Fallback Rule Router
  14. Prepare Action Plans

34 steps in total.

Similar automations