Product Available - Captain icon

Product Available - Captain

Node to trigger when a product is became available

Product Available - Captain

AI-generated

Overview

This node triggers a workflow when a product becomes available, based on receiving a POST webhook notification. It is useful for automating processes that depend on product availability events, such as inventory updates or customer notifications.

Use Case Examples

  1. Trigger a workflow to notify customers when a product is back in stock.
  2. Automatically update inventory management systems when a product becomes available.

Output

JSON

  • workflowData - Array of JSON objects representing the product availability event data received from the webhook

Dependencies

  • Requires an environment variable UNEXO_Event_Trigger_Token for webhook authorization token.

Troubleshooting

  • Error if the webhook request method is not POST: Ensure the webhook is called with a POST request.
  • Error if the authorization token in the request header does not match the expected token: Verify the UNEXO_Event_Trigger_Token environment variable is correctly set and the request includes the correct Bearer token.

Discussion