Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi there 🙂
I set up a flow in Shopify, which is triggered by a customer leaving a segment.
Then, the flow checks whether the customer is now in a new segment and if that is true, removes old tags and adds new tags. Based on these tags the customer also enters a segment set up in Klaviyo (not sure if that is even necessary though).
I want Klaviyo to send this specific customer an e-mail.
I thought I had set this up correctly by choosing “create campaign” with Klaviyo as the last action step but now had to realize that the e-mail/campaign was sent to all customers in that segment (which makes sense now that i take a closer look..).
Do you know how I have to set up the last action step to ensure that only the customer, who triggered the flow in the first place is actually receiving this e-mail?
I had a look at "track an event" as the last action step but do not really have a clue what to fill in here.
Is anyone experiencing the same problems?
Happy to hear your thoughts on this!
Hi Malix, Klaviyo only provides two actions in Flow — "Track an Event" and "Create a Campaign" — neither of which seem to provide a way to email an individual customer. You may need to consider other options for marketing automations. Apparently the Track an Event can be used to email a customer. Please refer to this Klaviyo documentation for more details.
Hi RPiii,
thanks for your response. I already had a look at the "track an event" action and I think by pushing a custom event to Klaviyo, I might be able to choose this event later on as a trigger metric within Klaviyo.
However, I am quite lost in setting up the information needed here (except for the public API key and event name):
Any ideas for example what the customer e-mail might be? I think it needs to be some kind of code to be entered here?
Thanks for your support!
In the side panel for the "Track an Event" action, click on the "Add a variable" link below each field, like so:
Then, select the "Customer" object and choose the relevant field from the list (eg, "email") and it will populate with a Liquid expression (eg, "{{customer.email}}) that should pass on the correct data to Klaviyo when the workflow runs.
Amazing! Thank you so much!
Yeah once that track event call goes through, you should then have a metric in klaviyo that you can build a klaviyo flow around.
Btw here's a template that I helped to create that does something very similar to this if you want to see a reference:
https://shopify.com/admin/apps/flow/editor/templates/019266ec-6276-7749-8c31-67379f4096be
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024