Payment operations and notifications

Connect Gumroad and NOWPayments to your n8n operations.

Verify sales, check crypto payments, and receive operational notices through ready-to-import n8n workflows.

For a creator or independent seller who already runs n8n, sells a digital product on Gumroad, and also takes cryptocurrency through NOWPayments.

You receive:

  • Four workflow JSON files: invoice creation, NOWPayments IPN, Gumroad events, and a sales-log reader.
  • An offline page that generates a unique Gumroad webhook path, plus setup documentation.
  • Verification, and Telegram notices only when you run the local claim service. Automatic file delivery stays off.

Two paths

How it works

These are the nodes in the workflows. A webhook is only the incoming notice. The provider API is the payment check. Fulfillment is not on the default path.

Gumroad

Gumroad sale

  1. Gumroad saleA sale, refund, or dispute reaches your webhook.
  2. Webhook GumroadYour own path, generated per installation. The shipped path is a public placeholder.
  3. GET Sale APIThe workflow reads the sale from Gumroad. The webhook body is not treated as proof.
  4. API DecideWrites this workflow’s own journal. Refunds and disputes are recorded. A test purchase is not a delivery.
  5. TG EventTelegram notice with the action and sale id.

NOWPayments

Crypto invoice

  1. CustomerYour store asks the create workflow for an invoice.
  2. Create invoiceA header-protected webhook posts the catalog price to NOWPayments.
  3. NOWPaymentsReturns the invoice. The customer pays there.
  4. Signed IPNWebhook IPN checks HMAC-SHA512. A bad signature is rejected before the payment API is called.
  5. GET Payment APIValidate API + Decide uses the payment record, not the webhook status alone.
  6. Sales journal and TG AlertThis workflow’s journal and a Telegram notice. Finished, partial, expired, failed, and refunded are distinguished.

Receiving a webhook

The provider called your n8n URL. That call is not a payment and not a delivery.

Verifying a payment

Gumroad sales are read with the Gumroad API. NOWPayments charges are read with the payment API after the signature check.

Triggering fulfillment

autoFulfill is false. The fulfill node does not run and does not send a file. Deduplicated Telegram notices need a local Python claim service and a claimBaseUrl you set yourself. The shipped value is empty, and an empty value sends no deduplicated notice. That limit is at-most-once for one key, not exactly-once.

Four workflows

What the four workflows do

Each card is one imported workflow. The sales log does not merge the other journals.

NOWPayments invoice creation

What it does

Accepts a header-protected request and asks NOWPayments for an invoice at the price in Buyer settings.

Why you need it

You can start a crypto checkout from n8n without putting the API key in the workflow file.

Configuration

NOWPayments API key credential, catalog price, and the IPN callback URL that points at the IPN workflow.

Limit

Creating an invoice does not confirm that the customer paid. Live NOWPayments charges have not been executed in this release.

Payment verification

What it does

Checks the IPN signature, then reads GET /v1/payment/{id}. A finished payment at the catalog amount can be notified. Partial, expired, failed, refunded, amount mismatch, and API errors are not treated as paid.

Why you need it

The webhook body can be replayed or forged. The signature and the payment API are the checks.

Configuration

IPN secret in a crypto credential, API key, and the catalog price and currency in Buyer settings.

Limit

The workflow answers the webhook before the payment API returns. Automatic file delivery stays off. A deduplicated notice is sent only when claimBaseUrl points at the running local claim service and that service returns a new claim. An empty address or a stopped service sends no deduplicated notice. A repeat of the same signed payment does not send a second one. This is at-most-once, not exactly-once. Gumroad and a rejected signature are not covered by that claim.

Gumroad sales and refunds

What it does

Accepts a sale, refund, or dispute on your webhook path, reads the sale from the Gumroad API, and notifies you. A refund or dispute blocks that sale. dispute_won is recorded and does not restore delivery.

Why you need it

A ping can arrive before you know the sale is real, refunded, or a test purchase.

Configuration

Generate a unique path, paste it into Webhook Gumroad, set gumroadPathReady to true, and set the product id and seller id. Add the Ping secret only if you turn on signed Ping.

Limit

Resource subscriptions such as cancellation are recorded as unsupported and do not deliver. Live Gumroad has not been executed. A missing product id or seller id stops the workflow.

Sales journal and Telegram

What it does

Sends the operational notice for the workflow that handled the event, and exposes a header-protected read of that sales-log workflow’s own journal, plus a daily reminder.

Why you need it

You can see that a check finished even when you are away from the n8n editor.

Configuration

Telegram bot credential and chat id. The sales-log webhook uses its own header credential.

Limit

The four workflows do not share one journal. The sales log does not list NOWPayments or Gumroad rows from the other workflows. A failed Telegram send is not retried.

Nine steps

Install

Import the JSON into self-hosted n8n. Deduplicated notices also need Python on that same Windows machine. Docker, WSL, Linux, and n8n Cloud were not tested.

Phase 1

Get started

  1. 1

    Download the ZIP

    Free beta 0.5.3. Download the archive, then compare it with the SHA256 in the download block. n8n is not inside the file.

  2. 2

    Extract the files

    Keep the workflows, setup, and docs folders together.

  3. 3

    Import the workflows

    In n8n, import the four JSON files. Publish them only after the settings below are filled in.

Phase 2

