Hi,
I want to create email for specific customer profile like this picture below, but I didn't find that API
Can someone help me, thank you.
Hi,
I want to create email for specific customer profile like this picture below, but I didn't find that API
Can someone help me, thank you.
Hello
https://developers.klaviyo.com/en/reference/create_profile
I don’t know your level of expertise, but doing this through the API isn’t as straightforward as you may be thinking. It will take multiple API calls, and a little bit of work inside of Klaviyo before you begin.
Your first job is creating a list or a segment with the single profile you want to email, and then saving the returned ID. If you already know the profile’s ID, it’s probably faster to create a list:
After that, you’ll need to add the profile to that list:
If you don’t already have the profile ID for that contact, you’ll have to look them up and get the ID first:
Or if you don’t know the ID, but you do know the email address, you could create a segment, but the body parameters and attributes are a bit messier (save the segment ID when you’re done):
Either way, now that you have your profile on a list or segment, you’ll need to create a template inside of Klaviyo, and also record the ID of that template.
After that, you can follow the steps here in the “campaign overview” to see all the different calls you need to make to actually send that single email:
Once the campaign has been sent, you can choose to keep or delete the list (or segment) that you previously created in order to keep your account clean…..or take additional steps to remove the current person and add whoever is next on your list.
If this is something you need, but a bit more than you were ready to take on yourself, I’m a Klaviyo developer and Silver-level partner. I’d be happy to take a look at it for you.
If you’re going to want to do this for many profiles going forward, another option is a custom event with an associated flow, and use the Create Event call to send the event to the profile. The event body could even have dynamic text you want to include in the email the flow sends.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.