Skip to main content
Answered

Hi , I have embedded a survey link to a button and the survey is sent to the user in messenger . The survey loads inside the messenger as an iframe and the user takes up the survey


How do i know when the survey is completed by the user so that I can return a "Thanks for responding" canvas component . How should i close the loaded iframe. ?

Best answer by Anonymous

Hey @user394​ - sounds like this is in a Sheet. You can follow the https://developers.intercom.com/building-apps/docs/canvas-kit#section-submit-sheet-request"alt="http://https://developers.intercom.com/building-apps/docs/canvas-kit#section-submit-sheet-request"target="_blank">'Submit Sheet' flow to do this 👍

View original
Did this topic help you find an answer to your question?

3 replies

  • Author
  • New Participant
  • 1 reply
  • October 16, 2020

Hi @Zach Read​  Can you provide some insights on this?


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • October 17, 2020

Hello @user394​ , I think you should use: https://developers.intercom.com/building-apps/docs/canvas-kit#section-submit-response

 

"You can optionally provide an event object with the attribute type given as completed to tell us if the app has completed its purpose. "


  • 0 replies
  • Answer
  • October 19, 2020

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings