tr Skip to content

Connect AffiliatePress and Google Sheets

AffiliatePress tracks affiliates, commissions and payouts inside WordPress. FlowMattic copies that activity to Google Sheets, so finance gets a commission ledger and a payout log, and managers can approve affiliates or record offline sales from a sheet. For store owners and affiliate managers who report from spreadsheets.

23 triggers 34 actions 7 example workflows 1 ready-made template Unlimited runs

Try a pairing

When this happens in AffiliatePress17 triggers

Do this in Google Sheets19 actions

1. TriggerNew Commission Created
2. ActionAdd New Row

When AffiliatePress fires New Commission Created, FlowMattic runs Add New Row in Google Sheets with the data from that event.

You build this in the FlowMattic workflow builder on your own site. See the setup steps

AffiliatePress and Google Sheets workflows you can build

Each one uses only triggers and actions the two integrations ship today, plus FlowMattic's own tools. Where the library has a ready-made template, import it instead of building from scratch.

AffiliatePress app icon Google Sheets app icon Ready-made template

Add each new commission to a ledger sheet

Every commission is written with the affiliate, order reference, amount and status, giving finance a list for the weekly revenue report without logging in to WordPress.

New Commission CreatedAdd New Row

View the template
AffiliatePress app icon Google Sheets app icon

Update the ledger when a commission is approved or rejected

Lookup Row Data finds the commission's row by its ID and Update Row changes the status, so the ledger shows what will actually be paid.

Commission Status ChangedLookup Row DataUpdate Row

AffiliatePress app icon Google Sheets app icon

Review affiliate sign-ups and approve them from the sheet

New affiliates are listed with their details. When a manager sets the Decision column to approved or rejected, a second workflow changes the affiliate's status in AffiliatePress.

Update Specific Column ValueUpdate Affiliate Status

AffiliatePress app icon Google Sheets app icon

Log every paid payment in a payout tab

When a payment is marked paid, the affiliate, amount and date go to the payout tab, which becomes the record your accountant asks for at year end.

Payment Marked PaidAdd New Row

AffiliatePress app icon Google Sheets app icon

Refresh each affiliate's stats in the sheet every Monday

A Schedule reads the affiliate roster with Get Rows, loops over it and pulls visits, commissions and unpaid totals for each one into their row.

ScheduleGet RowsIteratorGet Affiliate StatsUpdate Row

AffiliatePress app icon Google Sheets app icon

Record offline sales as commissions from a sheet row

Sales from events or phone orders never pass through checkout. Add them as rows with the affiliate's ID and amount, and Create Commission records each one in AffiliatePress.

New Spreadsheet RowCreate Commission

AffiliatePress app icon Google Sheets app icon

Keep an affiliate roster with referral links

When an affiliate is approved, their referral link to your main landing page is built and written with their name and email to the roster tab your marketing team shares.

Affiliate ApprovedGet Affiliate Referral LinkAdd New Row

Set up: a commission ledger

At the end, every new AffiliatePress commission is added to your ledger sheet as a row.

  1. Prepare the ledger

    Create a sheet with columns for commission ID, affiliate, order reference, amount, status and date.

  2. Connect Google Sheets

    Under Connects, add a Google Sheets connection that can edit the ledger. AffiliatePress runs on your site and needs no connection.

  3. Start with New Commission Created

    Create a workflow with the AffiliatePress New Commission Created trigger and make a test referral sale so FlowMattic captures a commission.

  4. Add the row

    Add Add New Row, map the commission fields to the ledger columns, test the step and switch the workflow on.

Import the ready-made template Beginner, about 5 min to set up
Add each new commission to a ledger sheet Template
  1. AffiliatePress app icon 1. Trigger in AffiliatePress New Commission Created
  2. Google Sheets app icon 2. Action in Google Sheets Add New Row

    Fields mapped from the earlier steps (a typical setup)

    From AffiliatePressTo Google Sheets
    Commission IDCommission ID
    Affiliate IDAffiliate
    ReferenceOrder reference
    AmountAmount
    StatusStatus
    DateDate
