n8n Integration
Self-hosted workflow automation with Refgrow. Install the community node, connect your API key, and automate affiliate management with full control over your data and infrastructure.
n8n-nodes-refgrow
Install from n8n community nodes or via npm.
npm install n8n-nodes-refgrowOr install directly from the n8n UI: go to Settings > Community Nodes, search for "refgrow", and click Install.
Webhook Events
7 webhook events for real-time workflow triggers.
affiliate.createdFires when a new affiliate signs up for your program.
affiliate.updatedFires when an affiliate's details or status change.
conversion.createdFires when a new conversion (signup or purchase) is recorded.
conversion.updatedFires when a conversion status changes (e.g., approved, rejected).
referral.createdFires when a new referral click is tracked.
payout.createdFires when a payout is initiated for an affiliate.
payout.completedFires when a payout is successfully processed.
Available Actions
Full CRUD operations on all Refgrow resources.
Affiliates
Conversions
Referrals
Coupons
Why Use n8n with Refgrow
- Self-hosted: your data stays on your infrastructure
- Open source with full transparency and auditability
- No per-operation pricing -- unlimited executions
- Run on-premise, in Docker, or on any cloud provider
- Fair-code license with source-available guarantee
- Community-driven with 400+ built-in integrations
How to Connect
Set up the Refgrow + n8n integration in minutes.
Install the community node
In your n8n instance, go to Settings > Community Nodes and install "n8n-nodes-refgrow". Alternatively, run: npm install n8n-nodes-refgrow in your n8n directory.
Add Refgrow credentials
Go to Credentials in n8n and create a new "Refgrow API" credential. Paste your API key (starts with rgk_) from Settings > API Keys in your Refgrow dashboard.
Add the Refgrow node to a workflow
Create a new workflow and add the "Refgrow" or "Refgrow Trigger" node. Select your credential and choose the event or action you want.
Build and activate
Connect the Refgrow node to other nodes in your workflow, test it with sample data, and activate. n8n will process events automatically.
Example Use Cases
Popular workflows built with Refgrow + n8n.
affiliate.created→Add to self-hosted CRM + send Telegram messageWhen a new affiliate joins, create a contact in your self-hosted CRM (e.g., Twenty, EspoCRM) and send a Telegram notification to your team.
conversion.created→Log to PostgreSQL + trigger internal webhookStore every conversion in your own database for custom analytics. Simultaneously trigger an internal webhook for further processing.
affiliate.created→Send welcome email via SMTPUse your own SMTP server to send a personalized welcome email to new affiliates, maintaining full control over deliverability and branding.
payout.completed→Update accounting systemAutomatically record completed payouts in your self-hosted accounting software for real-time financial reconciliation.
Automate with n8n and Refgrow
Start your free trial, install the community node, and build self-hosted affiliate automations today.