Skip to main content

Hi everyone, I need help understanding how to parse a webhook response in a ManyChat workflow, especially when the response comes as an array of outputs. Could someone explain the best way to handle this or share an example?

Hi, ​@samar!

You can map each item from your array response like this:

  • Field 1 = $.array[0]
  • Field 2 = $.array[1]
  • FIeld 3 = $.array[2]
  • ...

Hey ​@samar if you’re trying to parse a text JSON response (like what OpenAI will use in its replies), then you need something external.

This video is in Spanish, but it shows you how to do it:

 


@Gustavo Boregio Thank you for sharing a video. It was very helpful.

 

Please add a english subtitle in your next videos.