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

  • 16 October 2020
  • 3 replies
  • 15 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. ?

icon

Best answer by Anonymous 19 October 2020, 11:49

View original

3 replies

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

Userlevel 1
Badge

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. "

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 👍

Reply