Hi Pact Team, I want to use webhook, triggered by ...
# general
p
Hi Pact Team, I want to use webhook, triggered by "Contract published with changed content or tags" and push data to Microsoft Teams. Do we have any documentation/example around it? Thanks in advance
m
I don’t think we do, but if you come up with an example we’d love a PR to our docs 🙏
If you can’t fire a webhook directly at Teams, you might need to use as strategy like sending the message to an intermediary (e.g. AWS Lambda) and calling from there
t
I’ve done this before with Teams, but not for Pact. The teams documentation you’ll want to start with is here: https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=javascript
You may need an administrator to create the webhook