Stephen
September 28, 2022, 11:31pm
#1
I’ve previously used Integromat with monday.com and have just started my journey here with n8n
Unfortunately, I’m stumbling at the very first step - creating a valid response to a webhook from monday.com
I have added the webhook block and a webhook response block to my workflow
I checked the monday documentation about webhook integration and found this -
I then set up an expression in the Respond to Webhook like this -
This provides me with the Result as shown.
However, I end up with an error from this Result -
Has anyone here setup webhook authentication with monday.com ?
Am I doing something fundamentally wrong here?
Any guidance would be greatly appreciated.
Thanks in advance.
Jon
September 29, 2022, 6:26am
#2
Hey @Stephen ,
Can you share the workflow? Slack requires something similar so we should be able to do it.
Stephen
September 29, 2022, 9:21am
#3
Hi @Jon ,
Not sure what else to share other than what I’ve already provided.
What do you need?
Jon
September 29, 2022, 9:46am
#4
Hey @Stephen ,
The more information we have the quicker we can provide a solution or point you in the right direction, Having the workflow itself will tend to save some time so that we don’t have to type out what you have used in the screenshots and guess the other options as there is often more to a node than the text that gets inputted.
I have found the Monday webhook info page and from what I can see it is only the token itself that will change not the challenge
label so in theory something like the below should work which I have only tested with Curl to make sure it responds correctly.
Stephen
September 29, 2022, 11:03am
#5
Hi Jon,
Many thanks for your reply.
I did not realise that I could copy and paste workflows here.
I understand your comment about challenge label being fixed.
On that basis, I adjusted the response in the Respond to Webhook module. But still get a Problem executing workflow error.
Jon
September 29, 2022, 11:11am
#6
Hey @Stephen ,
You need to change the Respond With to Fixed then select JSON, This will give you a box so that you can set the json data to return with.
If you copy the node from my example above it should just paste into your workflow and do what you need.
Stephen
September 29, 2022, 11:16am
#7
Hi @Jon ,
Thank you! That worked!
Easy when you know how, right?
I really appreciate your help.
1 Like
mikenew
January 22, 2023, 3:51am
#9
Hi @Jon
Thanks for your workflow … when I used it I get the error in the “Respond to Webhook” node:
ERROR: Invalid JSON in 'Response Body' Field
I simply copied your code as below and said respond with JSON:
{ "challenge": "{{$json["body"]["challenge"]}}" }
Do you know what the issue is?