Lemon Squeezy Node - Sell Digital Products, Subscriptions & License Keys

Hey n8n community! :waving_hand:

I’m excited to share my community node for Lemon Squeezy - the all-in-one platform for selling digital products, subscriptions, and software licenses.

Installation

n8n-nodes-lemonsqueezy

Go to Settings β†’ Community Nodes β†’ Install and enter the package name above.


What is Lemon Squeezy?

Lemon Squeezy is a merchant of record platform that handles payments, taxes, and compliance for digital creators. It’s popular for:

  • Selling digital downloads (eBooks, courses, templates)

  • Managing SaaS subscriptions

  • Software license key management

  • One-time and recurring payments


Features

:bullseye: Full API Coverage

Resource Operations
Checkout Create, Get, Get Many
Customer Create, Update, Delete, Get, Get Many
Discount Create, Delete, Get, Get Many
License Key Get, Get Many, Update, Validate, Activate, Deactivate
Order Get, Get Many, Refund
Product Get, Get Many
Store Get, Get Many
Subscription Get, Get Many, Update, Cancel, Resume
Variant Get, Get Many
Webhook Create, Update, Delete, Get, Get Many
…and more! Order Items, Subscription Invoices, License Key Instances, Usage Records

Webhook Trigger

Real-time events for all the important stuff:

  • order_created / order_refunded

  • subscription_created / subscription_cancelled / subscription_updated

  • subscription_payment_success / subscription_payment_failed

  • license_key_created / license_key_updated

Security Hardened

  • Mandatory webhook signature verification (HMAC-SHA256)

  • Replay attack protection - Rejects old events (configurable threshold)

  • SSRF protection - Blocks internal/private network URLs

  • Input validation - RFC 5322 email validation, secure URL validation

Production Ready

  • Built-in rate limiting with automatic retry

  • Exponential backoff for failed requests

  • Pagination timeout protection (5 min default)

  • 87%+ test coverage with 176 tests

  • Full TypeScript support


Example Workflows

1. New Order β†’ Slack Notification

Lemon Squeezy Trigger (order_created) β†’ Slack (Send Message)

2. Subscription Churn Prevention

Schedule Trigger β†’ Lemon Squeezy (Get Subscriptions, status=past_due) β†’ Send Email

3. License Key Validation API

Webhook β†’ Lemon Squeezy (Validate License Key) β†’ Respond to Webhook

4. Dynamic Checkout Links

HTTP Request β†’ Lemon Squeezy (Create Checkout) β†’ Return Checkout URL

5. Customer Sync to CRM

Lemon Squeezy Trigger (order_created) β†’ Get Customer β†’ HubSpot (Create Contact)


Advanced Features

Filtering

Filter by storeId, status, email, productId, variantId, orderId, and more.

Sorting

Sort results by created_at or updated_at (ascending/descending).

Relationship Expansion

Include related resources in a single request:

Orders β†’ include: customer, order-items, subscriptions


Links


Feedback Welcome!

I’d love to hear your feedback, feature requests, or bug reports. Feel free to:

  • Open an issue on GitHub

  • Reply to this thread

  • Submit a PR!

Happy automating!