Registering a Webhook

To  your bot building platform with Zobot via Webhook, follow the steps:

  • Navigate to Settings > Widgets > Add and give a name for your widget. 

  • Then, choose a brand for which you want to create a widget.

  • Then, choose the modules.

  • Then, choose the platform to build your widget on - Webhooks

  • Then, click Create Widget.

  • The Webhooks configuration window appears. Provide the URL to be invoked for creating a connection.

Webhook Pre-requisites

  • The "https" URL is recommended for security reasons. 
  • Our server can not connect with the URL with the port number.
  • Make sure the URL can be accessed in public API clients such as Postman and Talend API Tester to be accessible in our server.
  • Once the URL is provided, it will be pinged to get validated with the read time out of 5 seconds
  • If it is not reached within 5 seconds, an HTTP HEAD request gets triggered to the URL to check the status code 200.
  • Ensure the webhook returns the response within 10 seconds. If not, the bot will not work. 
  • Furthermore, generate a public key to secure your webhook.​​

  • Then, click Save.

  • You can preview your widget before you publish it in the Widget Preview window. You can choose the module of your choice and preview the widget.

  • Once you are done, click Publish.

  • You can also edit the URL, if required .