Actions2
Overview
The "Referral Factory" node in n8n is designed to interact with the Referral Factory API, specifically for managing users within campaigns. The "Add New User" operation allows users to create new user entries associated with a specific campaign. This functionality is particularly beneficial for businesses utilizing referral marketing strategies, enabling them to efficiently manage user data and track referrals. For example, a marketing team could use this node to automatically add new users who sign up through a referral link, streamlining their onboarding process.
Properties
| Name | Meaning |
|---|---|
| Choose Your Campaign Name or ID | Selects the campaign created in Referral Factory. Users can choose from a list or specify an ID using an expression. |
| First Name | The first name of the user being added. |
| The email address of the user being added, formatted as "name@email.com". |
Output
The output of the "Add New User" operation will typically include a confirmation of the user creation along with any relevant user details returned by the Referral Factory API. The exact structure of the JSON output may vary based on the API response but generally includes user identifiers and status messages indicating success or failure of the operation.
Dependencies
- An API key credential is required to authenticate requests to the Referral Factory API.
- The base URL for the API is set to
https://referral-factory.com/api/n8n.
Troubleshooting
Common issues users might encounter include:
- Invalid Campaign ID: If the specified campaign ID does not exist or is not accessible, the node may throw an error. Ensure that the campaign ID is correct and that the user has permissions to access it.
- Missing Required Fields: If any required fields (First Name, Email, Campaign ID) are left empty, the node will fail to execute. Make sure all required properties are filled out correctly.
- API Authentication Errors: If the API key is incorrect or expired, authentication will fail. Verify the API credentials and ensure they are valid.