Built on the FlowMattic canvas. Test each step with real data, then switch the workflow on.

Triggers and actions in this pair

A trigger starts a workflow. An action is something FlowMattic does in the app as a step.

Good to know

  • Triggers and actions marked [PRO], such as affiliate groups and custom commission rates, need AffiliatePress Pro on your site.
  • Write the commission ID to the ledger. Later status changes and deletions can only find the right row through that ID.
  • Affiliate Deleted fires before the record is removed, so it is the moment to copy the affiliate's details into an archive tab if you want them kept.
AffiliatePress app icon

AffiliatePress

Integration page

Triggers (17)

  • Affiliate RegisteredTriggers when a new affiliate signs up.
  • Affiliate ApprovedTriggers when an affiliate is approved.
  • Affiliate RejectedTriggers when an affiliate is rejected.
  • Affiliate Status ChangedTriggers on any affiliate status change. Filter by status: pending, approved or rejected.
  • Affiliate Profile UpdatedTriggers when an affiliate profile is edited.
  • Affiliate DeletedTriggers before an affiliate record is deleted.
  • New Commission CreatedTriggers when a new commission is recorded for an affiliate.
  • Commission UpdatedTriggers when a commission record is edited.
  • Commission Status ChangedTriggers when a commission status changes. Filter by target status: pending, approved or rejected.
  • Commission DeletedTriggers when a commission record is deleted.
  • Affiliate Visit RecordedTriggers when an affiliate referral visit/click is logged.
  • Payout GeneratedTriggers when a payout batch is generated.
  • Payment Marked PaidTriggers when an individual payment is marked as paid.
  • Payout DeletedTriggers when a payout record is deleted.
  • [PRO] Affiliate Group CreatedTriggers when an affiliate group is created. Requires AffiliatePress Pro.
  • [PRO] Affiliate Group UpdatedTriggers when an affiliate group is updated. Requires AffiliatePress Pro.
  • [PRO] Affiliate Group DeletedTriggers when an affiliate group is deleted. Requires AffiliatePress Pro.

Actions (15)

  • Get Affiliate DetailsRetrieve affiliate data by affiliate ID, WP user ID or email.
  • Create AffiliateRegister an affiliate from an email or WP user ID. Optionally creates the WP user when missing.
  • Update Affiliate StatusSet affiliate status to pending, approved or rejected.
  • Delete AffiliatePermanently delete an affiliate record.
  • Get Affiliate Referral LinkBuild the affiliate referral link for a given URL.
  • Create CommissionInsert a manual commission/referral for an affiliate.
  • Update Commission StatusChange a commission status to pending, approved or rejected.
  • Get CommissionsRetrieve commissions for an affiliate, filtered by status and date range.
  • Get Affiliate StatsGet visits, commissions and paid/unpaid totals for an affiliate.
  • Get Payout HistoryRetrieve payment records for an affiliate.
  • [PRO] Assign Affiliate to GroupSet the group for an affiliate. Requires AffiliatePress Pro.
  • [PRO] Set Affiliate Commission RateSet an individual commission rate for an affiliate. Requires AffiliatePress Pro.
  • [PRO] Update Affiliate MetaCreate or update a custom meta value on an affiliate. Requires AffiliatePress Pro.
  • [PRO] Get Affiliate MetaRetrieve a custom meta value from an affiliate. Requires AffiliatePress Pro.
  • [PRO] Get Affiliate GroupsList all affiliate groups. Requires AffiliatePress Pro.
Google Sheets app icon

Google Sheets

Integration page

