An example HTTP server for listening to PagerTree outgoing webhooks.
The server listens for webhooks and then does custom logic. It comes with a fly.toml to be deployed on fly.io but can be run anywhere using the Dockerfile.
DEBUG=example-client-connector:* npm start
then open your browswer to http://localhost:3000
The custom endpoints and logic can be found in ./routes/freshservice.js, but this is only an example. It is up to you to write whatever custom logic you need for your app.