web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email triggers not wor...
Power Automate
Unanswered

Email triggers not working in Power Automate

(0) ShareShare
ReportReport
Posted on by 73

I have what I would think is a very simple set of triggers for incoming emails in Power Automate using When a new email arrives in a shared mailbox - trigger only if incoming email is from a specific domain and if the subject contains a specific string.

 

triggers.jpg

I have tried different combinations (including endsWith for the email domain) without success and keep getting errors like 

The template language function 'xxx' expects its first parameter to be of type string. The provided value is of type 'Null'

 

Help to identify my error greatly appreciated!

C

Categories:
I have the same question (0)
  • Caspar_Rubin Profile Picture
    831 on at

    Hey

     

    The trigger conditions look fine to me. 

     

    Are you sure that the trigger is the problem here? If the trigger is the issue, usually the flow wouldn't even run and give you errors... They simply don't start...

    Are you sure that the error doesn't come from an action further down in the flow?

     

    cheers

  • cdfj Profile Picture
    73 on at

    Thanks @Caspar_Rubin - I wish it were so! And thank you for confirming I'm not nuts with the conditions!

    It definitely falls over at the start - when I run a test it fails immediately.

    I am wondering if there can be a conflict with other settings in the trigger? Hyphens in the To email address?

    Your expertise much appreciated!

    image001 (1).png

  • Caspar_Rubin Profile Picture
    831 on at

    Hey

     

    Super strange, I just did some testing with the same trigger conditions and i never got an error.

     

    I've seen that other people have the same error message coming from completely different triggers...

     

    Could you maybe try to save the flow as a copy and try turning on the copy and running it?

    Maybe your flow is buggy... maybe even try creating a completely new flow and create the trigger from scratch if you haven't tried that yet...

     

    Caspar_Rubin_0-1688197937339.png

     

     cheers

  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Hello @cdfj 

     

    @In your trigger condition is a the character “@“. This character has a special meaning in power automate. Have you tried to remove it from your trigger condition?

     

    Haven’t tested it, but it is very possible that this is causing the problem.

  • Verified answer
    cdfj Profile Picture
    73 on at

    With a few hours left before I go on leave and offline, I have fixed it. 🤗 I took your advice @Caspar_Rubin and built a new trigger, which inserted an array by default and changing the trigger conditions to Outputs got it running. 

    TriggersWorking.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard