Solved

How to create a trigger flow on campaign email sent

  • 28 February 2024
  • 2 replies
  • 50 views

Badge

I have requirement where, when we send campaign email from klaviyo to list of users, we need to send the information (EmailId, Subject, PlainEmailText, HtmlEmailBody) of each recipients to third party endpoint. How can I achieve that in Klaviyo? 

icon

Best answer by retention 28 February 2024, 19:11

View original

2 replies

Userlevel 7
Badge +57

HI @pant.amit, welcome to the community!

As far as I know, there isn’t a way to Trigger a Flow from a Campaign based on Campaign performance metrics and events (Delivered, Opened, Clicked, etc), Klaviyo mentions in the docs that this isn’t yet possible.  

 


However, you might be able to do parts of this with the Klaviyo API with the “Events API” and filter it to “Received Email” events.  Then for each person that received, you can look up the related message for some of the message data details.  However, from what I remember, it doesn’t appear it includes the actual email body (HTML or Plain Text).  That might be very low level data that isn’t exposed by the API yet - though you can also look at the “Campaign API” to see what data you can retrieve.

With the information in the Campaign API, you also can get the Template ID and you might be able to rebuild each email for each recipient and send it to your third party endpoint, but that’s quite a big lift. 

Perhaps others might have other suggestions on how to do this, also try cross-posting this into our Developer Group here: https://community.klaviyo.com/groups/developer-group-64

 

Badge

Thanks

Reply