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,...
Answered

Automate Quote from Opportunity

(0) ShareShare
ReportReport
Posted on by 15

How can we create a Quote in Opportunities when the products are added in Opportunities?

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Can you please provide a wider explanation of your scenario?

  • Shariq Amir Profile Picture
    15 on at

    I m working on a project, where it requires that whenever products are added to the opportunity (of any contact) so the Quote should be generated automatically. Then we just have to send the Quote, we don't need to manually create the quote.

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Shariq,

    You can create one automated flow in power automate to achieve it.

    1.Trigger:

    When the product is added in one opportunity, one 'opportunity line' related to the opportunity can be created, so you can use it as trigger:

    pastedimage1670297266900v1.png

    pastedimage1670297373352v2.png

    2.Get a row by ID--get information about the opportunity:

    pastedimage1670297658942v3.png

    3.Add a new row--create quotes with value from opportunity:

    pastedimage1670303800773v4.png

    4.Test:

    pastedimage1670303859978v6.png

    pastedimage1670303844531v5.png

  • Shariq Amir Profile Picture
    15 on at

    Thanks for your help, but I need a little bit of guidance that there are no Opportunity lines in "Table Name"

    Opportunity-line.PNG

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi,

    You can choose 'Opportunity Products' in your list.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi Shariq Amir,

    You should need to avoid duplicate threads. Here is the previous one Workflow for Quotes - Dynamics 365 Sales Forum Community Forum.

    If you are not able to find Opportunity Line then use Opportunity Product.

  • Shariq Amir Profile Picture
    15 on at

    Thanks, It worked.

    But some of my problems are the same the quote has been generated automatically after adding the product, but in the quote section again I have to add the products

    1. Over here I have added the product in the Opportunity

    Opportunity.PNG

    2. But here the total amount is 0, and I have to add products manually

    7103.Quote.PNG

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Shariq,

    You can create 'quote line(quote product)' in the flow, then copy value from opportunity line(opportunity product).

    pastedimage1670307900937v1.png

    Quote guid from last step:

    pastedimage1670307953166v2.png

  • Shariq Amir Profile Picture
    15 on at

    Can you help me to tell where am I wrong or made a mistake or missed anything because when I run a test it shows to be failed in the last step?

    1362.Test.PNG

    3817.Quote-Product.PNG

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi,

    Find unit and populate it with value from trigger:

    pastedimage1670313085459v1.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 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans