Templates / Log Gumroad and Payhip sales and refunds in a unified Google Sheet

Log Gumroad and Payhip sales and refunds in a unified Google Sheet

Ready for 3.0

by Casey Baker · 1 views · created 2026-10-19 · CRM

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Is it from my Gumroad store? (If): checks a condition and branches into true / false
  2. Is it a signed Payhip sale or refund? (If): checks a condition and branches into true / false
  3. Normalise Gumroad sale (Code): runs custom JavaScript code
  4. Normalise Payhip sale (Code): runs custom JavaScript code
  5. Upsert row in Sales sheet (Google Sheets): append or update

Services it uses

Google Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

Quick overview Every Gumroad and Payhip sale and refund lands automatically in one Google Sheet, one row per order with product, buyer, gross, fees and net. Refunds update the original sale, webhook retries never create duplicates, and you get one live sales…

Excerpt from Casey Baker's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.