"Looping through VTEX orders" trigger

How to trigger flow when looping through VTEX orders

Written By Ray Tang (Administrator)

Updated at June 5th, 2026

Before setting up your “VTEX” trigger nodes, ensure that you have already integrated your VTEX store with SleekFlow. You can follow the steps in this Help Center article to complete the connection.

 

 

Looping through VTEX orders

The “Looping through VTEX orders” trigger lets you process multiple VTEX orders in bulk based on conditions you define. Instead of enrolling one order at a time, this trigger retrieves a set of orders (e.g. all paid orders within a time range) and runs your flow actions for each of them.

A key use case is initial data sync, ensuring all relevant VTEX order records are pulled into SleekFlow. This supports order-based automation such as sending notifications, tagging high-value customers, or creating internal tickets for fulfilment.

Here are a few ways you can leverage this trigger:

  • Run scheduled order syncs
    • Keep your order data in SleekFlow or external systems updated by looping through all matching VTEX orders on a regular schedule.
  • Bulk update order statuses
    • Enroll groups of orders at once, such as all “ready for pickup” orders, to automatically send reminders or notifications.
  • Reprocess historical orders
    • Backfill past orders that meet your filters—for example, all “canceled” orders—into a flow to trigger follow-up actions.

Set up "Looping through VTEX orders" trigger node

You can follow the steps below to set up the “Looping through VTEX orders” trigger node:

  1. Click on the node to open up its form, which will appear on the right side of the screen
  2. The node form contains the following fields for you to set up the trigger:
    1. Setup tab
      1. Store: Select the connected VTEX store that you would like to set up this trigger with. If you haven’t connected to a VTEX store, follow the steps in this Help Center article to connect one.
      2. Order created within: This option lets you define a time frame for when the VTEX orders must have been created to be enrolled into the flow. It works as a filter on the order’s creation date. This is especially useful when you want to limit bulk or scheduled runs to recent orders, rather than processing your entire order history. For example:
        1. If you set Range = 7 and Unit = Days, only orders created in the last 7 days will be enrolled.
        2. If you set Range = 24 and Unit = Hours, the flow will include only orders placed in the past day.
    2. Filter tab
      1. Enrollment conditions: When toggled on, you can set specific conditions at the “Filter” tab that the customer must meet in order to be enrolled into the flow. For example:
        1. Order status = “ready-for-pickup”
        2. Created date is within the last 7 days
        3. Total order value ≥ USD 200