I used pdf.co to convert the Pdf file attached to Google email.
From the later results, I need the results that exist in Body.
There are a total of 3 url in body and I wanted to get 3 from jsonParse, but I failed.
What should I do?
I tried to put the pdf.co output value as Json input, but it failed.
I need a total of 3 url. I tried split based on “,” but it failed.
How can I divide the 3 urls that exist in body into url1, url2, url3?
Hello @sdffs310,
I’ve used this sample JSON in the ParseJSON module.
[{
"other_element_1": "Other value 1",
"other_element_2": "Other value 2",
"other_element_3": "Other value 3",
"body":["url-1","url-2","url-3"] // Only this is important
}]
After Parse JSON try to use Set Multiple Variables.
{{get(3.body; 1)}}
Change variable accordingly.
The array index is applied as a static number so you’ve to be careful about it. That array should have at least 3 text items. Otherwise, it creates an error.
1 Like
Thank you
I solve this problem because of your advice!!!
Thanks alot!
1 Like