Fatture in Cloud icon

Fatture in Cloud

Interact with Fatture in Cloud API

Overview

The node integrates with the Fatture in Cloud API, allowing users to manage various resources such as products, companies, clients, and documents. Specifically, for the Product - Delete operation, it enables the deletion of a product from a specified company within the Fatture in Cloud system.

This node is beneficial in automation workflows where product lifecycle management is required, such as removing discontinued or obsolete products automatically based on external triggers or data changes.

Example use case:

  • Automatically delete a product from your accounting system when it is removed from your inventory management software, ensuring both systems stay synchronized without manual intervention.

Properties

Name Meaning
Company ID The numeric identifier of the company under which the product exists and will be deleted.
Product ID The numeric identifier of the product to be deleted.

Output

The output consists of JSON data representing the response from the Fatture in Cloud API after attempting to delete the product. Typically, this will include confirmation of deletion or error details if the operation failed.

No binary data output is produced by this operation.

Dependencies

  • Requires an API authentication token credential configured in n8n to authenticate requests to the Fatture in Cloud API.
  • The node depends on the internal ProductsModule class that handles communication with the product-related endpoints of the API.
  • Network access to the Fatture in Cloud API endpoint is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Company ID or Product ID can cause the API to reject the request.
    • Insufficient permissions or expired API credentials may result in authorization errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "Fatture in Cloud API Error: <message>" indicates an error returned by the API. The message often includes HTTP status and detailed error information.
    • Validation errors typically indicate incorrect input parameters; verify that Company ID and Product ID are correct and exist.
    • If the node throws an "Unknown resource" error, ensure the Resource parameter is set to "product".
  • Resolution tips:

    • Double-check the IDs used for company and product.
    • Refresh or reconfigure the API authentication token.
    • Enable "Continue On Fail" in the node settings to handle errors gracefully in workflows.

Links and References

Discussion