Pairis
1
Hi all,
Sorry for the noob question but I’ve got a webhook body and I’d like to extract some info from it.
{"response_id":"15","created_at":"2024-11-22T19:59:17.554Z","form_id":"xxxxx","form_name":"xxxx","workspace_id":"yyyyy","timezone":"Europe/Amsterdam","page_url":"zzzzzzz,"test":false,"workflow_data":[],"response_data":{"From (number)":[{"label":"NAME","value":"NUMBER"}],"Message":"IMPUT"}}
I need:
“value”:“NUMBER”
“Message”:“IMPUT”
I have BLL, but don’t know how to get it to do the above.
Thanks very much on all the advice on how to get there!
RonnyW
2
Use these standard logic THEN cards:
And set JSON path to:
response_data[“From (number)”][0].label
response_data.Message
And please post JSON as “code” to keep simple " " signs

Pairis
3
Thanks for your quick response! Forgot about those!
response_data[“From (number)”][0].label gave me the following error
Lexical error on line 1. Unrecognized text.
$.response_data[“From (number)”][0].
----------------^
response_data.Message gave me the full body again, not the Message part.
RonnyW
4
Please try again with this code format that. Perhaps your browser exchanged the douoble quotes with unicode characters.
response_data["From (number)"][0].label
Pairis
5
Still the same error for the number.
But a correction at the message part. There the response is:
{“event”:“R1”,“data1”:“field2”,“data2”:“field3”}
Which is still confusing.
Pairis
6
Also to add,
The trigger is the community app Webhooks.
This bc I could not let the Logic Webhook module to be triggered by Formcrafts.
But I will give that one another try in the morning.
Pairis
7
So I managed to configure the logic Webhook receive module.
Unfortunately It can only handle 1 card, so therefore I now pas it through a no-code platform.
Now I need to split the string based on the “|”
Any suggestions?
Pairis
8
Couple of trials and errors and with some help of Perplexity AI, I managed to get it right!
Thanks all!