Configure Moments in your dashboard

Image of an author
Sylwia Kocur
5 min read
updated: Oct 28, 2024

The Moments feature lets you embed any web application directly into the ChatBot Chat Widget. If you have a hosted booking page link or want to embed a video inside the bot, you can do that with a Button or Gallery bot response.

You can use the feature for specific tasks; the most common are:

  • Schedule meeting - display an interactive calendar for scheduling a meeting

  • Shopping cart - give customers an option to manage the shopping cart and make a deal without leaving the chat window

  • Reservation system - automate your sales with a chatbot by connecting your reservation system.

  • Authorization - authorize your user and show specific data that shouldn’t be publicly visible

  • Articles view - share the knowledge without leaving the chat window

You can use Moments and hide the link under a button only in a bot flow. The AI Knowledge and Training features do not have options to hide links—if you want to include links in their responses, they will be fully displayed.
You can use Moments and hide the link under a button only in a bot flow. The AI Knowledge and Training features do not have options to hide links—if you want to include links in their responses, they will be fully displayed.

You shouldn’t use this for opening complex web applications or websites. This is an action dedicated to particular tasks which are useful in your chat.

You can specify the height of the Moment window by setting the height property. Available values are:

  • full - 100% of the widget size

  • tall - 75% of the widget size

  • compact - 50% of the widget size

How the Moments feature workLink icon

It depends fully on the bot flow you design and the user’s needs when the feature will be used. When the user needs it, the bot will send a message with the Moment button. The link will be opened when the user clicks the button.

The chat remains active when the Moment is opened and the web application is loaded. The customer can perform activities in the web application and then close the Moment window.

You can close the Moment window by the web application (by triggering the SDK method), or the user can close it manually.

From a developer’s perspective, a Moment is an embedded website in an iFrame that is shown during a chat.

You can close the Moment window by the web application (by triggering the SDK method), or the user can close it manually.

From a developer’s perspective, a Moment is an embedded website in an iFrame that is shown during a chat.

How to configure MomentsLink icon

The Moments feature is available only when you use buttons in your responses. Enter the Bot response block where you want the link. Add a Gallery or Button response (1). In the button configuration, choose the Open Moment type (2). Provide the link (3), choose the window size (4), and save the response.

For a YouTube video, use the embedded link version in the button configurator. The link is under the Share button below the video.
For a YouTube video, use the embedded link version in the button configurator. The link is under the Share button below the video.

You can test it in the Testing tool directly in the bot flow builder (1). When the user clicks the button (2), the site opens inside the Chat Widget (3).

Moments feature in integrationsLink icon

You can use Moments in our native ChatBot Chat Widget and extend its functionalities with API, or use it in other products.

To use the bot with integrations, follow these articles: Chat Widget integration, LiveChat integration, and Facebook Messenger integration.
To use the bot with integrations, follow these articles: Chat Widget integration, LiveChat integration, and Facebook Messenger integration.
  • Moments SDK in ChatBot Chat Widget - Moment SDK is a communication layer between your opened web view and the Chat Widget. Thanks to that, you can manage your webview from your application side. You can check our API documentation for further information.

Date Picker - usage exampleLink icon

An app written in Vue.js allows a customer to pick a date from the date picker. It sends a chosen option back to a chat. The source code is available on GitHub, preview is deployed here. You can use the preview link to implement the date picker in your bot.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products