Adding Shopify Tags with Shopify Flow to Klaviyo

Misurek
Tourist
7 0 1

Hey there,

I would like to trigger a Shopify Flow when a Shopify tag is added to customers and transfer that tag to Klaviyo as a custom property immediately. 

I created a Flow (with the help of Klaviyo support, Shopify Support, and this article from Klaviyo: https://help.klaviyo.com/hc/en-us/articles/360014410811#h_01HCFKXSHC1TPE0B682P2WVHWB

But it seems nobody knows what to do or how this Shopify Flow - Klaviyo connection works. 

And the flow is still not working. 

I attached the flow and my settings, please help to find out what is the issue and why this flow is not triggering and transferring any data to Klaviyo

Képernyőfotó 2024-01-16 - 13.16.53.pngKépernyőfotó 2024-01-16 - 13.15.05.png

Replies 11 (11)

paul_n
Shopify Staff
796 118 191

Suppose you had tags: "A", "B". Your code would send Klaviyo "AB". 

 

We don't know how Klaviyo takes this data, so they should be the experts on that. But I believe the format is a simple JSON object. See this post https://community.shopify.com/c/shopify-flow-app/pass-tracking-number-as-event-property-to-klaviyo/m...

 

I'm not sure how it accepts a list of tags. Ideas:
{

tags: ["A", "B"]
}

or 

{

tags: "A, B"

}

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Misurek
Tourist
7 0 1

Hey Paul,

Thanks for the answer!

Another question:

It seems ( first image) that the flow is not even triggering. The flow has been active for several days now and since many Shopify tags were added to customers but this flow wasn't even triggered once. 

What could be the reason for that?

Thanks,
M


paul_n
Shopify Staff
796 118 191

Have you tried testing it by adding tags to a fake customer? 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Misurek
Tourist
7 0 1

Hey Paul, 

What I noticed in the description of Customer Tags Added it says there are Fields (attached print screen) where I should choose what customer tag could trigger the flow. But when I try to edit this I can't find any option or any Fields (attached print screen). 

Maybe that's why my flow is not triggering.

How can I edit that?
Képernyőfotó 2024-01-18 - 13.16.02.pngKépernyőfotó 2024-01-18 - 13.15.53.png

paul_n
Shopify Staff
796 118 191

They aren't in the trigger. They are available as data in subsequent steps. If you want to check tags, add a condition 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Misurek
Tourist
7 0 1

By default ( if I don't add a subsequent step to add conditions) the flow should trigger after any customer tag is added in Shopify? 

paul_n
Shopify Staff
796 118 191

yes, although there might be more than 1 at a time

 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Misurek
Tourist
7 0 1

And that can cause a problem? That can cause that the flow is not triggered?

paul_n
Shopify Staff
796 118 191

No. It just means you need to think the tags added as potentially more than 1. If a tag is added, and your workflow is active, it should run. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Misurek
Tourist
7 0 1

Thanks! So if not that, then what can be the reason that a Flow is not triggering at all? The trigger is Customer Tag Added, and a lot of tag is added inside Shopify but 0 activity on the flow. 

Misurek
Tourist
7 0 1

And that can cause a problem? That can cause that the flow is not triggered?