Connect Awin to Claude

Connect Awin to Claude with Supermetrics and turn your Awin data into answers, reports, and next steps without leaving Claude.

Don’t take our word. Try it free today.

Illustrative Claude response for Awin: Use Supermetrics. Show Awin confirmed value, confirmed commission and declined value by publisher for last month, Publisher report, UTC timezone.

At a glance

What it does

Claude reads your Awin affiliate data through the Supermetrics connector, covering publisher and creative performance plus individual transactions.

What you need

You need Awin API credentials. You copy an API token from Awin and paste it into the Supermetrics Hub.

Date range and timezone

Every Awin query needs a date range and a timezone. Creative reports also need a region.

Read-only

Claude reads and recommends. Commission changes happen in Awin.

Before you start

Claude

Use a Claude account that allows connectors. You’ll find Supermetrics under Customize > Connectors. If the menu doesn’t appear, ask your Claude administrator. Anthropic’s custom connectors guide covers remote connectors in detail.

Supermetrics

A trial starts automatically at login, so you don’t need a subscription to begin. If your company already pays, open the Supermetrics Hub and check for an AI chats destination. If you don’t have one, upgrade or swap an existing destination.

The connection follows the subscription active at first connection (Supermetrics for Claude docs). Plans are listed on the pricing page.

Awin

You need Awin API credentials. To get your API token, follow the Awin connection guide:

  1. Log in to the Awin API credentials page.
  2. Enter your Awin password and click “Show my API token”.
  3. Copy the token.

You paste the token into the Supermetrics Hub in step 3 below. The Hub lets you share an authentication link, which helps when the person holding the Awin login isn’t the person using Claude.

Start here

How do you connect Awin to Claude?

1

Add Supermetrics to Claude. Open the Supermetrics for Claude page and click Try in Claude. Alternatively, in Claude, open Customize, then Connectors, and search for Supermetrics.

Option A: from the Supermetrics site
2

Select a team. Sign in to Supermetrics and choose the team to use. A trial begins here if there’s no subscription.

3

Authorize Awin in the Hub. Open Awin in the Supermetrics Hub (or use the login link Claude gives you), paste your API token, name the login and click Start.

Illustrative Supermetrics Hub form for connecting Awin.
4

Name Supermetrics and pick accounts. When several data tools are connected, write “use Supermetrics” so Claude chooses the right connector. Then let Claude list your Awin accounts and select the ones you want.

5

Run one small query. Try: “Use Supermetrics. Show Awin confirmed value and confirmed commission by publisher for last month, Publisher report, UTC timezone.”

6

Check it, then go deeper. Compare totals with Awin’s own reports for the same dates and timezone. If they agree, move on to transactions, vouchers, and creatives.

Building your own agent or n8n workflow instead? Use the standalone Supermetrics MCP server, which needs a Supermetrics subscription with API access. For more setup help, see the AI tools connection guide.

What can you ask Claude about Awin?

Swap in your own dates and timezone.

Goal

Prompt

What you get

Reporting

Use Supermetrics. For last quarter, list my top 15 publishers by confirmed commission (Publisher report, UTC).

Your top 15 publishers, ranked by confirmed commission

Reporting

Show confirmed, pending, and declined commission by month for the last 6 months.

Commission by status for each month

Diagnosis

Which decline reasons cost me the most commission this month?

Decline reasons, ranked by commission lost

Diagnosis

List transactions from last month where the commission was amended, with the reason and the old and new amounts.

A short audit list of amended commission

Comparison over time

Does the average time between click and conversion differ by publisher over the past 90 days?

Average click-to-sale time for each publisher, in seconds

Cross-source

Put Awin confirmed value by month next to Google Ads cost by month for the past 6 months.

Awin sales and Google Ads cost lined up by month

More example prompts

Goal

Prompt

What you get

Comparison over time

Compare sale amount for orders with and without a voucher code, month by month, for the past 6 months.

Voucher and non-voucher sales side by side for each month

Comparison over time

Which creatives lost clicks last month compared with the month before?

