VTEX trigger nodes let you start automations in Advanced Flow Builder based on order activity in your VTEX store, or run scheduled backfills to process existing orders in bulk. This helps sales, support, and operations teams sync order data, notify customers, and route tasks automatically.
In this article, we will guide you through adding and configuring three VTEX triggers in Advanced Flow Builder.
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.
Supported VTEX triggers
- Loop through VTEX orders
Best for scheduled syncs or importing existing orders. This trigger loops through all matching orders in bulk based on your defined filters. - VTEX orders created
Use this when you want the flow to run as soon as a new order is created in VTEX — such as a new order or a new customer profile. - VTEX orders updated
Choose this if you want the flow to trigger when an existing order is updated — for example, when an order status changes from “processing” to “delivered.”
Loop through VTEX orders
The “Loop 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.
You can follow the steps below to set up the “Loop through VTEX orders” trigger node:
- Click on the node to open up its form, which will appear on the right side of the screen
- The node form contains the following fields for you to set up the trigger:
-
Setup tab
- 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.
-
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:
- If you set Range = 7 and Unit = Days, only orders created in the last 7 days will be enrolled.
- If you set Range = 24 and Unit = Hours, the flow will include only orders placed in the past day.
-
Filter tab
-
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:
- Order status = “ready-for-pickup”
- Created date is within the last 7 days
- Total order value ≥ USD 200
-
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:
-
Setup tab
VTEX orders created
The “VTEX orders created” trigger runs the flow automatically whenever a new order is placed in your connected VTEX store. Use this trigger when you want to take immediate action on new orders—for example, sending order confirmations, alerting your team about high-value purchases, or creating corresponding records in SleekFlow.
Here are a few ways you can leverage this trigger:
-
Send order confirmations
- Trigger automated WhatsApp or SMS messages to customers as soon as their order is placed.
-
Notify internal teams
- Alert sales or operations staff when a new order is created, especially for VIP customers or high-value purchases.
-
Create or update customer records
- Automatically sync new order details to SleekFlow contact profiles or custom objects for unified customer data.
You can follow the steps below to set up the “VTEX orders created” trigger node:
- Click on the node to open up its form, which will appear on the right side of the screen.
- The node form contains the following fields for you to set up the trigger:
-
Setup tab
-
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.
-
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.
-
Filter tab
-
Enrollment conditions: When toggled on, you can set specific conditions at the Filter tab that the order must meet in order to be enrolled into the flow. For example:
- Order total value ≥ USD 200
- Order status = “is confirmed”
- Payment method = “credit card”
-
Enrollment conditions: When toggled on, you can set specific conditions at the Filter tab that the order must meet in order to be enrolled into the flow. For example:
-
Setup tab
VTEX orders updated
The “VTEX orders updated” trigger runs the flow whenever an existing order in your connected VTEX store is updated. This is useful for automating notifications and internal processes based on changes to order status, payment state, or fulfillment details.
Here are a few ways you can leverage this trigger:
-
Send delivery or shipping updates
- Notify customers automatically when an order status changes to “shipped” or “delivered.”
-
Handle cancellations or payment failures
- Alert support staff or customers when an order is canceled or when a payment is declined.
-
Update CRM or internal systems
- Sync updated order statuses, tracking codes, or fulfillment details to SleekFlow custom objects or external tools.
You can follow the steps below to set up the “VTEX orders updated” trigger node:
- Click on the node to open up its form, which will appear on the right side of the screen.
- The node form contains the following fields for you to set up the trigger:
-
Setup tab
-
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.
-
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.
-
Filter tab
-
Enrollment conditions: When toggled on, you can set specific conditions at the Filter tab that the updated order must meet in order to be enrolled into the flow. For example:
- Order status changes from “processing” to “delivered”
- Payment status = “approved”
- Updated within the last 24 hours
-
Enrollment conditions: When toggled on, you can set specific conditions at the Filter tab that the updated order must meet in order to be enrolled into the flow. For example:
-
Setup tab