What This Automation Does
This workflow listens for new sales on Gumroad and then adds the buyer’s email to a Beehiiv newsletter.
This saves time by doing this automatically, without any manual work or mistakes.
It also records the sale data in a Google Sheets CRM and sends a Telegram message to notify the team instantly.
You get faster updates and better subscriber management without typing anything yourself.
The process starts when Gumroad sends sale information.
The workflow fetches Beehiiv newsletter details to find the right list.
It then adds the buyer’s email to Beehiiv.
Next, it saves sale info like date, email, country, and product to Google Sheets.
Finally, a Telegram message alerts the team about the sale.
Tools and Services Used
- Gumroad API: Triggers workflow for each new sale.
- Beehiiv API: Gets publications list and subscribes new emails.
- Google Sheets API: Appends sale data to CRM spreadsheet.
- Telegram Bot API: Sends alerts to the team chat.
- n8n: Automation platform running this workflow.
Input → Process → Output
Inputs
- New sale event data from Gumroad, including buyer’s email, product name, sale timestamp, and country.
Processing Steps
- Gumroad Sale Trigger captures each new sale as it happens.
- HTTP Request (GET) fetches Beehiiv publications to get publication IDs.
- HTTP Request (POST) sends buyer’s email to subscribe user to Beehiiv newsletter.
- Google Sheets appends sale info into the CRM spreadsheet.
- Set node sets the Telegram chat ID.
- Telegram node sends a formatted notification to the team’s Telegram channel.
Output
- Immediate subscription of new buyers to Beehiiv newsletter.
- Updated Google Sheets CRM with every sale’s data.
- Fast Telegram notifications alerting the team about each sale.
Beginner Step-by-Step: How to Use this Workflow in Production in n8n
Import Workflow
- Download the workflow using the Download button on this page.
- Open the n8n editor where automation workflows are created.
- Use the “Import from File” option in n8n to upload the saved workflow file.
Configure Credentials
- In the imported workflow, connect your Gumroad account by adding the correct API Key in the Gumroad Sale Trigger node credentials.
- Set your Beehiiv API Key in both HTTP Request nodes used for publication list and subscription.
- Connect Google Sheets credentials in the Google Sheets node.
- Add your Telegram Bot Token in the Telegram node.
Update Identifiers
- Review the Google Sheets node to make sure spreadsheet ID and sheet name match your CRM.
- Set the Telegram chat ID correctly in the Set node (including correct channel format, usually beginning with -100).
- Adjust Beehiiv publication ID if you want to subscribe users to another newsletter; by default it uses the first publication.
Test and Activate
- Run a test sale or simulate a Gumroad sale event to see if subscribers are added, the sheet fills data, and Telegram gets notified.
- If tests pass without errors, toggle the workflow activation switch in n8n to put the automation live.
Using self-host n8n is recommended for better control and security during production use.
Customization Ideas
- You can change the Beehiiv publication by editing the URL in the POST subscription node.
- Add extra fields like buyer’s name or amount to the Google Sheets data columns.
- Edit the Telegram message text to include emojis or links for clearer alerts.
- Insert an IF node after the Gumroad trigger to filter for specific products to subscribe only certain customers.
Troubleshooting Common Issues
- Issue: Gumroad trigger sends no data.
Cause: Missing or wrong Gumroad API key or webhook not active.
Fix: Check and update API token credentials and confirm webhook URL is active in Gumroad settings. - Issue: Beehiiv HTTP request returns 401 Unauthorized.
Cause: Invalid or expired Beehiiv API key.
Fix: Regenerate Beehiiv API key and update HTTP header authentication in n8n nodes. - Issue: Google Sheets append fails with permission errors.
Cause: Unauthorized Google account or spreadsheet not shared properly.
Fix: Reauthorize Google credentials and share the sheet with correct accounts. - Issue: Telegram messages do not send.
Cause: Bot missing admin rights or wrong chat ID format.
Fix: Add the bot as admin to Telegram channel and verify chat ID format starts with -100.
Pre-Production Checklist
- Verify Gumroad API token and webhook are active.
- Confirm Beehiiv API key works and publications fetch successfully.
- Ensure Google Sheets credentials have access and sheet IDs are correct.
- Test Telegram bot with a simple message to verify access.
- Run a real or test sale to confirm workflow runs without errors.
Summary
✓ Automates subscribing new Gumroad buyers to Beehiiv newsletter.
✓ Logs every sale’s details in Google Sheets CRM.
✓ Notifies team instantly with Telegram alerts.
✓ Saves hours of manual data entry work.
✓ Reduces errors and missed subscribers.
→ Workflow triggers on every Gumroad sale.
→ Executes API actions to update Beehiiv and CRM.
→ Sends fast notifications to keep team informed.
https://api.beehiiv.com/v2/publications/{{ $json.data[0].id }}/subscriptions
email: {{$json.email}}This expression for the Beehiiv subscription node URL dynamically picks the first publication ID.
The email field uses the buyer’s email from Gumroad sale data.
=🔔 New Gumroad sale!
Product: {{ $json.product_name }}
Email: {{ $json.email }}
Country: {{ $json.ip_country }}This text sets the Telegram alert message with sale details, using expressions from the trigger.
