Integrate Microsoft Teams with percy
Configure Microsoft Teams to receive percy notifications
The percy and Microsoft Teams integration enables you to view the notifications of your visual tests within Microsoft Teams. With this integration, you can configure unlimited connections between Microsoft Teams channels and Percy projects. You can also specify what kinds of notifications you want to receive for each connection.
Generate an Incoming Webhook URL
To integrate Microsoft Teams with percy, we use an Incoming Webhook URL to enable communication between these two applications. Follow these steps to generate an Incoming Webhook URL:
- Open the Microsoft Teams dashboard.
- Click the three dots (More added apps) on the left pane and search for incoming webhook in the search field.
- Click Add next to Incoming Webhook in the search results.
- Click Add to a team.
- Select the team which should receive the percy build notifications in the Type a team or channel name field, and then click Set up a connector.
- Enter a name for the Incoming Webhook. Optionally, upload a custom image for the webhook.
- Click Create. The webhook is created.
- Copy the generated URL. You use it to integrate Microsoft Teams with percy.
- Click Done.
Integrate a Microsoft Teams channel with percy
The next step is to integrate Microsoft Teams with percy. To do that, follow these steps:
- Go to the Integrations page, and click Connect for Microsoft Teams. You’ll be directed to a Microsoft Teams authorization page giving percy permission to connect to a Microsoft Teams channel.
NOTE: To authorize Microsoft Teams, you must both be an admin of your Percy organization and have permission within your Microsoft Teams workplace to install apps. Check your workspace permissions settings. - Click Add Microsoft Teams Channel. Enter the generated Webhook URL and specify a channel/team name present on Microsoft Teams.
NOTE: It is recommended to use the same channel/team name which you used to add Incoming Webhook in Microsoft Teams. - Edit the configuration according to your requirements and save your changes.
Supported notifications:
You can choose to receive different notifications for a percy build in Microsoft Teams. The following is the list of notifications that are currently supported:
- Unreviewed and Changes requested: Get notifications when builds with the status “Unreviewed” or “Changes requested” have completed processing. These alerts will automatically update whenever the status of the related build changes. This is the default selection.
- No changes: Get notifications when builds finish with no visual changes.
- Auto-approved: Get notifications when builds are auto-approved from your auto-approved branches.
- Approved: Get information about the person who approves a build and the corresponding PR details in addition to the Unreviewed notice when the build is approved.
After you save your configuration, percy will start sending your custom notifications to Microsoft Teams channel. You can edit, add, or delete configurations any time.
Finished
Your Microsoft Teams integration will show up as below on the percy Integrations page.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!