Hi Klaviyo Community!
Very excited to be a part of the Klaviyo community, and it’s amazing to see how much progress has been made on the API in the past few months. I’m looking to send (effectively transactional) emails via Klaviyo through API, without requiring the merchant to set up a flow in their Klaviyo account. Part of the current workflow for my Klaviyo integration presently requires merchants manually set up flows using a custom metrics trigger flow - which can take each merchant quite a bit of time, and these flows contain a single email + are identical across merchants. This has resulted in long set up times with my app. I’d like to send emails without the need of a metric (similar to how sendgrid’s API work). My issue could be solved this in one of two ways:
-
Through the POST `https://a.klaviyo.com/api/v1/email-template/{template_id}/render` endpoint, which would render a template programmatically. This endpoint allows me to manually send an email without using a flow, and that email can be loaded into Klaviyo via another endpoint. However, it looks like this endpoint is being deprecated, and requires approval per merchant. Are there plans to revitalize this endpoint in Klaviyo’s V3?
“This API is intended to test templates only, and is rate limited to the following thresholds: 100/hour, 1,000/day.”
-
If flows could be programmatically created, I could programmatically generate a draft-state flow which contains a metric trigger and a single email. I imagine this level of functionality could be useful, as I’m aware of other third party apps (Rush) with laborious set up processes (oftentimes requiring Klaviyo staff to manually copy and paste flows across merchants). The endpoint here I imagine could be quite complex, as Klaviyo flows themselves have a lot of moving parts. Are there any plans to add something like this for API V3? That is, something like a POST /flow endpoint?
Thanks!