Actions21
- Orders Actions
- Products Actions
- Repairs Actions
- Customers Actions
Overview
This node integrates with the Livo API to manage customer data within an order management system. Specifically, the "Create Customer" operation allows users to add new customers by providing their name, email, phone number, and address. This is useful in scenarios where you want to automate customer creation as part of a workflow, such as onboarding new clients, syncing customer data from other systems, or capturing customer details from form submissions.
Practical examples:
- Automatically create a customer record when a new lead fills out a web form.
- Sync customer information from a CRM into the Livo system.
- Batch import customer data from external sources.
Properties
| Name | Meaning |
|---|---|
| Customer Name | Full customer name (required) |
| Customer email address | |
| Phone | Customer phone number |
| Address | Customer address |
Output
The output JSON contains the response from the Livo API after creating a customer. It typically includes the newly created customer's details such as their unique ID, name, contact information, and possibly metadata returned by the API.
No binary data output is involved in this operation.
Example output structure (simplified):
{
"id": "string",
"name": "string",
"email": "string",
"phone": "string",
"address": "string",
...
}
Dependencies
- Requires an API key credential for authenticating with the Livo API.
- The node expects the base environment URL and API key to be configured in credentials.
- The HTTP requests are made with JSON content type and include the API key in headers.
Troubleshooting
Common issues:
- Missing required fields like "Customer Name" will likely cause the API to reject the request.
- Invalid or missing API key will result in authentication errors.
- Network connectivity issues or incorrect environment URL can cause request failures.
Error messages:
- Authentication errors: Check that the API key credential is correctly set up.
- Validation errors: Ensure all required properties are provided and valid.
- HTTP errors: Verify network access and correct API endpoint configuration.
If the node is set to continue on failure, errors will be returned in the output JSON under an error field.
Links and References
- Livo API Documentation (Assumed, replace with actual if available)
- n8n documentation on Creating Custom Nodes