ejunkie

ejunkie for n8n: trigger on each paid sale, create and update products, add codes, publish.

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.1
Author: ejunkie

Documentation

n8n-nodes-ejunkie

n8n nodes for ejunkie, where creators sell digital downloads and codes to people and AI agents. Buyers pay by card, PayPal or USDC, straight to the seller.

  • ejunkie Trigger: starts a workflow each time a buyer pays.
  • ejunkie: create and update products, add codes, publish or unpublish, get products, list sales.

Install

In n8n: Settings → Community Nodes → Install, enter n8n-nodes-ejunkie.

Sign in

  1. Sign in at ejunkie.net/sell.
  2. Open AI agents and press Make an API key.
  3. In n8n, add an ejunkie API credential and paste the key (it starts with ej_). Leave Base URL as it is.

You can disconnect the key on the same page at any time.

ejunkie Trigger

Activating the workflow adds a webhook to your store; deactivating removes it. Each sale is checked against ejunkie's signature, and anything unsigned is refused.

Optional: pick products to only start on their sales.

Each run gets one sale:

Field Example
order_id, receipt_no order ID and receipt number
product_id, product, product_url what was bought
quantity, amount, amount_cents, currency 1, "9.00", 900, "USD"
payment card, paypal or usdc
buyer_email, buyer_wallet who bought it
source store, instagram, agent_link or x402 (an AI agent paid)
order_url the buyer's download page (keep it private)
paid_at when it was paid

ejunkie node

Resource Operations
Product Create, Update, Get, Get Many, Add Codes, Publish, Unpublish
Sale Get Many (paid sales, newest first)

Prices are in your store's currency (US$ or EUR). Codes: one per line; each buyer gets one.

Example workflows

  • New sale → email list: ejunkie Trigger → Kit or Mailchimp "add subscriber" with buyer_email, tagged with product.
  • New sale → spreadsheet: ejunkie Trigger → Google Sheets "append row".
  • New sale → team chat: ejunkie Trigger → Slack or Discord message: "{{product}} sold for {{amount}} {{currency}}".
  • Restock codes: Schedule → ejunkie (Product: Get) → IF codes_left < 10 → your key generator → ejunkie (Product: Add Codes).

Links

Develop

npm ci
npm run lint
npm run build
EJUNKIE_KEY=ej_... node test/run.mjs   # runs against ejunkie.net with a test store's key; makes and leaves draft products

Releases: npm run release tags a version; .github/workflows/publish.yml publishes it to npm with provenance.

Licence

MIT

Discussion