back to changelog

Programmatic Widget Contact Assignment

Simplify user experience and enhance efficiency with the assignContact method in ChatBotKit's Widget Integration capabilities.

We are thrilled to announce a significant enhancement to our Widget Integration capabilities. The newly introduced assignContact method is set to transform how businesses interact with their customers through our widgets.

The assignContact method simplifies the user experience by allowing immediate contact information assignment right after the widget initialization. With the simple code chatbotkitWidget.instance.assignContact({ name, email, phone }), businesses can now seamlessly integrate user details into the widget. This functionality eliminates the need for users to re-enter their contact details, fostering a smoother interaction process.

The key benefits of this approach include:

  • Enhanced User Experience: Authenticated users will enjoy a more streamlined experience as the widget pre-populates their contact information, reducing redundancy and saving time.
  • Improved Efficiency: By automatically assigning contact details to the widget, businesses can ensure that every conversation is linked directly to the user’s profile, enhancing the effectiveness of customer interactions.
  • Personalized Interactions: The contact assignment feature allows for more personalized communication, as the widget is pre-configured with the user’s information, making every interaction more targeted and meaningful.

This feature is particularly beneficial for environments where user authentication is prevalent. Upon user verification, the widget can be instantly configured with the correct contact details, ensuring that all communications are accurately associated with the user’s account. This is invaluable for customer support and service environments where knowing the customer’s identity is crucial.

For more information about this feature and ChatBotKit AI Widgets please see the documentation.