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.
  • The URL 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 
  • You can generate the public key and secure your webhook.

Note: Ensure the webhook returns the response within 10 seconds. If not, the widget will not work. 

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