A simple web server written in Typescript, nodejs and express to accept inbound webhook calls from Zammad and forward only the event without content to a slack channel
This will restart on file changes and report on TypeScript errors.
fnm use
yarn install
yarn devThis will not restart for file changes and will ignore TypeScript.
fnm use
yarn install
yarn startIf you want to exclude development dependencies completely, run:
yarn workspaces focus --all --productiondocker build -t zammad-to-slack .
docker run -d -p 8000:8000 zammad-to-slackIf the application is running, submit the sample payload from this repository:
curl --request POST\
--data @sample-payload.json\
--header "Content-Type: application/json"\
http://localhost:8000/zammadThe docker image is available on public.ecr.aws/refapp/zammad-to-slack:
./build-docker.sh or ./ecr-publish-docker.sh <AWS_PROFILE> <ECR_PUBLIC_ALIAS>