Skip to main content

I’m working on customizing flows in Klaviyo and was wondering if it’s possible to programmatically loop a flow. For example, after reaching the end of a flow, triggering it to start again automatically via code or API. Is there any supported method, workaround, or best practice for achieving this within the Klaviyo platform? Any guidance or insights would be greatly appreciated.

Hi ​@talhahussain,

Check out Klaviyo’s Webhook capabilities! You can use a Webhook to make an API call and this can achieve your purpose.

In the simplest form, imagine a flow like this…

  • Triggered via an event (Metric Flow)
  • At the end, there’s a webhook that calls Klaviyo and triggers the same event again

Hope that helps.

 

Best,

Kevin.


Thanks for Helping 


Would you allow me to share an idea on how to approach that?


Sure! What’re you thinking?


How to at the end, there’s a webhook that calls Klaviyo and triggers the same event again??


Yes, does that make sense? You can read more about webhooks here: https://help.klaviyo.com/hc/en-us/articles/4534329515931.

 


If you’re using a date property-triggered flow, you could also use the Create or Update Client Profile call to update the date profile property the flow’s triggered on to a date in the future, so the flow will again trigger for the profile.


Reply