Overview
This node deletes a customer from the Omniwallet system using their email address. It is useful in scenarios where you need to programmatically remove customer records from Omniwallet, such as cleaning up inactive users or complying with data deletion requests. For example, if a user unsubscribes from your service and you want to ensure their data is removed from Omniwallet, this node can automate that process.
Properties
| Name | Meaning |
|---|---|
| Customer Email | Email of the customer to delete |
Output
The node outputs JSON objects for each input item processed. Each output contains:
success: Boolean indicating if the deletion was successful.message: A success message string when deletion succeeds.email: The email address of the customer targeted for deletion.response: The raw response data returned by the Omniwallet API.error: Present only if deletion failed; contains the error message.itemIndex: Index of the input item related to the output (only on failure).
If the node encounters an error and "Continue On Fail" is enabled, it returns an object with success: false and error details instead of stopping execution.
Dependencies
- Requires an API key credential for authenticating with the Omniwallet API.
- Uses the Omniwallet API endpoint
/customers/{email}with HTTP DELETE method. - The node expects proper configuration of the API credentials within n8n.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an incorrect or non-existent customer email will result in an error from the API.
- Network connectivity problems may prevent the request from completing.
Error messages:
- Errors returned by the Omniwallet API are passed through in the
errorfield. - If the node stops execution due to an error, verify the email format and API credentials.
- Enable "Continue On Fail" to handle errors gracefully and inspect individual failures.
- Errors returned by the Omniwallet API are passed through in the
Links and References
- Omniwallet API documentation (refer to the customer deletion endpoint)
- n8n documentation on managing API credentials and error handling