Greetings from the Tryvium Team,
Here is how to integrate a Transferwise webhook with Slack notifications. We have chosen to use cloudflare workers as a perfect case study for serverless applications using cloudflare.
-
First of all set up things on Transferwise side
-
Secondly create an incoming webhook
-
Finally take the script below and create a new cloudflare worker, filling the
SLACK_WEBHOOK_URL
variable with your actual URL.
Nice script, the Transferwise test won't show up in Slack, so you can run a complete test by invoking the worker endpoint with a payload from a terminal: