Skip to main content
Solved

How to create a trigger flow on campaign email sent

  • February 28, 2024
  • 2 replies
  • 186 views

Forum|alt.badge.img+1

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? 

Best answer by retention

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

 

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 944 replies
  • Answer
  • February 28, 2024

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

 


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 1 reply
  • February 29, 2024

Thanks