Shopify Flow/Order Tagging & Segmentation/Automate Fundlet Order Tagging for Campaign Segmentation
Operational EfficiencyLow Difficulty

Automate Fundlet Order Tagging for Campaign Segmentation

Automatically tag orders containing products sold through your Fundlet campaigns, enabling precise segmentation and follow-up marketing strategies.

The Problem

Manually identifying orders originating from specific Fundlet campaigns is time-consuming and prone to error, leading to missed opportunities for targeted post-purchase engagement. Without clear segmentation, you risk sending generic communications, diluting campaign impact, and making it harder to accurately analyze campaign ROI.

What This Automation Solves

This Flow instantly solves this by starting when an **Order is created**. It then intelligently checks the order's **custom attributes for a 'campaign' key**, allowing it to identify Fundlet-specific purchases. Finally, it uses the **Add order tags action** with Liquid logic to dynamically apply unique tags, ensuring every Fundlet order is automatically categorized for easy filtering and action.

When to Use This Automation

  • To automatically segment customers who purchased from a specific Fundlet campaign for targeted email sequences.
  • To streamline fulfillment by quickly identifying and prioritizing orders with Fundlet products.
  • To accurately track the performance and revenue generated by individual Fundlet campaigns in your order reports.

Workflow

  1. Trigger

    Step 1

    This workflow starts when a new order is created

  2. Condition

    Step 2

    Custom attributes key is equal to campaign

  3. Action

    Step 3

    Add the following order tags using Liquid logic ({% for customAttributes_item in order.customAttributes %} ... fundlet_order_{{ ... }})

Step-by-Step Setup

  1. 1

    Create a new workflow in Shopify Flow, selecting 'Order created' as your trigger.

  2. 2

    Add a 'Condition' block. Configure it to check if 'order.customAttributes' contains a key named 'campaign' with any value.

  3. 3

    Add an 'Add order tags' action. Use Liquid logic: `fundlet_order_{{ order.customAttributes | where: "key", "campaign" | first.value }}`.

  4. 4

    Ensure your Fundlet integration populates custom attributes on the order or line item with campaign identifiers.

Related Questions

What are Shopify custom attributes and how do they relate to Fundlet campaigns?
Custom attributes are additional data points associated with orders or line items. Fundlet, or similar apps, often use them to store campaign IDs or unique identifiers when a product is purchased, allowing Flow to read and act on this specific data.
How can I use these Fundlet tags for customer segmentation?
Once tagged, you can filter your Shopify customer list or order history by these tags. Export these lists, or integrate directly with email marketing platforms like Klaviyo to create highly targeted segments for post-purchase flows.
Can I tag orders based on the specific Fundlet campaign name?
Yes, the provided Liquid logic dynamically pulls the value from the 'campaign' custom attribute. If your Fundlet integration passes the campaign name or ID as this value, your tags will reflect that specificity (e.g., 'fundlet_order_summerlaunch').
What if my Fundlet campaign isn't populating order custom attributes?
If your Fundlet integration isn't automatically adding custom attributes to orders or line items, this Flow won't work. Check your Fundlet app's settings or documentation, or contact their support to ensure this data is being passed correctly.

Recommended Tools & Apps

Launch this automation

Open Shopify Flow and use this page as your setup blueprint.

Open Shopify Flow

Merchant Insight

Beyond tagging, consider extending this Flow to send a unique welcome email via Klaviyo for specific Fundlet customer segments, or notify your fulfillment team via Slack about high-priority campaign orders, maximizing your campaign's post-p

Related Automations