I have a webhook setup that’s receiving a “payload” https://bit.ly/3NDEHCm
For the life of me, I cannot figure out how to parse this data so that I can use it to create and update things. Do I really need to use an external service to parse the data into a format that bubble can understand?
since the payload is pretty much fixed at this point, click edit raw data and format it properly and bubble should restructure it above. The looks of it, the whole object for the ‘payload’ is a string value which needs to be changed.
Well it looks like you’re definitely getting closer. How confident are you that there in fact wasn’t empty data passed? Or rather that you’re using the right ‘version-test’ url for the webhook?
I honestly can’t think of a quick fix for you. I mean, that string needs a JSON.parse method, but then how do you access the data from bubble even if you could with a custom method? Unless this method parses the response and also creates a new thing (which is possible)
You can redirect the json part to another backend WF using API connector that will call this backend wf in a POST request and in JSON. Be sure to include application/json for content-type header
Hi @Jici
Can you please show me an example of how to setup the API connector for this so that it parses the raw POST body that hasn’t been parsed or decoded?