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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Create Quote E-Mail Draft with Power Automate

(0) ShareShare
ReportReport
Posted on by 17

Hi everyone, 

I am trying to create a flow that is manually triggered when clicking on "Create E-Mail" in the entity Quotes. 

I managed to create a random E-Mail with it, but I can't seem to get the TO = contact of the quote, the FROM = User that is starting the flow and REGARDING = the Quote. 

The final goal would be to automatically attach the file, that is stored in the document location of the quote... 

Can someone help me with this?? 

pastedimage1616140835840v1.png

Thank you so much in advance!! 

I have the same question (0)
  • yvka123 Profile Picture
    17 on at

    No one here who can help me??

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi partner,

    The ‘Potential Customer’ field of Quote can be either Account or Contact.

    So we need to create emails in two situations.

    1. If the â€˜Potential Customer’ is a Contact, then the To field is the Email of Contact.
    2. If the â€˜Potential Customer’ is an Account, then the To field is the Email of the Primary Contact of the Account.

    pastedimage1616490480358v1.png

    pastedimage1616490492638v2.png

  • yvka123 Profile Picture
    17 on at

    Thank you for the reply.

    Okay I managed to auto fill in the contact and the "Regarding" = Quote. But my field for "FROM" always stays blank. How can I insert the user who starts the flow? UserID doesn't seem to work.
    pastedimage1616510016246v1.png

    Also two more questions:

    How can I insert a E-Mail template to be used?

    And how can I add an attachment to this e-mail?

    Thank you for support!

  • Suggested answer
    Wahaj Rashid Profile Picture
    11,321 on at

    Hi,

    First you need to get the User ID using List User action. You can use the 'User email' as filter:

    pastedimage1616575010551v1.png

    Next, you can use this in From attribute:

    pastedimage1616575081035v2.png

  • yvka123 Profile Picture
    17 on at

    Thank you so much, this worked!! One step closer!

    Now there would be two questions still open:

    How can I attach a document that is stored in the document location?

    And how can I use a e-mail template on this specific e-mail?

    Thank you!

  • Suggested answer
    LuHao Profile Picture
    40,892 on at

    Hi partner,

    1. Please refer to this blog to know how to attach a document of sharepoint to the email.

    https://www.itaintboring.com/dynamics-crm/power-automate-flow-creating-an-email-with-attachment-in-cds/

    2. For the template, you can fill in the ID for template used. (Email Templates) field with the Email template ID.

    pastedimage1617012532790v1.png

    You can open the email template and find its ID in the URL.

    pastedimage1617012740348v2.png

    Or you can add a step "List rows" of Email template to get its ID.

    pastedimage1617012810760v3.png

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans