Home > Blockchain >  Configure "When a new email arrives (V3)" trigger to filter based on specific word or doma
Configure "When a new email arrives (V3)" trigger to filter based on specific word or doma

Time:12-30

I created a short logic app where the trigger is "When a new email arrives (V3)" and I would like for it to trigger only for emails from a specific domain, let's say xyz.com. I know I can use the From parameter, but that requires me to manage list of emails, separated by semicolons.

email trigger

How could I configure this to trigger only for xyz.com emails?

I tried to use dynamic content but, so far I did not manage to figure it out.

CodePudding user response:

You need to add a trigger condition to the flow.

Although our triggers look a little different, the concept should be exactly the same. First, you need to access the settings of the trigger ...

Trigger Settings

... and then you need to add the trigger condition.

In your case, the trigger condition will be like thus ...

@contains(triggerBody()?['From'], 'xyz.com')

Trigger Condition

  • Related