Overview
This node, named "Omniwallet - Create Customer Tool," is designed to create a new customer record in the Omniwallet API. It sends customer details such as email, name, phone number, and other attributes to the Omniwallet service, which then registers the customer in its system.
Common scenarios for this node include:
- Automating customer onboarding by creating customer profiles directly from form submissions or CRM data.
- Integrating Omniwallet customer management into broader workflows, such as loyalty programs or marketing automation.
- Synchronizing customer data between different platforms and Omniwallet.
For example, when a new user signs up on an e-commerce site, this node can be used to automatically create their customer profile in Omniwallet, including optional details like loyalty points or card number.
Properties
| Name | Meaning |
|---|---|
| Email address of the customer (required). | |
| Name | First name of the customer (required). |
| Last Name | Last name of the customer (optional). |
| Phone | Customer's phone number (optional). |
| Level | Customer level or tier (optional). |
| Points | Loyalty or reward points assigned to the customer (optional, default is 0). |
| Card | Customer's card number; if left empty, the system will generate one automatically. |
Output
The node outputs an array of JSON objects, each representing the response from the Omniwallet API for the created customer. The main output field json contains the customer data returned by the API under the data property. If the API returns no nested data, the entire response is output as-is.
In case of errors during creation, if the node is configured to continue on failure, the output will contain an error object with the error message for that particular item.
No binary data output is produced by this node.
Dependencies
- Requires an active connection to the Omniwallet API via an API key credential configured in n8n.
- The node depends on an internal helper function (
omniwalletApiRequest) to make authenticated HTTP requests to the Omniwallet API endpoint/customers. - Proper network access to the Omniwallet API service is necessary.
Troubleshooting
Common issues:
- Missing required fields such as Email or Name will cause the API request to fail.
- Invalid or expired API credentials will result in authentication errors.
- Network connectivity problems may prevent successful API calls.
Error messages:
- Errors thrown by the API are caught and returned in the output if "Continue On Fail" is enabled.
- Typical error messages might include validation errors (e.g., invalid email format), authentication failures, or rate limiting notices.
Resolution tips:
- Ensure all required fields are correctly filled.
- Verify that the API key credential is valid and has sufficient permissions.
- Check network connectivity and firewall settings.
- Use the "Continue On Fail" option to handle partial failures gracefully.
Links and References
- Omniwallet API Documentation (example placeholder link)
- n8n Documentation on Creating Custom Nodes
- General REST API best practices for error handling and authentication.