Skip to main content

Notifications

Community site session details

Community site session details

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

Auto create account from lead by trigger from other field

(1) ShareShare
ReportReport
Posted on by 12
Hi there,
 
I have a question question regarding the qualification process. of the lead in dynamics 365 For Sales. When the company name (field: CompanyName) is filled in it will ask to create an account for you. Is there any way to change this field into another field to also auto-trigger the account creation? If so, how can I do this the most easy way? If it's not possible, is there any other way to do so (for instance power automate)? 
 
Also, where can I find the setting to enable or disable auto creation from accounts and leads?
 
Thanks for your response in advance.
 
Best regards,
Rubio.
Categories:
  • Suggested answer
    Muhammad Shahzad Shafique Profile Picture
    379 Most Valuable Professional on at
    Auto create account from lead by trigger from other field
    Option A: Pre-qualify with a Plugin (Best for server-side logic)
    Write a plugin on QualifyLead message to:
    • Check your custom field (e.g., new_companycustomfield).
    • If it has value, populate CompanyName programmatically before qualification.
    Option B: Power Automate Workaround (Post-qualification)
    1. Trigger: When Lead is qualified (i.e., status changes to Qualified).
    2. Condition: Check if custom field (e.g., new_companycustomfield) is filled.
    3. Action:
      • If yes, create an Account manually using the custom field value.
      • Then, update the Opportunity/Contact created by qualification to link the new Account.
    ⚠️ However, this approach is after-the-fact and won't auto-link the account in the same way as native behaviour does during qualification.

     
  • Suggested answer
    Tom_Gioielli Profile Picture
    1,687 on at
    Auto create account from lead by trigger from other field
    Is there a reason you want to copy the functionality from the standard field into a different one? The OOB Company field on the lead will attempt to find a matching Account name, otherwise it will offer to create a new one. I suppose there's no reason why you can't accomplish this using JavaScript or a plugin for real-time actions or Power Automate for background, but I would probably recommend reviewing your requirement first to see if it is truly necessary.
     
    Customize lead qualification experience in Dynamics 365 Sales | Microsoft Learn <-- Here is some information about customizing the lead qualification process.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 671 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 167 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 138 Most Valuable Professional

Product updates

Dynamics 365 release plans