Connect

  1. 4

    Create credentials

    Add the provider keys in n8n credentials. Do not paste secrets into the workflow JSON.

  2. 5

    Set product settings

    In Buyer settings, set price, currency, product id, seller id, and Telegram chat id.

  3. 6

    Generate a Gumroad path

    Open setup/gumroad-path.html in a browser. It makes a unique path on your machine and does not send it anywhere.

Phase 3

Activate

  1. 7

    Register the webhooks

    Paste the path into Gumroad and into the workflow, set gumroadPathReady, and set the NOWPayments IPN URL to the IPN workflow.

  2. 8

    Run a test event

    Use a test sale or a test IPN. Confirm the Telegram notice matches the API result.

  3. 9

    Leave delivery off

    Leave autoFulfill false. The fulfill node is a stub and does not send a file. For one notice per payment, run python -m idempotency.claim_http --db claims.sqlite --port 5696 and set claimBaseUrl to http://127.0.0.1:5696. The service has no password and must stay on loopback.

What you bring

Requirements

  • Everyone

    • n8n you can import and publish workflows on.
    • A public HTTPS address so Gumroad and NOWPayments can call you.
    • The tested setup is Windows, Python 3.11.9, and self-hosted n8n 2.50.6.
    • Python is required for the claim service. Without it, leave claimBaseUrl empty.
  • Gumroad

    • A product id and seller id.
    • An access token for the sale API.
    • A unique webhook path. The Ping secret is only for signed Ping.
  • NOWPayments

    • An API key for invoices and payment lookups.
    • The IPN secret.
    • The callback URL of the IPN workflow.
  • Telegram, optional

    • A bot token stored as an n8n credential.
    • The chat id in Buyer settings.
    • Notices still depend on that bot being able to message the chat.

Test record

Compatibility

Only the row marked tested was executed for this release. The other rows are unverified.

Where this pack has and has not been run.
EnvironmentStatusWhat that means
Windows, Python 3.11.9, self-hosted n8n 2.50.6 Tested by the author Edition 0.5.3-beta, unpacked, with local mocks. Not an independent audit. Linux, Docker, and n8n Cloud were not run.
n8n Cloud Unverified Starter, Pro, and Enterprise have not been executed.
n8n 3.x Unverified Not part of the test run.
Live Gumroad Unverified Sale, refund, and dispute checks used a local mock API.
Live NOWPayments Unverified Invoice and IPN checks used a local mock API. No live charge was made.

Free beta

Download beta 0.5.3

This pack is free and it is not being sold. There is no payment button and no wallet. The file below is the author’s 0.5.3-beta archive. It is a test build, not a finished product and not an independent audit.

Edition 0.5.3-beta

Free

69,593 bytes. SHA256 DEE1186508637511D90BB5CA3D4671315C7561E1F33E290659AC764BBEF5F991. The license inside the archive lets you import the workflows into n8n you run. It does not let you resell the pack or publish the workflow JSON.

Paid checkout is not connected. Nothing on this page creates a payment.

Included

  • Invoice, IPN, Gumroad, and sales-log workflows.
  • The offline Gumroad path generator.
  • Setup notes for credentials, webhooks, and the fulfillment switch.

Support scope

  • The written docs in the download are the support material.
  • There is no ticket queue, no install guarantee, and no promise of later versions.
  • A published listing would need its own contact address. This draft does not provide one.

Not included

  • Hosting, a Gumroad account, a NOWPayments account, or a Telegram bot.
  • Automatic delivery of your digital file.
  • A combined sales database across the four workflows.

Before you test

FAQ

Do I need Docker?

Docker was not tested, and this site does not claim Docker support. The tested path is Windows with Python 3.11.9 and self-hosted n8n 2.50.6. You import the JSON into n8n you already run. n8n itself is not inside the archive.

Do I need to know programming?

You import workflows, create n8n credentials, and edit Buyer settings. Deduplicated notices also mean starting a Python process and leaving that window open. You do not write the workflow code. You do need to publish a workflow and read a failed execution.

Does this work with n8n Cloud?

Not yet verified. The tests ran on self-hosted n8n 2.50.6. Cloud Starter, Pro, and Enterprise were not executed, and n8n 3.x was not executed.

Does it automatically deliver digital products?

No. autoFulfill stays false, and the fulfill node does not send a file. A deduplicated Telegram notice is sent only when the local claim service is running and claimBaseUrl is set to it. The shipped address is empty, which blocks that notice. A repeated signed IPN did not produce a second notice in the author’s mock test. That is at-most-once, not exactly-once. Static data in n8n is not the lock.

Does it store API keys?

The workflow files do not contain your API keys. You store them in n8n credentials: header auth, query auth, HMAC crypto credentials, and the Telegram credential. n8n encrypts those values with the instance encryption key. This page does not ask for or store keys.

What happens on refunds?

A Gumroad refund or dispute is confirmed against the Gumroad API, recorded, and sent to Telegram. That sale is blocked from the fulfill branch. dispute_won is recorded and does not turn delivery back on. A NOWPayments status of refunded, failed, expired, or partially paid is notified and is not treated as a finished payment.

Can I use my own webhook path?

Yes. Generate a new path for each installation with the offline setup page, paste it into the Gumroad webhook node, and set gumroadPathReady to true. The old path stops matching after you change it.

What happens if Telegram fails?

The Telegram nodes continue on error. A failed send does not undo the payment decision and does not retry the message. On the IPN workflow the provider is answered before the notice is sent. A later replay of the same event is treated as a duplicate, so the missed message is not sent again. Use the execution log and that workflow’s journal if a notice is missing.