I need a Zap that will be notified when a MS Contact is updated...Unfortunately, there is not a Zap to do this. SO...I researched MS Graph API and creating subscriptions for this type of notifications. It looks just like a RestHooks subscription with Create and Delete subscription methods.
I am curious if anyone has tried this? If so, any guidance before I dive in?
Here’s a tutorial if anyone is interested: https://docs.microsoft.com/en-us/learn/modules/msgraph-changenotifications-trackchanges/4-change-notifications
Thanks in advance.
Best answer by ikbelkirasanView original
@Mercology - I think it would better to implement this in a custom Zapier integration. Using a Hook trigger enables you to:
It looks like this API requires renewing the subscriptions from time to time. To achieve that, you might want to add another trigger (it would be a polling trigger in this case) to check if the subscription expired and when that happens, it should call this endpoint:
Tip: This subscription_id might not be accessible from this second trigger so you should store it in Zapier Storage for example when you create the subscription in order to be able to fetch it when the polling trigger runs.
I hope this helps.