Skip to main content
Community site session details

Community site session details

Session Id : Cqm3V8t7FUyCN6HHgasfa0
Power Automate - Building Flows
Answered

Send Forms Pro Survey and Update Record with Results - Dynamics 365

Like (0) ShareShare
ReportReport
Posted on 12 Jun 2020 11:02:27 by

Hi all,

 

I am building a flow that sends a Forms Pro survey after a specific event in Dynamics 365.

I've got the sending part sorted. 

 

What I'm stuck with is, I would like to capture the result of a specific rating field on the survey and then update a field in Dynamics with that rating.

 

What I'm stuck with is how I can link the survey response to the actual record in Dynamics.

 

So far I have a flow that sends the survey, but should I keep the 'get response' actions within this flow or make a new flow to handle the responses? 

 

Can anyone point me in the right direction please?

  • barryjarvis Profile Picture
    on 16 Jun 2020 at 10:57:12
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    @ManishJain - thanks for that link. It didn't directly give me an answer, but it pointed me in the right direction. I hadn't thought of using the Survey Response record in Dynamics.

    All is working as expected now 🙂

     

  • Verified answer
    MJain Profile Picture
    2,450 on 15 Jun 2020 at 15:48:20
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    Hi @bjarvis ,

     

    Please go through the following url if it helps :

     

    https://meganvwalker.com/link-anonymous-forms-pro-survey-responses-to-records/

     

     

    Thanks

  • barryjarvis Profile Picture
    on 15 Jun 2020 at 14:24:34
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    @ManishJain The trigger is actually on activation of quote (this is a survey to see how well we handled the sales enquiry).

    The trigger isn't the problem, it sends the survey perfectly.

    The survey settings in flow are now as below:

     

    Capture.JPG

     

    The survey links to my Dyanmics records perfectly - i can see the survey being sent and response being received in the timeline on the Lead, Opportunity and Contact records.

     

    BUT, in my flow that triggers 'when a response is submitted', there doesn't seem to be any way to get the link to any of the Dynamics records. and without a way of linking them i can't do what i need to do.

  • MJain Profile Picture
    2,450 on 15 Jun 2020 at 13:33:41
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    Hi @bjarvis ,

     

    How are you triggering the forms? Is it on lead qualification ? As far as I know once you set regarding it should be available in timeline of lead. 

     

    Thanks

  • barryjarvis Profile Picture
    on 15 Jun 2020 at 08:34:38
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    @v-bacao-msft  Thanks for the reply.

     

    The part I'm stuck on is how I can link the response to the original Lead.

     

    When I'm sending the survey, I have the 'Lead' set as the regarding as below:

     

    Capture.JPG

     

    But then on the flow that receives the responses, I can't see any way of linking it. I thought by setting the 'regarding' field, that information may have also been in the response for me to use to link it back to the Lead in Dynamics.

     

    Is it possible to pass information like this through MS Forms?

     

  • v-bacao-msft Profile Picture
    on 15 Jun 2020 at 03:27:35
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

     

    Hi @bjarvis ,

     

    You need to create a new flow to get the response.

     

    Use When a new response is submitted as the trigger and get the response by using Get response details action.

     

    Then you could use List records action to get the related record to update. You need to rely on the information contained in the response to filter records, by configuring Filter Query.

    https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-a-functional-consultant/

     

    So, what data in the submission is related to the record?

     

    Best Regards,

  • MJain Profile Picture
    2,450 on 12 Jun 2020 at 13:39:38
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    Hi @bjarvis ,

     

    The idea was just to give you brief about it. if a note record can be created , the lead record for this matter can also be updated. 

     

    Regarding your flow sending out response : Trigger should be there to send out otherwise how will you send out forms. Once you send out forms you need to capture response and do further processing related to response you got. Do more on response like you mentioned integrating with other systems. 

     

    Thanks

  • barryjarvis Profile Picture
    on 12 Jun 2020 at 12:39:38
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    @anupam8555 - thanks for the reply. I'm using flow because I need to do some things outside of Dynamics too.

     

    @ManishJain Thanks - however that solution creates a new Note record and attaches it by using the 'Regarding' field.

    In my case, I want to update an existing field in the Leads entity. So I can't do it the same way. 

     

    I feel like my first question shouldn't necessarily be 'how can I do this' but instead maybe it should be 'is this the right way to do this'

     

    Should I just add the get response actions into the flow that sends the survey out? or should it be a separate flow to handle the responses?

     

  • MJain Profile Picture
    2,450 on 12 Jun 2020 at 12:33:07
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    Hi @bjarvis ,

     

    Please refer to the url for detailed usage of Forms and storing data in D365:

     

    https://www.inogic.com/blog/2019/10/send-and-store-survey-responses-in-dynamics-365-crm-using-microsoft-forms-pro/

     

    Thanks

  • Anupam.khasia Profile Picture
    362 on 12 Jun 2020 at 12:01:36
    Re: Send Forms Pro Survey and Update Record with Results - Dynamics 365

    Hello @bjarvis ,

     

    There is not any standard flow template to get survey response. If you need to update records of Dynamics CRM than you can write System workflows in dynamics on  record create of "Survey Question response" entity and update certain fields using OOB workflows. I am not sure why you are looking for flow to update dynamics crm records.  

     

    Let me know if you have certain choice to use power Automate only to update fields of CRM.

     

    If this helps you ,please like/resolve answer to help other community people. 

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2