The Webhook block allows you to pause the conversation until a provided webhook URL is called. This can be useful if you want to execute a long-running action that can take several minutes to complete.

URLs

Test

  • Use the URL generated in the editor for test mode.
  • Authenticated web test:
  • Channel-specific test flows, such as WhatsApp preview, should use the URL generated by the editor/runtime for that channel.

Production

No matter the environment, the webhook URL will be the same:
Where {resultId} is the current user result ID. You can get this ID directly in your bot flow using a Set variable block with the Result ID value.

Authentication

The Webhook URL needs to be authenticated in order to work. See API authentication for more information.