@SS you can create an external (available without login) suitelet to consume the webhook. However the problem you will probably encounter is that NetSuite checks the user agent header and fails if it doesn't look like a browser, so unless you are able to set this on the sending end, you will need to use middleware to proxy the webhook.
k
karlenigma
09/16/2020, 8:22 PM
Have you got a best middleware to use to modify a user agent value. Trying to do a mail chimp to NetSuite webhook the same way and not really sure what middle ware to use.
m
michoel
09/16/2020, 8:31 PM
@karlenigma I've personally used Google Cloud Function (eg https://stackoverflow.com/a/58514482). Any "lambda" / serverless function (AWS lambda, Azure Functions etc) will work well and you should fall under free tier.
k
karlenigma
09/16/2020, 8:34 PM
Is that the script you used on google cloud? Not sure how to go about setting something like that up though. Will have to do some digging around.