iVendNext Trigger icon

iVendNext Trigger

Trigger workflows on iVendNext events via webhooks

iVendNext Trigger

AI-generated

Summary

Creates webhooks in iVendNext to trigger workflows on specific document events and executes those workflows when iVendNext notifies the webhook endpoint.

Inputs

  • docType (required) — The iVendNext DocType to monitor (e.g., Sales Order).
  • triggerName (required) — A unique prefix for the webhook name in iVendNext (e.g., 'My iVendNext Trigger').
  • event (required) — The specific event(s) to trigger on (e.g., after_insert, on_submit, value_changed).
  • autoDelete — Whether to automatically delete the webhook from iVendNext when the workflow is deactivated.
  • options.respondImmediately — Whether to send a 200 OK response to iVendNext immediately upon receiving the webhook payload.

Output shape

A single workflow item containing the raw JSON payload received from iVendNext.

The webhook URL is dynamically generated when the workflow is activated. If 'Respond Immediately' is enabled, the node returns a 200 OK response before the workflow executes; otherwise, it waits for the workflow to complete.

Examples

Example 1: Monitor new Sales Orders

DocType: Sales Order; Event: after_insert; Trigger Name: Sales Order Trigger; Respond Immediately: enabled

Example 2: Process form value changes

DocType: Customer; Event: value_changed; Trigger Name: Customer Value Change; Auto Delete: enabled

Links

Discussion