Using the Filter Node in Shopify Flow

How to create and set a Filter Node for Flow
Written by Fabio Romanelli
Updated 1 month ago

The Filter Node allows you to narrow down which products in the cart should be considered when building your logics. It is particularly useful when your flow needs to evaluate only certain items for example, products with specific tags, types, vendors, or attributes.

Understanding how filters work is essential for creating accurate and efficient Logics.

What the Filter Node Does

When you add a Filter node to your flow, Flow creates a “filtered cart” a temporary subset of the original cart.
Any conditions or calculations that follow the Filter node will be based only on the products that match your filter criteria.

This also means that Flow can calculate a partial cart total, which you can use inside conditions and result logic.
In the below example the filter will calculate only products with the tag "STORAGE" in the current cart.

Examples of use cases:

  • Apply a rate only if product tag fragile items are in the cart

  • Calculate shipping based only on heavy products

  • Exclude certain items from a rule before calculating totals

Choose Where the Filter Applies

When you create a Filter node, you can decide which cart the filter should be applied to:

1. Apply the filter to the original cart

The filter is applied directly to the customer’s full cart.
This is useful when you want to isolate products regardless of any previous filters applied in the flow.

2. Apply the filter to the current cart

If a previous filter already narrowed the selection, applying a second filter refines it further.
This allows you to chain multiple filters for more complex scenarios.

What Happens After a Filter Node

A Filter node can be followed by any other type of node, depending on your logic:

  • Condition nodes can check values like the partial cart total.

  • Switch nodes can branch based on product attributes found in the filtered cart.

  • Result nodes can create special outputs that apply only when filtered items are present.

The flow continues normally only the cart used for calculations has changed.

If you have any questions or need assistance during setup, our team is here to help. You can contact the Nextools Support Team anytime via the in-app live chat or by email. We’ll be happy to assist you.
Did this answer your question?