GAPLI Trigger
AI-generatedSummary
Poll GAPLI for new orders, order status changes, or new products on the configured schedule. Emit each detected item with event metadata, using saved workflow state to identify new items and status changes.
Inputs
- Poll Times — Set when polling runs: every minute, hour, day, week, month, every X minutes or hours, or a custom cron expression. Defaults to every minute.
- Event (required) — Choose New Order, Order Status Changed, or New Product.
- Order Status Filter — For order events, optionally restrict results to a status such as cancelled, delivered, new, processing, or shipped. Defaults to all statuses.
- Market Name or ID — For New Product, optionally restrict results to a market or region; the default value 0 means all markets.
- Parser ID Filter — For New Product, optionally restrict results to a parser or wholesaler ID. The default value 0 applies no parser filter.
Output shape
A list of items, or no items when no matching events are detected.
Each emitted item contains the GAPLI order or product fields plus _event and _triggeredAt. Order status change items also include _previousStatus and _newStatus. Each poll requests up to 50 records; workflow static data tracks previously seen order IDs, product SKUs, and order statuses. If the first API poll fails, the trigger returns no items and records the current timestamp; later errors are thrown.