Set up a webhook endpoint for Rocket.chat
To set up a webhook that will be able to post feedback results directly to Rocket.chat 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 Rocket.chat site to be able to receive the incoming data from Mopinion.
Instructions
These are the specific steps you need to take in Rocket.chat to set up an endpoint for the webhook
Go to the Rocket.chat admin page and click on Integrations
Create a New Integration and select Incoming WebHook
Select the channel where you will receive the alerts
Set Script Enabled to True
Paste your script inside the Script field
Save the integration
Use the WebHook URL to post messages to Rocket.Chat
The Webhook URL you have created is the endpoint you need.
You can now specify what data must be sent, you can continue with step 4 of this article: How to create an outgoing webhook?