How to start with Moments

Image of an author
Sylwia Kocur
4 min read
updated: Aug 1, 2024

Moments feature allows you to open any web application inside the ongoing chat - you can display a contact form, show a video, or process an order inside the chat window without ending the chat or jumping to a different tab.

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

The page will be available to your users after a button click in the Button or Gallery bot response.

How the Moments feature workLink icon

Only with the bot flow configuration can you hide a link under a button. 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.
Only with the bot flow configuration can you hide a link under a button. 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.

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.

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

See the configuration process in this article.

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.

Moments SDK in ChatBot Chat WidgetLink icon

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.

To check how the feature works, test the bot in the Testing tool, or use the Sample page. When the feature is ready, install the bot on your site.

Moments in LiveChat Chat WidgetLink icon

Moments in LiveChat Chat Widget can be triggered only by clicking the button. To make it work, you must integrate the bot with LiveChat first.

You can use the same SDK as for the ChatBot Chat Widget. Check the documentation for more information.

Moments in Facebook MessengerLink icon

To handle communication between an open web view and Messenger, you must use the SDK provided by Facebook.

See this article to integrate the bot with your Facebook page. Moments in Facebook Messenger can be triggered only by clicking the button.

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