Setting up webhook authentication for monday.com

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.

Hey @Stephen,

Can you share the workflow? Slack requires something similar so we should be able to do it.

Hi @Jon,

Not sure what else to share other than what I’ve already provided.

What do you need?

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.

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.

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.

Hi @Jon,

Thank you! That worked!

Easy when you know how, right?

I really appreciate your help. :slight_smile:

1 Like

Hey @Stephen,

Glad it is working :raised_hands:

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?