Hello.
Sorry for this silly question but i can not return a valid json with all data from the Code Node via Webhook Respond Node.
Basically i want to return this JSON from the Webhook Respond Node:
I am really stuck
Hello.
Sorry for this silly question but i can not return a valid json with all data from the Code Node via Webhook Respond Node.
Basically i want to return this JSON from the Webhook Respond Node:
I am really stuck
Hi @Mulen,
replace the āreturnā in your code with the following:
return daysTest.map((value)=> {
return {json:{value}}
})
This is going to output your 2 items as separate items
Please let us know if it solved your problem
I managed to solve it with a little bit of trial and error and the help of this post. I donāt know if it is the optimal solution but i get the results i want.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.