Triggers (6)

  • New Spreadsheet RowTrigger when a new row is added to the spreadsheet
  • New Or Updated Spreadsheet RowTrigger when a row is updated in the spreadsheet
  • Deleted Spreadsheet RowTrigger when a row is deleted from the spreadsheet
  • Update Cell DataTrigger when any cell is updated in the spreadsheet
  • Update Specific Cell DataTrigger when a specific cell is updated in the spreadsheet
  • Update Specific Column ValueTrigger when a specific column value is updated in the spreadsheet

Actions (19)

  • Add New RowAdd a new row with mapped data
  • Update RowUpdate existing row in specific spreadsheet with mapped data
  • Delete RowDelete row by ID in specific spreadsheet
  • Clear Row DataClear data or row by ID in specific spreadsheet
  • Lookup Row DataSearch for data in specific spreadsheet
  • Get Cell DataGet data for particular cell in specific spreadsheet
  • Update Cell DataUpdate data for particular cell in specific spreadsheet
  • Get Row CountGet total number of rows in specific spreadsheet
  • Get Row DataGet rows data from the sheet based on specified range
  • Create Spreadsheet ColumnCreate a new column in specific spreadsheet
  • Create New SheetCreate a new sheet in specific spreadsheet
  • Import CSV or JSON to Existing SheetImport CSV or JSON data to existing sheet in specific spreadsheet
  • Copy SheetCopy a sheet to another or within the same spreadsheet
  • Get RowsRetrieve rows in JSON format for use with Iterator
  • Export sheet to CSVExport the selected sheet to CSV format and save to WordPress Media Library
  • Export Sheet to ExcelExport the spreadsheet to Excel (.xlsx) format and save to WordPress Media Library
  • Export Sheet to PDFExport the spreadsheet to PDF format and save to WordPress Media Library
  • Export Sheet to OpenDocumentExport the spreadsheet to OpenDocument (.ods) format and save to WordPress Media Library
  • Export Sheet to TSVExport the selected sheet to TSV format and save to WordPress Media Library

Why run this pair with FlowMattic

AffiliatePress and Google Sheets connect through FlowMattic on your own site, with no separate automation account in the middle and no charge per run.

Payout data stays under your control

Affiliate earnings and payout records move from your WordPress site to the sheet through your own server, with no outside automation account in between.

A busy sale week costs the same

Runs are unlimited, so a promotion that produces thousands of commissions writes every row on the same FlowMattic plan.

The sheet can talk back

Sheet triggers can approve affiliates and add commissions in AffiliatePress, so managers who live in spreadsheets need no WordPress login for routine work.

Common questions

How do I export AffiliatePress commissions to Google Sheets?

Create a workflow with the AffiliatePress New Commission Created trigger and add Google Sheets Add New Row. Map the commission ID, affiliate, amount and status to columns, and every new commission is added from then on.

Can I approve affiliates from a spreadsheet?

Yes. Use the Google Sheets Update Specific Column Value trigger on a Decision column, then AffiliatePress Update Affiliate Status with the affiliate ID from the same row.

Can I bring in commissions made before the workflow existed?

Yes. Run a workflow that loops over your affiliates with Iterator, calls Get Commissions for each one with the date range you need, and writes the results with Add New Row.

Does this need AffiliatePress Pro?

The commission, affiliate and payout events work with AffiliatePress itself. Only the steps marked [PRO], such as affiliate groups, custom rates and affiliate meta, need the Pro version.

Can rejected commissions be removed from the ledger?

Yes. Start from Commission Status Changed set to rejected, or Commission Deleted, find the row with Lookup Row Data and run Delete Row, or update its status if you prefer to keep a record.

Did not find your answer? You can browse the help center or ask us directly.

Start automating AffiliatePress and Google Sheets

Install FlowMattic, connect both accounts and import a template. Every run stays on your own server.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Reviewed 27 Oct 2026. The example workflows are written with AI from the real triggers and actions of both integrations and checked against them. AffiliatePress integration 1.0.0, Google Sheets integration 2.2.4.