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.

Customer → Delete

AI-generated

Overview

This node integrates with the Haravan platform, allowing users to automate workflows based on various resources and operations related to Haravan's e-commerce system. Specifically, for the Customer - Delete operation, it enables deleting customer records from the Haravan system. This is useful in scenarios where you want to programmatically remove customers, such as cleaning up test data, managing GDPR compliance by deleting user data upon request, or automating customer lifecycle management.

Practical examples:

  • Automatically delete a customer after they unsubscribe or close their account.
  • Remove customers who have been inactive for a certain period.
  • Clean up duplicate or erroneous customer entries.

Properties

Name Meaning
Options A collection of optional fields to customize the operation.
- Logging Request Boolean option to enable logging of each API request sent to Haravan for debugging purposes.

The only input property relevant here is the "Options" collection, which currently supports enabling or disabling detailed request logging.

Output

The node outputs an array of JSON objects representing the result of the executed operation(s). For the Customer Delete operation, the output JSON includes metadata about the execution:

  • executionId: Unique identifier for the current execution.
  • resource: The resource type, e.g., "Customer".
  • operation: The operation performed, e.g., "Delete".
  • status: Status of the operation, typically "completed".
  • timestamp: ISO string timestamp when the operation was completed.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Haravan platform.
  • Depends on the external Haravan API service to perform customer deletion.
  • No additional environment variables are explicitly required beyond the API authentication setup.

Troubleshooting

  • Common issues:

    • Failure to authenticate due to invalid or missing API credentials.
    • API rate limits or network connectivity problems causing request failures.
    • Attempting to delete a non-existent customer may result in errors from the Haravan API.
  • Error messages:

    • Errors thrown during execution will include the item index for easier debugging.
    • If "continue on fail" is disabled, the node will stop on the first error; enabling it allows processing remaining items despite errors.
  • Resolution tips:

    • Verify that the API key credential is correctly configured and has sufficient permissions.
    • Enable the "Logging Request" option to capture detailed request logs for troubleshooting.
    • Check the validity of customer IDs before attempting deletion.

Links and References

Discussion