Break up scenarios with secure webhooks

What are you trying to achieve?

Hey!

I have some pretty large and messy scenarios that I intend organize better by breaking them into smaller pieces/modules using http-module and webhooks. Similar to what this guy is doing.

My questions:

  1. Is this a good approach?
  2. What about security? On the off chance that someone figures out the webhook-URL, they could send in garbage data I guess? How can I make it safer? IP whitelisting seems like one approach, but how do I know what IP my post request will come from in my other scenario?

Thankful for any help.

If calling scenarios in the same organization, simply whitelist the IP address for the servers the zone is in.

For more information, see https://www.make.com/en/help/connections/allowing-connections-to-and-from-make-ip-addresses

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

2 Likes

ah, that was easy :laughing: thanks!

Hi Nicky,
You could also secure your webhook by using an API key. Basically you would put your token in the header and use a filter between the webhook module and the next module to check if the token matches your token.