Skip to main content

Generate Google ad copy automatically with Claude 3.5, Channable & Relevance AI

Workflow preview

Generate Google ad copy automatically with Claude 3.5, Channable & Relevance AI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview


๐Ÿš€ Channable + Google Ads + Relevance AI: Scalable AI Workflow for Automated Ad Copy Generation & Publishing


๐Ÿงฉ Overview

This workflow automates the entire ad creation process for Google Ads by integrating product data, AI-generated copy, compliance checks, and publication into your marketing pipeline.

It connects n8n, Relevance AI, Google Sheets, and optionally Channable to:

  • Fetch product data from your catalog
  • Generate Google Text Ad headlines and descriptions using Relevance AI
  • Validate character limits and ensure Google Ads compliance
  • Route non-compliant ads to a Slack review channel
  • Save compliant, ready-to-publish ads in Google Sheets
  • Notify your marketing team automatically after each generation cycle

๐Ÿง  Key Benefits

โœ… 100% automated ad copy pipeline โœ… AI-generated, human-quality Google Ads text โœ… Built-in compliance verification (Google Ads policy) โœ… Google Sheet integration for team review โœ… Daily automatic schedule (zero manual effort) โœ… Slack alerts for QA and transparency โœ… Modular design โ€” extendable for Shopping and Performance Optimization โœ… Scalable for 10 โ†’ 10,000+ product ads


โš™๏ธ System Architecture

Tech Stack

  • n8n โ€“ Automation Orchestrator
  • Relevance AI โ€“ AI tools for copy generation and policy compliance
  • Google Sheets โ€“ Data storage and team collaboration
  • Slack โ€“ Real-time alerts and notifications
  • (Optional) Channable โ€“ Product feed integration

๐Ÿงญ Workflow Logic

Daily Trigger (00:00)
   โฌ‡๏ธ
1๏ธโƒฃ Get Product Feed (Channable or custom API)
   โฌ‡๏ธ
2๏ธโƒฃ Split Into Batches (50 products each)
   โฌ‡๏ธ
3๏ธโƒฃ Generate Ad Copy (Relevance AI tool โ†’ Claude 3.5 prompt)
   โฌ‡๏ธ
4๏ธโƒฃ Validate Character Limits (JS node: max 30 headline / 90 description)
   โฌ‡๏ธ
5๏ธโƒฃ Compliance Check (Relevance AI agent โ†’ Google Ads policies)
   โฌ‡๏ธ
6๏ธโƒฃ IF Compliant โ†’ CSV / Google Sheets
    โ†ณ โŒ Non-Compliant โ†’ Slack Alert
   โฌ‡๏ธ
7๏ธโƒฃ Aggregate Batches + Generate CSV
   โฌ‡๏ธ
8๏ธโƒฃ Save to Google Sheets (โ€œGenerated Adsโ€ tab)
   โฌ‡๏ธ
9๏ธโƒฃ Slack Notification โ†’ Summary Report

๐Ÿ“‹ Environment Variables

Set these in n8n โ†’ Settings โ†’ Variables โ†’ Add Variable

Copy-paste from your ENVIRONMENT_VARIABLES_CORRECTED.txt.

Includes:

  • โœ… Relevance AI region, API key, tool & agent IDs
  • โœ… Google Ads, Merchant Center, and Sheets credentials
  • โœ… Slack channel name
  • โœ… Optional Channable endpoint

Example:

RELEVANCE_AI_API_URL=https://api-f1db6c.stack.tryrelevance.com/latest
RELEVANCE_TOOL_AD_COPY_ID=bueQG8io04dw
RELEVANCE_AGENT_COMPLIANCE_ID=xT29mQ4QKsl
GOOGLE_SHEET_ID=1q2w3e4r5t6y7u8i9o0p
SLACK_CHANNEL=#google-ads-automation

๐Ÿ—๏ธ Node-by-Node Breakdown

Node Description Endpoint / Logic
๐Ÿ•“ Schedule Trigger Runs daily at 00:00 Cron 0 0 * * *
๐Ÿ“ฆ Get Product Feed Pulls product data from Channable or custom API GET {{$env.CHANNABLE_API_URL}}/v1/projects/{{$env.PROJECT_ID}}/items
๐Ÿงฎ Split Into Batches Processes 50 products at a time Avoids rate limits
โœ๏ธ Generate Ad Copy (Relevance AI) Calls AI tool for each product POST {{$env.RELEVANCE_AI_API_URL}}/tools/google_text_ad_copy_generator/run
๐Ÿ” Validate Character Limits JS validation (โ‰ค30 headline / โ‰ค90 description) Truncates smartly
๐Ÿง  Compliance Check Agent Verifies Google Ads compliance POST {{$env.RELEVANCE_AI_API_URL}}/agents/google_ads_compliance_checker/run
โš–๏ธ IF Compliant Routes APPROVED vs REJECTED "contains 'APPROVED'"
๐Ÿ’พ Format for CSV Formats compliant ads for export Maps ID, headline, desc, URLs
๐Ÿ“Š Aggregate Batches Combines all results Merges datasets
๐Ÿงฑ Generate CSV File Converts JSON โ†’ CSV Escaped string-safe format
๐Ÿ“‘ Save to Google Sheets Saves reviewed ads Sheet: Generated Ads
๐Ÿ“ข Slack Notification (Success) Posts completion summary Shows ad count, timestamp
๐Ÿšจ Slack Alert (Non-Compliant) Notifies team for review Includes issues, category