Creatives ranked by change in clicks

Cross-source

Compare Awin sale amount with Meta Ads spend by week for last quarter.

Awin sales and Meta Ads spend lined up by week

Reporting

List last month’s transactions by commission status and whether the commission has been paid to the publisher.

A list of commission for finance to follow up on

More patterns: AI chats use cases.

Group last month's declined transactions by decline reason and show reported commission amount and currency.

What can you do with Awin data in Claude?

Six tasks fit this connector.

Conversion lag

Analyze conversion lag to see how long each publisher takes to turn a click into a sale, and which ones convert slowly.

High-value publishers

Prioritize high-value affiliates by ranking publishers on confirmed sales value and confirmed commission. Compare with clicks to find affiliates that send traffic but earn little.

Commission leakage

Audit commission leakage, since declined and amended transactions change what you pay out. Review decline reasons and amendment reasons, and compare old and new commission amounts.

Voucher efficiency

Optimize voucher efficiency by seeing which voucher codes drive sales and comparing sale amounts for voucher and non-voucher orders.

Payment status

Check payment status to see which commission has been paid out to publishers, so finance can follow up on unpaid commission.

Creative performance

Compare creatives by clicks and commission for each creative and tag to see which banners or links earn the most commission per click.

Conversion lag and amended commission are specific to affiliate data. For a recommendation on commission rates, ask Claude to compare each publisher’s total commission with the sales value it drives.

How do you combine Awin with other data in Claude?

Awin sits next to your other Supermetrics sources in the same chat, so you can ask questions that span them.

Affiliate and paid spend

Set Awin confirmed value beside Google Ads and Meta Ads spend for the same days to see whether affiliate sales rise when paid spend does.

Network share of orders

With WooCommerce in Claude, compare weekly order totals with Awin sale amounts to see what share of orders the network claims.

Email and voucher orders

With ActiveCampaign in Claude, check whether email sends coincide with spikes in voucher-coded orders.

The limit: sources join only on a shared dimension. Date works. Awin’s order reference (trans__order_ref) can match an order number in your store, but only if both systems store the same value. Supermetrics doesn’t create that match.

What Awin data can Claude query?

In Awin, you choose a report type for each query, and every field in that query must come from it. There are five report types. Each field ID starts with its report type, so pub__ fields belong to the Publisher report and trans__ fields to the Transactions report.

A query always needs a date range. Every report type requires the Timezone setting (AWIN_CC_TIMEZONE, with 16 options such as UTC, Europe/London, and US/Eastern).

Report type

What it covers

Example field IDs

Publisher report (pub)

Per-publisher traffic and transaction totals, by month

pub__publisher_name, pub__clicks, pub__confirmed_value, pub__declined_comm, pub__yearmonth

Publisher report for DWH (pub_dwh)

The same measures as pub, with a daily date (pub_dwh__date)

pub_dwh__date, pub_dwh__publisher_name, pub_dwh__total_value

Creative report (crea)

Per-creative results. Also needs Region and Date type settings

crea__creative_name, crea__tag_name, crea__impressions, crea__total_comm

Creative report for DWH (crea_dwh)

Creative measures with a daily date

crea_dwh__date, crea_dwh__clicks, crea_dwh__confirmed_comm

Transactions report (trans)

One row per transaction with status, voucher, device, and payment details

trans__transaction_id, trans__order_ref, trans__commission_amount, trans__sale_amount, trans__decline_reason

Creative reports add two settings. Region (AWIN_CC_REGION) has 20 options, including BR for Brazil programs running in BRL and BU for Brazil programs running in USD. Date type (AWIN_CC_DATETYPE) is either Transaction (the default) or Validation.

The field list totals 179: 79 metrics and 100 dimensions.

Limits, edge cases, and data notes

Situation

What happens

What to do

Required settings

Date range, Timezone, and, for creative reports, Region and Date type. See What Awin data can Claude query?

State the period and settings you want, and ask Claude to show the query

Currency

