# VK Events

The list of VK events is in the left menu, in the "Events" tab:

![](/files/V8RaMsuTZLRUfiB3CNRX)

Like/remove like and repost

> The event works only for VK channels

With the help of this event, you can earn points for likes and reposts, as well as prevent cheating by deleting likes.&#x20;

If the publication, like most VK posts, consists of text and a picture, the like reaction will work twice (on the post and on the picture).&#x20;

{% hint style="info" %}
To make your bot react to a specific post, open the block and select "Object ID condition". Here you can also select the type of object: post, picture, video, etc.
{% endhint %}

![](/files/gRPY69RzhtmV1N9xRDH5)

Deleting likes and reposts works the same way.&#x20;

### Joining/leaving a group&#x20;

> Only available for VK groups

You can configure the action that the bot will perform if a person joins a group or subscribes to a community, for example: give him a bonus (by changing a variable), record an event in statistics, or send a message.

![](/files/LSs5vQiWEL6jTrBvIVLN)

{% hint style="info" %}
Please note: a message will be sent to the user's LAN only if he has allowed the group to write to him in the LAN.&#x20;
{% endhint %}

If the user has unsubscribed, the bot can send them a “farewell letter” or a survey to understand the reasons for unsubscribing.

![](/files/EgkaSUkTFy7YR90rzeOu)

In such a simple way, you can apply VKontakte events!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.smartbotpro.io/scripts/script-events/vk-events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