๐Ÿ”‘ API Authentication Setup

๐Ÿ”น Relevance AI

  • Create โ€œHTTP Header Authโ€ credential

    Header Name: Authorization
    Header Value: Bearer {{$env.RELEVANCE_AI_API_KEY}}
    

๐Ÿ”น Google Sheets

  • Credential type: โ€œGoogle OAuth2 APIโ€

  • Scopes:

    https://www.googleapis.com/auth/spreadsheets
    https://www.googleapis.com/auth/drive.file
    

๐Ÿ”น Slack

  • Create Slack App โ†’ Add Bot Token Scopes โ†’ chat:write
  • Paste token in n8n โ€œSlack APIโ€ credential.

๐Ÿ”น (Optional) Channable

  • Header Auth:

    Bearer {{$env.CHANNABLE_API_TOKEN}}
    

๐Ÿงฉ Google Sheet Template

Sheet name: Generated Ads

Columns:

| product_id | headline | description | final_url | display_url | generated_at |

Optional: Add compliance_status or notes columns for QA.


โš™๏ธ Testing Procedure

  1. Manual Trigger: Disable the schedule โ†’ click โ€œExecute Workflowโ€.

  2. Batch Size: Start small (3 products).

  3. Expected Output:

    • โœ… Ad copy generated
    • โœ… Character limits validated
    • โœ… Slack alerts for rejects
    • โœ… Google Sheet filled

Check logs in Executions for errors. Re-enable the cron trigger after successful validation.


๐Ÿงพ Example Output

product_id headline description final_url display_url generated_at
12243 โ€œEco Bamboo Socksโ€ โ€œSoft, breathable comfort for everyday wear.โ€ https://shop.com/socks shop.com 2025-10-22T00:00:00Z

๐Ÿ“ฌ Slack Alert Templates

โœ… Success Notification

โœ… *Google Ads Generation Complete*

๐Ÿ“Š *Summary:*
โ€ข Total Ads Generated: 50
โ€ข Saved to Google Sheets: Generated Ads
โ€ข Timestamp: 2025-10-22T00:00:00Z

โš ๏ธ Non-Compliant Alert

โš ๏ธ Non-Compliant Ad Flagged

Product: Bamboo Socks
Issues:
- Contains โ€œFree Shippingโ€
- Headline too long

Timestamp: 2025-10-22T00:00:00Z

๐Ÿงฐ Maintenance & Monitoring

Frequency Task
Daily Check Slack alerts for rejects
Weekly Review ad performance metrics
Monthly Update Relevance AI prompts
Quarterly Refresh API tokens and variables

๐Ÿ“Š Success Metrics

  • โœ… Compliance approval rate: >85%
  • ๐Ÿšซ Disapproval rate: <5%
  • ๐Ÿ“ˆ CTR improvement: +15โ€“25%
  • โฑ๏ธ Time saved: 10โ€“15 hours/week
  • ๐ŸŒ Scalable: 1,000+ ads/day

๐Ÿชœ Next Steps

  1. Deploy and monitor for 7 days.
  2. After 30 days โ†’ activate Workflow 2: Performance Optimization Loop.
  3. Extend to Shopping Feed Optimization.
  4. Add multi-language generation using Relevance AI.
  5. Integrate Google Ads API publishing (full automation).

๐Ÿ”— Resources


๐ŸŽ‰ Conclusion

You now have a production-ready, scalable AI-powered ad generation system integrating Channable, Google Ads, and Relevance AI โ€” built entirely on n8n.

This delivers:

  • ๐Ÿ’ก AI creativity at scale
  • โœ… Google Ads policy compliance
  • โš™๏ธ Hands-free daily automation
  • ๐Ÿ“Š Transparent reporting and collaboration

> Start small โ†’ validate โ†’ scale to 10,000+ ads per day. > Within weeks, youโ€™ll have a self-learning, always-on ad pipeline driving consistent performance.