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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Create trigger on lead qualify

(4) ShareShare
ReportReport
Posted on by 21
Hi,
 
I'm trying to copy some custom fields from a qualified Lead to a (new) opportunity.  I have a power automate flow with a trigger on "add" new row to dataverse table "Opportunity" - it doesn't fire on qualify however...if I manually create a new opportunity, it does.  Anyone have any ideas?
 
thanks,
Steve.
I have the same question (0)
  • Suggested answer
    Muhammad Affan Profile Picture
    4,624 Moderator on at
    Hi Steve,
     
    Change the trigger to 'when a row is modified' rather than when a row is added.
     
    Thanks
    Affan
    If my suggestion helps please mark it as verified.
  • Verified answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    In Dynamics 365, when a lead is qualified, the opportunity is created via the internal system process rather than as a manual "create" operation. This means that your Power Automate flow, which is triggered on the creation of an opportunity, may not fire because system processes (like lead qualification) bypass certain triggers.
     
    Here are a few ways to address this:
     
    1. Use the “When a row is added, modified, or deleted” Trigger
     
    The "When a row is added, modified, or deleted" trigger in Dataverse may capture changes even if the system creates the record. Try using this broader trigger and specifying the Opportunity entity.
     
    Make sure to add a filter condition to the trigger to ensure it only fires when a new opportunity is created.
     
    2. Use a Trigger on Lead Qualification Instead
     
    Alternatively, you could add the trigger to fire when the Lead is qualified. In this case, you would use the "When a row is updated" trigger on the Lead entity, filtering on the field that indicates the lead is qualified (e.g., status or lead state).
     
    Once the lead is qualified, you can query for the newly created opportunity and copy the custom fields from the lead to the opportunity.
     
    Thank you,
    Amit Katariya

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans