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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Email invoice attachment to specific recipient based on name of attachment

(0) ShareShare
ReportReport
Posted on by 3

Good Morning. I am new to power automate, and I was hoping someone could help me build a flow that automatically emails invoices as an attachment to the appropriate client email address based on the title of the invoice. 

 

All monthly invoices are saved under Documents > Invoice > Year > Month. They are titled “[Month] Invoice – [Client Name]”. I also have an excel spreadsheet that has the client name listed in column A and the email address to send invoice to in column B.

 

ScreenShot3.PNG

 

ScreenShot2.PNG

 

Is it possible to create a flow that identifies the client name on the invoice title, matches the title to the spreadsheet email, and then sends an email to the appropriate address with the invoice attached? Or is there an easier way to do that?

 

Thanks!

 

I have the same question (0)
  • Verified answer
    v-chengfen-msft Profile Picture
    on at
    Re: Email invoice attachment to specific recipient based on name of attachment

    Hi @Pbayer14 ,

    I made a template for your reference:

    Here is document:

    vchengfenmsft_0-1675130172509.png

    Here is excel:

    vchengfenmsft_1-1675130413509.png

    Here is flow:

    Triggered when you have a new file added

    [Filter array] Compare whether the file name contains the user name

    vchengfenmsft_4-1675131172075.png

    If yes, the length of [Filter array] is greater than 0

    vchengfenmsft_0-1675238235853.png

    vchengfenmsft_6-1675131302873.png

    Here is result:

    vchengfenmsft_2-1675131027628.pngvchengfenmsft_3-1675131090161.png

     

     

    Best Regards

    Cheng Feng

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 560 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 347 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 262 Most Valuable Professional

Last 30 days Overall leaderboard