Automate Gumroad Sales to MailerLite & Google Sheets with n8n

Streamline your Gumroad sales process by automatically adding new customers to MailerLite subscriber groups and logging details in Google Sheets. This n8n workflow eliminates manual entry, saves hours, and boosts marketing automation efficiency.
gumroadTrigger
mailerLite
httpRequest
+2
Workflow Identifier: 1370
NODES in Use: gumroadTrigger, mailerLite, httpRequest, googleSheets, stickyNote
Automate Gumroad sales with n8n and MailerLite

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow automates adding new Gumroad buyers to MailerLite mailing lists and logs their sale details in Google Sheets automatically.
It solves the problem of manual data export and entry that wastes time and causes mistakes.
You get instant subscriber updates with sales info saved, ready for marketing emails and easy tracking.

The workflow starts when Gumroad reports a new sale.
It adds the buyer’s email and country to MailerLite as a subscriber.
Then it puts the subscriber into a MailerLite group for sales emails.
Finally, it records the sale date, email, product, and country in Google Sheets.


Tools and services used

  • Gumroad: Sends webhooks when a new sale happens.
  • MailerLite: Adds subscribers and assigns groups for email campaigns.
  • Google Sheets: Stores sales info as a CRM log.
  • n8n: Runs the automation workflow.

Inputs, processing, and output

Inputs

  • New sale data from Gumroad webhook, including email, country, product, and sale time.

Processing Steps

  • Trigger is the Gumroad Sale Trigger that listens for sales.
  • Add the Gumroad buyer to MailerLite subscribers using the MailerLite node.
  • Use an HTTP Request node to assign the new subscriber to a specific MailerLite group.
  • Append the sale data as a row in Google Sheets via the Google Sheets node.

Outputs

  • New subscriber created in MailerLite with email and country.
  • Subscriber assigned to the right MailerLite group for targeting.
  • Sale details added to a Google Sheets CRM for easy tracking.

Beginner step-by-step: How to use this workflow in n8n production

Step 1: Download and import workflow

  1. Click the Download button on this page to get the workflow file.
  2. Open n8n Editor UI if not already open.
  3. Select “Import from File” and upload the downloaded workflow.

Step 2: Add credentials and configure nodes

  1. Go to each node’s credentials section and add your Gumroad, MailerLite, and Google Sheets API keys.
  2. Update any placeholder IDs such as MailerLite group ID or Google Sheet IDs to match your accounts.
  3. Check mappings for email, country, and product fields are correct with expressions.

Step 3: Test the workflow

  1. Trigger a test sale in Gumroad or send a test webhook to verify subscriber creation and data logging.
  2. Look at execution results in n8n to be sure data flows correctly.

Step 4: Activate for production

  1. Toggle the workflow’s Active switch to ON in n8n.
  2. Monitor initial runs through n8n history for errors.
  3. Optionally connect Slack or email to get alerts on workflow failures.

For those self-hosting n8n, import and activate works the same.


Step breakdown for building workflow

Step 1: Gumroad Sale Trigger Node Setup

  1. Add Gumroad Sale Trigger node.
  2. Enter Gumroad Access Token in credentials.
  3. Copy webhook URL from node.
  4. Paste this URL into Gumroad Settings > Advanced > Application for webhook registration.

Step 2: Add MailerLite Subscriber

  1. Add MailerLite node set to Create Subscriber.
  2. Map email to {{ $json.email }}.
  3. Add custom field country with {{ $json.ip_country }}.

Step 3: Assign Subscriber to Group

  1. Add HTTP Request node.
  2. Use POST method.
  3. Input URL replacing subscriber ID in https://connect.mailerlite.com/api/subscribers/{{ $json.id }}/groups/152489030254069581.
  4. Add MailerLite API credentials.

Step 4: Append Data to Google Sheets

  1. Add Google Sheets node with append row operation.
  2. Set spreadsheet and sheet names.
  3. Map fields: sale timestamp, email, country, product using expressions:
    {{ $('Gumroad Sale Trigger').item.json.sale_timestamp }}
    {{ $('Gumroad Sale Trigger').item.json.email }}
    {{ $('Gumroad Sale Trigger').item.json.ip_country }}
    {{ $('Gumroad Sale Trigger').item.json.product_name }}

Step 5: Connect nodes in order

  1. Gumroad Sale Trigger → MailerLite add subscriber.
  2. MailerLite add subscriber → HTTP Request to assign group.
  3. HTTP Request → Google Sheets append row.

Customization ideas

  • Change MailerLite group by updating group ID in the HTTP Request node URL.
  • Add more sale details to Google Sheets like buyer name or amount by expanding mapped fields.
  • Use condition nodes before HTTP Request to assign different groups based on product name.
  • Add a Slack integration node to send sales alerts to your team channel.
  • Schedule HTTP nodes to MailerLite API to delete inactive or unsubscribed contacts.

Troubleshooting common problems

Webhook not triggering

Webhook URL not added in Gumroad Settings causes no activation.
Verify URL matches exactly in Gumroad application settings.

Subscriber not added to MailerLite group

Incorrect MailerLite group ID or missing API permissions may cause failure.
Check group ID via MailerLite API and use correct API key with group rights.

Google Sheets row not appending

Invalid spreadsheet ID or sheet name cause error.
Check correct IDs and OAuth permissions, re-authenticate if needed.


Pre-production checklist

  • Ensure Gumroad Access Token and webhook are active.
  • MailerLite API keys allow subscriber creation and group management.
  • Google Sheets API credentials have edit rights.
  • Run test sales to verify subscriber and CRM row creation.
  • Backup existing Google Sheets CRM data.

Deployment guide

Activate workflow in n8n by switching on the Active button.
Keep watch on execution history for errors.

Enable n8n logging to trace webhook and API calls.
Add error alert integrations like Slack if preferred.


Summary

✓ Automates Gumroad sale data to MailerLite subscriber creation.
✓ Assigns subscribers to groups for email sequences.
✓ Appends sales details to Google Sheets CRM row.
→ Saves hours by removing manual data entry.
→ Avoids errors from copying/pasting emails.
→ Helps send targeting emails faster.


Automate Gumroad sales with n8n and MailerLite

Visit through Desktop to Interact with the Workflow.

Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.
Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.

Frequently Asked Questions

Gumroad webhook URL from the Gumroad Sale Trigger node must be copied and registered under Gumroad Settings > Advanced > Application.
An HTTP Request node sends a POST request to MailerLite API with subscriber ID and group ID to assign the subscriber to the group.
Verify the Google Sheets spreadsheet ID and sheet name are correct and that Google Sheets API credentials have edit permissions.
After importing and testing, toggle the workflow’s Active switch ON inside n8n Editor to start running automatically.

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.