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

Automatically qualify Leads

(0) ShareShare
ReportReport
Posted on by 45

Hello.

I'm trying to find a way to automatically qualify/convert Lead to Opportunity with power automate flow, when one specific fields is updated to a specific value, but have no luck googling it.

Can it be done with a flow? Or just the manual qualification is possible?

Thanks.

I have the same question (0)
  • Verified answer
    prt33k Profile Picture
    6,907 on at

    Yes, you can trigger the power automate on specific value update and then qualify Lead using HTTP POST message with below detail:

    Method: – POST

    URI: – org.crm.dynamics.com/.../leads(⁠Lead id )/Microsoft.Dynamics.CRM.QualifyLead

    Headers:

    {

    “Authorization”: “Bearer <Put the Access Token Variable>​”,

    “Accept”: “application/json”,

    “Content-Type”: “application/json; charset=utf-8”,

    “OData-MaxVersion”: “4.0”,

    “OData-Version”: “4.0”

    }

    Body:

    {

    “CreateAccount”: true,

    “CreateContact”: true,

    “CreateOpportunity”: true,

    “Status”: 3

    }

    Please refer this : https://www.inogic.com/blog/2019/05/qualify-lead-in-dynamics-365-through-the-canvas-app-with-microsoft-flow/

    You dont need to create powerapp - just use the flow here and trigger it based on your field value.

  • vahrameev Profile Picture
    45 on at

    Hi Prateek,

    Thank you for your answer, was able to qualify Lead.

    What do you think about situations, when Contact with the same data is already existing in dynamics?

    How would you deal with this issue?

  • Verified answer
    prt33k Profile Picture
    6,907 on at

    Hi,

    You can define that in your request. Suppose there is already a contact then set Create Contact to false and pass the contactid - something like this in the body:

    POST {{webapiurl}}/leads(E8079BFE-1AB1-449D-961D-94C32B690361)/Microsoft.Dynamics.CRM.QualifyLead

    BODY:

    {

      "CreateAccount":false,

      "CreateContact":false,

      "CreateOpportunity":true,

      "OpportunityCustomerId":{

         "@odata.type":"Microsoft.Dynamics.CRM.contact",

         "contactid":"C9BF9A01-B056-E711-ABAA-00155D701C02"

      },

      "Status":-1,

      "SuppressDuplicateDetection":true

    }

  • Suggested answer
    vahrameev Profile Picture
    45 on at

    thank you!

    SuppressDuplicateDetection is working great

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