partnerbee

PartnerBee nodes for n8n: trigger on new affiliates and conversions, add affiliates, record conversions.

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Author: Mamute Cloud

Documentation

n8n-nodes-partnerbee

n8n community nodes for PartnerBee: affiliate and referral programs.

Nodes

PartnerBee Trigger (polling)

  • New Affiliate: an affiliate joins or applies to one of your programs (one item per program membership).
  • New Conversion: a sale or renewal is attributed to an affiliate.

The first poll only records what already exists; after that each new item fires once. "Fetch test event" returns the latest one. Program ID filters to one program.

PartnerBee

  • Affiliate › Add to Program: idempotent per email and program, so a re-run returns the same affiliate. No email goes out unless Send Invite is on.
  • Affiliate › Get Many (newest first, filter by program, status or search)
  • Conversion › Create: attributes the sale by Click ID, Referral Code / Cookie or Customer ID (renewals of a tracked customer). Set External ID to your order ID: the same ID is only recorded once (the output says deduped). A customer past the commission window records nothing and the output says why (ignored).
  • Conversion › Get Many (newest first)

Credentials

In PartnerBee, open Settings › API keys at dashboard.partnerbee.app and create a key with the REST API scope (it starts with beeaff-). In n8n, create a PartnerBee API credential and paste it. Leave API URL as https://api.partnerbee.app.

Installation

Follow the community nodes installation guide and install n8n-nodes-partnerbee.

Development

npm install, then npm run build and npm run lint (the n8n-node CLI). npm run dev starts a local n8n with the nodes loaded. To try it against staging, set the credential's API URL to https://api-staging.partnerbee.app.

This folder lives in the PartnerBee backend repository with the Zapier and Make apps. n8n only verifies packages published to npm from GitHub Actions with provenance (.github/workflows/publish.yml), so publishing needs this folder in a GitHub repository with npm Trusted Publishing set up.

Compatibility

Built with @n8n/node-cli 0.58 (n8nNodesApiVersion 1).

Discussion