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

Community site session details

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

Trigger Power Automate Flow on change of field

(1) ShareShare
ReportReport
Posted on by 35

Hi Community,

In my first project, I want to trigger Power Automate Flow on Change of Primary Contact field in Account entity. Is there possible?

If it is possible than how to trigger flow?

Anyone help me?

I have the same question (0)
  • Kalp Shah Profile Picture
    35 on at
    RE: Trigger Power Automate Flow on change of field
    [quote user="Kalp Shah"]

    Hi Community,

    In my first project, I want to trigger Power Automate Flow on Change of Primary Contact field in Account entity. Is there possible?

    If it is possible than how to trigger flow?

    Anyone help me?

    [/quote]
  • sjov Profile Picture
    105 on at
    RE: Trigger Power Automate Flow on change of field

    Yes, when creating a flow choose Manual trigger and then choose when a record is created, updated etc trigger.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: Trigger Power Automate Flow on change of field

    Hi Kalp Shaha,

    Create power automate using trigger 'When an HTTP request is received'

    When-an-HTTP-request-received.jpg

    and on change of your column write similar code.

            var flowUrl = "flow URL";
            var input = JSON.stringify({//If you any parameters defined in your power automate than used line number 4 to 7, otherwise remove it. 
                "argument 1",
                "argument 2"
            });
            var req = new XMLHttpRequest();
            req.open("POST", flowUrl, true);
            req.setRequestHeader('Content-Type', 'application/json');
            req.send(input);//input is passed when you need it.
     

    FlowDetails.jpg

    Let me know if I can provide more details.

    Thanks

    Regards,

    Abdul Wahab
    Power Platform/Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp: 923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit

  • Kalp Shah Profile Picture
    35 on at
    RE: Trigger Power Automate Flow on change of field

    But it's work when whole record is modify, but my question is when field is modify.

    I want to trigger when user change Primary Contact field.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: Trigger Power Automate Flow on change of field

    If it is triggered On the change event then how does it is working when the whole record is modified. Can you please explain little bit more?

  • sjov Profile Picture
    105 on at
    RE: Trigger Power Automate Flow on change of field

    You can add an onchange event on the field and trigger the flow using javascript function.

    Check following link.

    softchief.com/.../

  • Kalp Shah Profile Picture
    35 on at
    RE: Trigger Power Automate Flow on change of field

    Actually I want to trigger on 'Primary Contact' field which is lookup field in Account entity.

  • sjov Profile Picture
    105 on at
    RE: Trigger Power Automate Flow on change of field

    Open form double click the field add event to call js function.

  • Verified answer
    Pedro Sacramento Profile Picture
    on at
    RE: Trigger Power Automate Flow on change of field

    Hi Kalp Shah . I'm assuming that you are talking about triggering a Power Automate Flow when you change the account entity on an Online Dynamics 365 environment.

    You can choose the Dataverse connector, and follow this documentation docs.microsoft.com/.../create-update-delete-trigger, the "Column Filter" will need to be the "Primary Contact" field for your scenario.

    In this example the flow will only trigger when the field "cst_readytosend" is changed.

    pastedimage1656539975777v1.png

  • Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: Trigger Power Automate Flow on change of field

    Hi Kalp,

    That is what I should suggest before... Pedro, I like your suggested solution.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 121 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans