Preview image and video URLs in Microsoft Teams alerts
Use case description
We are going to work with the βVideo Content Planβ list. This list contains data about videos published on the corporate YouTube channel. We would like to notify the team of newly added videos with Alerts and Reminders by Virto. When a new item with a video description, preview image, and video URL appears in the list, we need an automatic alert with a clickable preview image to go to the Microsoft Teams channel.
Step 1: Choose the list and add a complex link
First, choose the right source list. Find a SharePoint list with βImageβ and βHyperlinkβ column types for a new notification.
Choose this list when you create a new alert.
Check you have βNew items are addedβ selected in the βChange Typeβ field to make this the chosen alert trigger.
Add a complex link to the alert in the βMessage Viewβ block as described in the "Complex links" section. The title source is βPreview Image,β and the URL source is βDisplay Item URL.β
Step 2: Add the webhook
To send this alert to the Teams channel, you need to create and insert the webhook: follow these simple steps and insert the webhook URL in the βRecipientsβ section. Remember to save the new alert.
Check the new alert you have just created.
Step 3: Enjoy the result
Now, if someone adds a new video to the list, an email notification containing the clickable image will be sent to the chosen recipients. When a user clicks the image, they will be redirected to the YouTube video.
The same message will appear in the chosen Teams channel.
Last updated