# SmartPasteButton Events

The Kendo UI for Vue SmartPasteButton emits an event which enables you to integrate with your AI service upon user interaction.

## Available Events

The [`click`](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/api/smartpasteclickevent) event is the primary event for the SmartPasteButton. It fires when the user activates the button and provides access to clipboard content and form field metadata through the [`requestData`](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/api/smartpasteclickevent#requestData) property. Use this event to send data to your AI service and populate the form with the AI-generated results using the [`setResponse`](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/api/smartpasteclickevent#setResponse) function.

The following demo lets you copy sample contact data, invoke `click`, inspect the request and response, and populate the form with `setResponse`.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/buttons/smartpaste/events/source.txt)

Use the SmartPasteButton events to:

* Send clipboard content and form field metadata to your AI service.
* Show loading indicators during AI processing.
* Log request and response data for debugging.
* Handle errors and display user-friendly messages.
* Populate the form with the AI-generated results.

## Suggested Links

* [SmartPasteButton Configuration](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/smartpaste/configuration)
* [SmartPasteButton Validation](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/smartpaste/error-handling)
* [SmartPasteButton API Reference](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/api/smartpastebuttonprops)
