I’m trying to update a flow message template I initially created and added to a flow with the api of code type with the patch request but even though I can do a get to retrieve the template details I can’t seem to update it. It simply gives me an error that the Template does not exist.
Am I not doing something right here or is there a proper way to update the content of a flow email message with the api?
Looking at the api documentation overview for flows it looks like this is supposed to be a supported functionality (https://developers.klaviyo.com/en/reference/flows_api_overview):
Particularly I’m looking at the bottom of that page at this section:
Next steps
Using your Klaviyo test account and Postman, try out the following:
- Create an abandoned cart flow in your Klaviyo test account and copy the flow ID.
- Fetch the flow actions associated with your flow using the flow ID in a call to Get Flow Flow Actions. Use
?filter=equals(action_type,"SEND_EMAIL")as a query parameter to show only Send Email flow actions.- Call Get Flow Action Messages with a flow action ID from your response to get the Send Email action’s message.
- Call Get Flow Message Template with the flow message ID from your response.
- Update the template with Update Template, using the template ID from your response.
Thanks

