Hey, I'm trying to use a custom metric to trigger a flow from a third-party integration.
What I did is create a custom metric using the API, and then I created a flow and set its trigger to by the metric I created with the API.
And now I'm trying to trigger the flow using this API end point: Track Profile Activity (klaviyo.com)
but for some reason I get 0 as a response which means the request has failed.
here is the code for the request:

Best answer by Brian Turcotte
View original