Sending emails

  • 20 July 2023
  • 2 replies
  • 323 views

Badge

Hello Team, 
I need to send email using the API and also i have created one flow and that flow now mark has transactional flow and also i have create profile from the API so is there any way to send email using the API  please let me know 

Thanks 


2 replies

Userlevel 4
Badge +7

Hi @kushvyas,

Klaviyo isn’t a transactional email service so you can’t trigger specific emails like you could with, for example, Mandrill (+ Mailchimp).

However, there are a variety of different ways to achieve what your’e trying to achieve.

The best approach in my opinion is a Metric-based flow triggered via an event.

You can trigger an event on a user which triggers a flow, and within that flow you can send an email. Check out metric based flows here: https://help.klaviyo.com/hc/en-us/articles/360003057151

Cheers,

Kevin.

Userlevel 2
Badge +5

I’ll echo what @KeviSunshine said.

 

I’m transitioning from a provider where I’d explicitly make an API call with:

  • email to send to
  • template to use
  • merge fields to populate the template

Many of these map very nicely into the Klaviyo ecosystem:

  • API call to create a custom event
  • Flow triggered by the event that has templates and additional logic
  • populate the template in the flow with data from either the event or the profile

The email that gets sent looks almost identical, but those Events create an wonderful record of what’s actually happening with a given profile.

Reply