Log Gumroad and Payhip sales and refunds in a unified Google Sheet
Ready for 3.0What 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).
- Is it from my Gumroad store? (If): checks a condition and branches into true / false
- Is it a signed Payhip sale or refund? (If): checks a condition and branches into true / false
- Normalise Gumroad sale (Code): runs custom JavaScript code
- Normalise Payhip sale (Code): runs custom JavaScript code
- Upsert row in Sales sheet (Google Sheets): append or update
Services it uses
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)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets
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…