Help with JSON coming in through webhook

Yes so the data you receice is not formatted correctly and has the wrong headers. Try this;

  • enable json passthrough on the webhook
    You can do this underneath the menu item Webhooks → find the webhook → Edi
    You don’t need to delete youe webhook at all

  • use a regex pattern and search for the parts you want to remove, so in this case you only want to end up with the JSON data so you can parse it later. How to use Regex in Make?
    You can use the replace() function to replace parts with an emptrystring (remove the parts you don’t need).

  • use the JSON parser module and parse out the data you are left with

It does require a bit of effort, so ideally you want to fix the side of the input. If you can modify system which sends this data, that would be the best way

2 Likes