Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Notification flow for each case created

(0) ShareShare
ReportReport
Posted on by 312

Hi comunnity, I am working with the following invoice, and my question is, what is the correct procedure to send this information with this data?. I am using entities from dataverse.

MartinVargas_2-1636397934840.png

 

And this is my notification flow. Basically what it is doing is that for each OrderLine that it creates an email is sent with all this data.

MartinVargas_1-1636397923028.png

 

What I am looking for is to send all the data of this invoice, in a single email:

 

MartinVargas_0-1636397900616.png

 

Can anybody help me out here ?

Cheers folks. 

Categories:
  • MartinVargas Profile Picture
    312 on at
    Re: Notification flow for each case created

    Hi @v-xiaochen-msft , Thank you very much, I am very clear. By the way MKT_Order from the Order_Line table is a lookup column).

     

    MartinVargas_0-1636565281839.png

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Notification flow for each case created

    Hi @MartinVargas ,

     

    I assume that IdOrder column and MKT Order column are all text columns ,not lookup column.

    I did a test for you.

    vxiaochenmsft_0-1636513800508.png

    vxiaochenmsft_1-1636513909016.png

    vxiaochenmsft_2-1636513933866.png

    vxiaochenmsft_3-1636513948707.png

    vxiaochenmsft_4-1636513957452.png

    vxiaochenmsft_5-1636513972677.png

    idorder : @{outputs('List_rows')?['body/value'][0]['crba2_idorder']}<br>
    -----------------------------------------------------<br>

    vxiaochenmsft_6-1636514004535.png

    vxiaochenmsft_7-1636514027491.png

    vxiaochenmsft_8-1636514052288.png

     

    No I add a new Item to trigger this flow .

    vxiaochenmsft_9-1636514079540.png

    vxiaochenmsft_10-1636514099817.png

    vxiaochenmsft_11-1636514120643.png

     

     

     

    Best Regards,

    Wearsky

  • MartinVargas Profile Picture
    312 on at
    Re: Notification flow for each case created

    Hi @Mira_Ghaly  in this link I simplify it: 

    https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Send-email-for-each-order-created/m-p/1343378

     

    Thanks.

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Notification flow for each case created

    @MartinVargas

    Can I understand more about what you are trying to achieve here, are you creating the line items inside the flow?

     

    What I believe you need to do is to separate the logic of the creation of the order lines and the logic of invoice sending.

    So once you have invoice and invoice lines there is 2 options you can do:

    1. Use a word template to generate the invoice document and attach to email

    2.get related line items of the invoice and use create html table and append to the email body with the invoice header. 

     

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Notification flow for each case created

    Hi @MartinVargas ,

     

    There are also articles on formatting of the HTML table as well:

    https://ryanmaclean365.com/2020/01/29/power-automate-html-table-styling/

     

    Thanks,


    Drew

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Notification flow for each case created

    Hi @MartinVargas ,

     

    I would suggest you use an HTML Table type of approach to capture the information on the lines and then put this into a single Email step.  Example here:  https://debajmecrm.com/how-to-send-an-email-with-html-table-in-power-automate/ 

     

    The above shows example of multiple Accounts in same email but this approach should work for what you are trying to do as well.

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.


    Thanks,


    Drew

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 13 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics