Easybill icon

Easybill

Interact with Easybill API

Overview

This node integrates with the Easybill API to manage customer data. Specifically, the "Get Customer" operation allows users to either retrieve all customers or fetch a specific customer by their ID. This is useful in scenarios where you want to automate workflows involving customer information retrieval, such as syncing customer data with other systems, generating reports, or triggering actions based on customer details.

Practical examples:

  • Retrieve all customers to export their data into a CRM system.
  • Fetch a single customer's details to update their profile or verify information before processing an order.

Properties

Name Meaning
Retrieve All Customers Boolean option to enable fetching all available customers instead of selecting a specific one.
Customer Select a specific customer either from a searchable list or by entering their numeric ID (digits only).

Output

The node outputs an array of JSON objects representing customer data retrieved from Easybill. Each object corresponds to a customer and contains their details as provided by the Easybill API.

If multiple customers are retrieved (when "Retrieve All Customers" is enabled), the output will be an array of customer objects. If a single customer is fetched, the output will be a single-element array containing that customer's data.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the Easybill API via an API key credential configured in n8n.
  • The node depends on internal helper functions and endpoint handlers bundled within the node's codebase to communicate with Easybill.

Troubleshooting

  • Invalid Customer ID: If the customer ID entered does not consist solely of digits, the node will reject it due to validation rules. Ensure the ID is numeric.
  • API Authentication Errors: Missing or incorrect API credentials will cause authentication failures. Verify that the API key credential is correctly set up.
  • Empty Results: When retrieving a specific customer, if no matching customer is found, the output may be empty. Double-check the customer ID or try retrieving all customers to confirm existence.
  • Network Issues: Connectivity problems with the Easybill API can cause request failures. Check network access and API service status.

Links and References

Discussion