Skip to main content
Solved

Can I load emails and schedule them to be sent from a 3rd party software via API?

  • August 13, 2024
  • 2 replies
  • 33 views

Forum|alt.badge.img+3

I’m developing a service for providing monthly email marketing templates. At the moment, the entire process of modifying the templates with their own brand and product information, images and links is automated. This all happens externally to Klaviyo and saves immense amounts of time.

But they still have to manually cut and paste each email into Klaviyo, manually schedule them to be sent, etc. I want to build out the final piece of the automation to allow a “publish to platform” component that would allow them to save all that time. 

Is this currently possible with Klaviyo’s backend API access or otherwise?

Thanks!

Best answer by Kim Strauch

Yes, you should be able to automate this process assuming you’re fully designing the templates they want to send from Klaviyo, without any further edits and you can let them configure how they want to schedule / send these as email campaign.

You can call the  Create Template API to upload HTML email templates to Klaviyo vs. needing to have your users download / upload manually. 

Then, you can use our Create Campaign API. As part of this, you might design the subject, preview text, etc. You’ll need to call the Assign Template endpoint to assign the email HTML template to the message of this campaign. The last step is to send the campaign using this endpoint.

Alternatively, you can just do a subset of these steps — e.g. just uploading the template via API — and leave the rest of the heavy-lifting to the Klaviyo UI

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

2 replies

Kim Strauch
Klaviyo Employee
Forum|alt.badge.img+9
  • Klaviyo Employee
  • 91 replies
  • Answer
  • August 22, 2024

Yes, you should be able to automate this process assuming you’re fully designing the templates they want to send from Klaviyo, without any further edits and you can let them configure how they want to schedule / send these as email campaign.

You can call the  Create Template API to upload HTML email templates to Klaviyo vs. needing to have your users download / upload manually. 

Then, you can use our Create Campaign API. As part of this, you might design the subject, preview text, etc. You’ll need to call the Assign Template endpoint to assign the email HTML template to the message of this campaign. The last step is to send the campaign using this endpoint.

Alternatively, you can just do a subset of these steps — e.g. just uploading the template via API — and leave the rest of the heavy-lifting to the Klaviyo UI


Forum|alt.badge.img+3
  • Author
  • Contributor I
  • 1 reply
  • August 22, 2024

Great, thank you! That’s exactly what I needed.