Dimensions such as pub__currency and trans__sale_currency carry it

Check currency before adding across programs

Rate limit

The Awin API allows 20 requests per minute per user (Awin API rate limits). Splitting data by day isn’t possible unless you move data to a warehouse destination. Heavy use can return “API rate limit exceeded”

Ask for monthly or transaction-level data, wait and retry, or ask Awin to raise your limit. Supermetrics can’t raise it

Field glossary

Field ID

Plain-English meaning

Type

Watch out

pub__publisher_name

Name of the publisher

Dimension

Publisher report only

pub__clicks

Clicks

Metric

Publisher report only. The crea__ and DWH versions are separate fields

pub__ctr

Clicks divided by impressions

Metric

Can’t be summed or averaged across rows

pub__confirmed_value

Value of confirmed transactions

Metric

Monetary. Check pub__currency

pub__declined_comm

Commission of the declined transactions

Metric

Monetary, and useful against pub__total_comm

pub__pending_comm

Commission of the pending transactions

Metric

Pending is its own status beside confirmed, bonus, and declined. Keep them separate

trans__commission_amount

Commission amount

Metric

Monetary. Compare with trans__commission_currency

trans__old_commission_amount

Old commission amount

Metric

Monetary. Read it with trans__amended and trans__amend_reason

trans__lapse_time

The conversion time in seconds

Metric

Measured in seconds. Ask Claude to convert it to days

trans__decline_reason

Transaction decline reason

Dimension

Transactions report only. Read it with trans__commission_status

trans__voucher_code_used

Whether a voucher code was used

Dimension

Pair with trans__voucher_code for the code itself

trans__transaction_date

The date and time of the click

Dimension

Transactions report only

What is the Awin MCP connector for Claude?

The Awin MCP connector for Claude is the Supermetrics connector that lets Claude read your Awin data through the Model Context Protocol (MCP).

MCP, the Model Context Protocol, is an open standard for letting AI applications call outside tools and data (modelcontextprotocol.io). The Supermetrics connector is one such tool. Claude picks the Awin fields that answer your question, and Supermetrics retrieves them for Claude to present.

What Claude sees is the affiliate data Supermetrics exposes. That means aggregated publisher and creative metrics, plus a transaction-level report with order references, voucher codes, decline reasons, and commission amounts.

Use AI chats to ask questions in Claude. For custom agents, n8n workflows or other MCP clients, use the standalone Supermetrics MCP server.

How Awin data reaches Claude

Which way should you connect Awin to Claude?

Approach

Setup effort

Data scope

Cross-source blending

Maintenance

Suits

Supermetrics connector for Claude

Low: add the connector, enter your Awin token once

Awin plus other sources in your Supermetrics account

Yes, inside one chat

Handled by Supermetrics

Affiliate and performance marketers asking questions in chat

Supermetrics MCP server (custom client)

Medium: configure the MCP host yourself

Same sources

If your agent merges results

You run the client

Engineers building agents

CSV export and upload

Low per file, repeated each time

One report per file

Only if you merge files

Manual refresh

A single point-in-time review

Direct API and custom code

High: you build a script around the Awin API

Whatever you code

Whatever you code

You maintain code and token

Teams with spare engineering time

Choose the Supermetrics connector for Claude if you want commission, decline, and voucher answers in chat, or need affiliate results beside paid media.

Choose the Supermetrics MCP server if your workflow runs through n8n or a custom agent.

Choose CSV or the API if you want one frozen extract (CSV) or a pipeline you fully own (API).

When is this not the right tool?

  • If you need to change commission groups or approve transactions, work in Awin.
  • If you need every transaction stored for audit, use Awin to BigQuery and the DWH report types. Chat answers aren’t a record.
  • If you want a standing dashboard for stakeholders, try Awin in Looker Studio.
  • If your team lives in spreadsheets, use Awin in Google Sheets.
  • If you need a metric the field list lacks, only the Awin API or Awin’s own reports can supply it.

How do you check Claude’s Awin numbers?

Run these checks before you act on an answer, especially the first time.

