Nqdev: Tích hợp Haravan icon

Nqdev: Tích hợp Haravan

Tích hợp Haravan với n8n để lắng nghe các sự kiện như đơn hàng, sản phẩm, tài khoản... và tự động kích hoạt các workflow tương ứng.

Products → Update Product

AI-generated

Overview

This node integrates with the Haravan platform, allowing users to automate workflows based on various resources such as orders, products, and accounts. Specifically, for the Products resource and the Update Product operation, it enables updating product information in Haravan via API calls. This is useful for synchronizing product data between Haravan and other systems, automating inventory updates, or managing product details programmatically.

Practical examples include:

  • Automatically updating product prices or descriptions when changes occur in an external database.
  • Syncing stock levels from a warehouse management system to Haravan.
  • Triggering workflows that modify product metadata based on sales performance or marketing campaigns.

Properties

Name Meaning
Options A collection of optional fields to customize the update request. Currently supports:
- Logging Request: Enable or disable logging of each API request for debugging purposes (true/false).

Output

The node outputs an array of JSON objects representing the status of each processed item. Each output object includes:

  • executionId: The unique identifier of the current workflow execution.
  • resource: The resource type being processed (e.g., "Products").
  • operation: The operation performed (e.g., "Update Product").
  • status: The processing status, which will be "completed" if successful.
  • timestamp: The ISO string timestamp when the operation was completed.

If multiple items are processed, the output is an array of such status objects. No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Haravan platform.
  • Needs network access to Haravan's API endpoints.
  • Optional logging can be enabled for debugging API requests.

Troubleshooting

  • Common issues:

    • Authentication failures due to invalid or missing API credentials.
    • Network connectivity problems preventing communication with Haravan API.
    • Incorrect resource or operation parameters leading to unexpected results.
  • Error messages:

    • Errors thrown during execution will include the item index causing the failure.
    • If "Continue On Fail" is disabled, the node stops at the first error; enabling it allows processing remaining items.
    • Enabling the "Logging Request" option helps diagnose API request issues by providing detailed logs.

Links and References

Discussion