youtube image
From YouTube: Microsoft Outlook Smart Alerts

Description

In this 7-minute Developer-focused demo, Sam Ramon shows an event-based activation capability in preview that runs logic after a user selects Send from a message or appointment. Demo scenario - the add-in verifies correct color categories have been applied based on keywords in mail’s text. Activated by OnMessageSend and OnAppointmentSend events. Uses LaunchEvents element in the manifest, Office.actions.associate method to register event handlers, and calls event.completed method to indicate handler code completion. Uses the SoftBlock SendMode option for the message. This PnP Community demo is taken from the Office Add-ins community call – June 2022, recorded on June 8, 2022.

Demo Presenter
• Sam Ramon - Technical Writer (Microsoft)

Supporting documents
• Documentation - Use Smart Alerts and the OnMessageSend and OnAppointmentSend events in your Outlook add-in (preview) | https://docs.microsoft.com/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough
• Documentation - LaunchEvent element | https://docs.microsoft.com/javascript/api/manifest/launchevent?view=common-js-preview
• Sample - Use Outlook Smart Alerts (preview) | https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/outlook-check-item-categories
• Documentation - Configure your Outlook add-in for event-based activation | https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community