I would suggest you to use curl and store your keys/secrets as secret variables in pipelines.
I use curl to send notifications to slack.
My code is something like this -
curl -X POST -H 'Content-type: application/json' \
--data '{"text":"Build Successful"}' \
$SLACK_URLLink to slack documentation - https://api.slack.com/incoming-webhooks#sending_messages
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.