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 | Community
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

  • October 16, 2020
  • 3 replies
  • 38 views

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 👍

3 replies

  • Author
  • New Participant
  • October 16, 2020

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


Roy
Top Expert ✨
Forum|alt.badge.img+5
  • Top Expert ✨
  • 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. "


  • Answer
  • October 19, 2020