Outlook Module - Watch Messages

Hello again,

I have a scenario that uses the Microsoft 365 Email Module but I’m confused about how often it will run and how the Schedule Setting for the module is handled if it is an Acid Trigger type module.

I have it currently set to an “On Demand” schedule which seems inconsistent with the examples I’ve found in the help content. If I want the scenario to fire when it observes a new email that passes my filter, what “Schedule” am I supposed to use? I don’t want it running when no email is received. It seems like I would not need to set a schedule if the module is specifically set up to run when it detects new email.

Because I had not gotten this to work consistently, I used a different approach which was to set up a mailhook and follow that with a single module to fire my scenario to process the email. I set up a rule in exchange to auto forward email, but recently I’ve begun having issues with my forwarding rules, so I want to get this “watch” module working correctly.

Thank you

image

Hi,

You can read more about triggers here

And about ACID modules here

For Microsoft 365, there is no instant trigger.

You must use the “Mailhook” module and set up proper filters on your mailbox to forward emails to the created mailhook.

Similar thread

Have a nice day!

This is because the module is a POLLING trigger, and not an INSTANT (Webhook) trigger.

There are two main types of triggers, Polling (scheduled), and Instant (webhooks). Polling triggers can only run on a schedule. Instant triggers can be run as soon as data is received by the webhook.

Polling means Make checks external service for changes (pull changes to Make).
Webhook (instant) triggers means external service calls Make when there are new changes (push changes to Make).

The module you are using does not push changes — it’s basically a API request that Make has to occasionally “call” to fetch the latest changes/items.

To find out more on the different types of Trigger modules, see refer to Types of Modules and Webhooks sections of the Make help center.

See if your app has an “Instant” or “Webhook” trigger in Make. If not, check if the third-party service has a feature that can send out a webhooks when content is created/updated - and then you can point it to a “Custom Webhook” trigger in your scenario. You can also use a Custom Mailhook trigger - basically you set your mail service to forward emails to Make.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes

Thank you both for taking the time to reply to my message!

So the description of the module in the image I posted is a bit of a stretch wherein it states that the trigger will fire “when a new message is sent or received”. It will not. The module will trigger only on the polling schedule that I specify. Good to know.

If I want my scenario to trigger when the email is received, I need to revert to my prior strategy, which you also suggested mszymkowiak, which is forwarding the message to a mailhook. I have seen Microsoft perform inconsistently on my forwarding rules. (another set of challenges to be resolved elsewhere! )

Thanks again!