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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

How to detect when a survey is sent?

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I am using dynamics 365 customer voice to handle surveys.

I have a webpage where I am using embedded iframe surveys. Whenever a user 'logs in' on this site, his survey is shown if he hasn't filled it in yet. I want to continue whenever the sent button is pressed.

However, since it is an iframe, I am unable to detect a 'sent' button press event on the survey. (XSS and CORS policies etc.)

I thought about listening to an url change, but the url of the survey doesn't change when the form is submitted. I thought about listening to browser network requests as well, since it's a HTTP POST request, but it happens on microsoft's page (the iframe) and not my page so I cannot listen to this (security reasons, again, I understand why this is not possible and should not be possible).

Then I was wondering if I could listen to some kind of callback the survey sends when the button is pressed. There does not seem to be one, I'm not sure. The docs are not very extensive on this field.

The only option I can currently think of is by making an entire circle, from my page -> azure (the survey) -> (API things, other people work here, not my things right now) -> SignalR  -> page frontend.

However, this can take like 20 seconds. I don't want to let users wait this long. If I could detect some kind of callback, it could be done instantly.

What would be the best way to approach this?

Thanks,

- Nick

I have the same question (0)
  • Alan Profile Picture
    30 on at

    Hi Nick

    Not sure if this will help you but in customer voice when a survey is sent it creates a Customer Voice Survey Invite activity in Dataverse so that can be used to identify if a survey has been sent, which can trigger a power automate flow.  It’s not in real time.  

    Also a survey response activity is created when they respond.

    cheers

    Alan

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 125 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 93

#3
Hamza H Profile Picture

Hamza H 46 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans