Actions15
Overview
The "Customer Create" node in n8n is designed to facilitate the creation of new customer records within an inventory management system, specifically Unleashed. This node is beneficial for businesses that need to manage customer information efficiently, such as e-commerce platforms, retail stores, or service providers. By using this node, users can automate the process of adding customers to their database, ensuring that all relevant details are captured accurately.
For example, a user might utilize this node when onboarding new clients, allowing them to input essential customer data like names, contact information, and billing addresses directly into the system without manual entry.
Properties
| Name | Meaning |
|---|---|
| Customer Code | The unique identifier for the customer, required for creating a new customer record. |
| Customer Name | The name of the customer, which is also a required field for the creation process. |
| Customer Details | A collection of additional information about the customer, including: |
| - Email: The customer's email address. | |
| - Phone: The customer's phone number. | |
| - Fax: The customer's fax number. | |
| - Discount: Default discount percentage for the customer (0-100). | |
| - Payment Terms: The payment terms applicable to the customer. | |
| - Currency: The default currency used by the customer. | |
| - Tax Code: The tax code associated with the customer. | |
| Addresses | A fixed collection of addresses for the customer, allowing multiple entries, including: |
| - Address Type: Specifies if the address is for Billing or Shipping. | |
| - Street: The street address of the customer. | |
| - City: The city where the customer resides. | |
| - Region: The region/state/province of the customer. | |
| - Postal Code: The postal/zip code for the address. | |
| - Country: The country of the customer. |
Output
The output of the "Customer Create" node will typically be structured in JSON format, containing the details of the newly created customer record. This may include the customer ID, confirmation of successful creation, and any other relevant metadata returned from the API. If the node can output binary data, it would generally represent files or documents related to the customer but is not specified in this context.
Dependencies
This node requires an API key credential for authentication with the Unleashed inventory management system. Users must ensure they have configured their n8n environment with the necessary credentials to access the Unleashed API.
Troubleshooting
Common issues users might encounter include:
- Missing Required Fields: If the required fields (Customer Code and Customer Name) are not provided, the node will throw an error indicating that these fields are mandatory.
- Invalid Data Format: Providing data in an incorrect format (e.g., non-numeric values for the discount) may result in validation errors.
- API Authentication Errors: If the API key is missing or invalid, users will receive authentication-related error messages.
To resolve these issues, users should double-check their input data for completeness and correctness, and ensure that their API credentials are valid and properly configured.