What to check

Why numbers can differ

How

Date range, timezone, and accounts

A timezone shift moves transactions between days, and extra or missing accounts change totals

Match them to what you meant. Compare the AWIN_CC_TIMEZONE value with Awin’s display

One known total

Pending commission or value counted as confirmed

Compare one total, such as pub__confirmed_comm for a month, with Awin’s own report. Check which of pub__pending_value and pub__confirmed_value Claude used

Fields and report types

A field from another report type, or an averaged click-through rate

Check each field and its report type in the field glossary. Request pub__ctr by grouping instead of averaging it

Currency, Region, and Date type

Transactions dated differently, or currencies added together

Check whether Claude used the Transaction or Validation Date type, and the currency of each program

The query itself

Any of the reasons above

Ask Claude to show the query and the fields it used

Troubleshooting

Symptom

Likely cause

Fix

LICENSE_NOT_FOUND

An earlier email address or team is attached to the connection

Confirm the email and team that match the paid subscription. In Claude Connectors, disconnect Supermetrics, reconnect, and choose that team

Claude draws on the wrong team or skips Supermetrics

Another team was selected at first login, or several data tools are connected

Disconnect and reconnect in Claude Connectors, select the right team, and put “use Supermetrics” in the prompt

“No accounts found”

The Awin login can’t see any account

Follow the docs article “How to fix No accounts found errors”, then authorize Awin again

Awin isn’t authorized

Awin hasn’t been connected in the Hub, or the login needs renewing

Ask Claude for the Awin login link, or reconnect in the Hub. The guide links a separate reauthentication article

Token is refused

The API token was copied incompletely or doesn’t belong to the Awin login you used

Return to the Awin API credentials page, enter your password, click “Show my API token”, and paste it again

Query asks for Timezone or Region

Those settings are required. See What Awin data can Claude query?

Tell Claude the timezone and region to use

No daily rows in the Publisher report

pub has no date dimension, only pub__year, pub__month, and pub__yearmonth

pub_dwh (with pub_dwh__date) and trans carry a daily date. Check the rate limit row in the limits table before splitting by day

Error says “API rate limit exceeded”

The Awin API rate limit was hit

Wait and retry with a narrower query. If it keeps happening, contact your Awin account manager, or Awin support if you’re self-serve. Supermetrics can’t raise it

Some accounts are missing from results

The exclude_invalid_accounts checkbox is on, so disabled and inaccessible accounts are ignored, or the account is disabled

Clear the checkbox to surface errors, then fix access in Awin

Fields can’t be combined

Fields from different report types, such as pub__ and trans__, were mixed

Split into one query per report type

Still stuck

Something else

Contact support through the Supermetrics Hub

Is it safe? Security and data handling

  • Each query fetches only the fields you asked for from Awin and returns them to Claude. Transaction rows can include trans__customer_country, trans__ip_hash, and custom parameters, so leave out what you don’t need.
  • Claude reads Awin data through Supermetrics and can’t change commission rates, approve transactions, or edit publishers.
  • Awin uses an API token tied to your login, so treat it like a password.
  • AI chats data-source connections are shared by default. Team members assigned to the subscription can use shared logins, so review team membership and subscription access before connecting client accounts. Anyone who can open the Claude chat can see its returned results.
  • Anthropic’s chat retention depends on your Claude plan and organization settings.
  • For Supermetrics policies, see the Supermetrics Trust Center.

Related connectors

Send Awin data to BigQuery to store transactions for audit and long-term analysis

Report on Awin in Looker Studio to build affiliate dashboards for stakeholders

Analyze Awin in Google Sheets to get spreadsheet views of publishers and commission

Connect WooCommerce to Claude to set store orders beside affiliate transactions

Connect ActiveCampaign to Claude to match email sends with voucher-coded orders

Explore Supermetrics for Claude to see the full list of sources Claude can query

FAQ

Start asking Claude about your Awin program

Add the Supermetrics connector, enter your Awin API token once, and ask your first question about publisher commission.