Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

To set up a webhook that will be able to post feedback results directly to please follow the directions in this article: How to create an outgoing webhook? The instructions below will walk you through the steps you need to take on the side site to be able to receive the incoming data from Mopinion.


These are the specific steps you need to take in to set up an endpoint for the webhook

  1. Go to the admin page and click on Integrations

  2. Create a New Integration and select Incoming WebHook

  3. Select the channel where you will receive the alerts

  4. Set Script Enabled to True

  5. Paste your script inside the Script field

  6. Save the integration

  7. Use the WebHook URL to post messages to Rocket.Chat


You can now specify what data must be sent, you can continue with step 4 of this article: How to create an outgoing webhook?


Easy html macro
contentByMode{"html":"<div id=\"surveyContent\"></div>","javascript":"var confluenceData = {};\nvar pageId;\nvar pageTitle;\n\ntry {\n confluenceData = JSON.parse(;\n var pageId = confluenceData.options.productContext[''];\n var pageTitle = confluenceData.options.productContext['page.title'];\n} catch(e) {}\n\nvar src = '';\n\nvar vars = {\n key:'211a4fdb96626776846147095cc335b448e20458', \n domain:'', \n divName:'surveyContent', \n button:false, \n use_collect:false, \n useQuerySelectorAll:false\n};\n\nvar s = document.createElement('script');\ns.async = 'async';\ = 'mopinionFeedbackScript';\ns.src = src;\ns.onload = s.onreadystatechange = function() {\n if (!s.readyState || s.readyState === 'loaded' || s.readyState === 'complete') {\n try {\n srv.loadSurvey(vars);\n } catch (e) {}\n }\n}\ndocument.head.appendChild(s);","css":""}