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 / How to compare email s...
Power Automate
Unanswered

How to compare email subject template

(0) ShareShare
ReportReport
Posted on by 2,249

I need to check if my email subject is not as per predefined template when email arrives then 1 need to take action of moving that email to document library if it's subject has standard template then export to document library A and if subject is not as per standard template then it should be move different document library B.

 

Example 

Email subject: john contract details 1234 123(dynamic values)//standard template

Email subject : contract details 567//not standard template

 

Categories:
I have the same question (0)
  • Veblitz Profile Picture
    2,249 on at

    Great inputs. Much appreciated. I would try and reach you if I need any help 🙏 

  • Veblitz Profile Picture
    2,249 on at

    I created the steps but im not sure of how to create environment variables for storing url for exporting email into document library .

     

    Also,if we need to create json for storing url etc if so i do not know much of it.

     

    Kindly shed some light

  • Veblitz Profile Picture
    2,249 on at

    Im getting emails in shared email box when new email arrives then flow should check if its based out of templates

    How many standard templates are there? 1-2-2000? --- We have 3 standard templates

     

    Im using in the below email when new email arrives trigger just for testing purpose 

     

    Sample list item

    Veblitz_3-1719729816788.png

     

     

    Veblitz_0-1719729468391.png

    Veblitz_1-1719729606450.png

     

    Veblitz_2-1719729653660.png

     

     

  • Veblitz Profile Picture
    2,249 on at

    Sure please.Thanks

     

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Veblitz 

     

    Just want to check again - so you want the email subject to be of specific pattern by which flow should decide whether it should be moved to a document library - correct ? like the pattern should be like - Name contract details numerical parts  ?

    If yes how you are making the flow to trigger ? is it based on particular sender ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Veblitz Profile Picture
    2,249 on at

    When email arrives from shared emailbox then email template should be matched .if it's not matched then to be moved to document library 

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Veblitz 

     

    email template means subject correct ?

     

    also what would be pattern then - is it same pattern which i have shared above ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Veblitz Profile Picture
    2,249 on at

    Name numeric number in subject and body

     

    Example

    Subject contract number 124556

    Body

    Hi,

     

    Contract name: xxx

    Date 23 June 2024

    Contract number:12355

     

    Thanks 

     

  • Veblitz Profile Picture
    2,249 on at

    Sure.Thanks for taking time to sending this. I will try and update shortly

  • Veblitz Profile Picture
    2,249 on at

    can you please copy the expression for length expression and GUID expression etc when you get chance. Thanks 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard