Skip to main content

Score and rank ad copy variants with Claude and Google Sheets

Workflow preview

Workflow preview
100%
Score and rank ad copy variants with Claude and Google Sheets preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow receives ad copy variants via a webhook, uses Anthropic Claude to critique and then score and rank each variant, appends the results to Google Sheets, and returns the r...

Best for

  • Content Creation automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Milos Vranes.

Original n8n.io source

1.1 Workflow description

Title
Score and rank ad copy variants with Claude and Google Sheets
Workflow name
Score and rank ad copy variants with Claude and Google Sheets

Quick overview

This workflow receives ad copy variants via a webhook, uses Anthropic Claude to critique and then score and rank each variant, appends the results to Google Sheets, and returns the ranked list in the webhook response.

How it works

  1. Receives a POST request via a webhook containing a brief, ICP, brand voice, platform, and an array of ad copy variants.
  2. Applies default values for missing brief/ICP/brand voice fields and normalizes each variant into a consistent structure.
  3. Sends the brief, ICP, brand voice, and variants to Anthropic Claude to generate structured critique notes for each variant.
  4. Sends the variants and critique notes to Anthropic Claude again to produce 0–100 scores across multiple dimensions plus an overall score and improvement suggestions.
  5. Parses the Claude responses, merges scores with the original variants, sorts by overall score, and assigns a rank.
  6. Appends each ranked variant (including scores, verdict, and strongest/weakest lines) to a Google Sheets tab and returns the full ranked list to the webhook caller.

Setup

  1. Create an Anthropic API key and add it as an HTTP Header Auth credential (x-api-key) used by both Claude HTTP requests.
  2. Connect your Google Sheets credentials and replace the placeholder document ID with your target spreadsheet ID.
  3. Create a Google Sheet tab named “Ad Copy Scores” with columns matching the fields the workflow appends (for example: submittedAt, platform, rank, id, headline, body, cta, hook, icp_fit, brand_voice, cta_clarity, overall, verdict, top_fix, strongest_line, weakest_line).
  4. Copy the webhook URL from n8n and configure your source app to POST the variant payload to that endpoint.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - When Variants Received

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 6 - Prepare Evaluation Settings

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Normalize Variants Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Post to Claude for Critic Notes

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Post to Claude for Scoring

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Parse and Sort Scores

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Append Scores to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 12 - Return Ranked Variants Response

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

3. Summary Table

Workflow Score and rank ad copy variants with Claude and Google Sheets
Complexity intermediate
Nodes 12
Categories Content Creation, AI Summarization
Author Milos Vranes
Published 03 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16096/16096.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Score and rank ad copy variants with Claude and Google Sheets do?

Quick overview This workflow receives ad copy variants via a webhook, uses Anthropic Claude to critique and then score and rank each variant, appends the results to Google Sheets, and returns the r...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, AI Summarization use case.