VK channel
For Operators

VK Channel

The VK channel turns messages that customers send to a VK community into tickets in the Inbox. Operators reply from SupportHub, and the customer gets the reply in the community's messages.

Connecting a Community

A project owner or admin connects it:

  • In Settings → Channels, add a VK channel and open its card.
  • Step 1 on the card: copy the “Callback API URL” and add it in the VK community settings under API usage → Callback API.
  • Step 2: fill in the “Community token”, “Community ID”, “Confirmation string” and “Secret key”, then click “Connect”.
  • In the community's Callback API settings, enable the incoming message (message_new) and bot button press (message_event) events. If you also enable the message edit event (message_edit), the customer's edits show in the ticket too. SupportHub doesn't handle any other events.

Where to get the credentials

  • “Community token” — an access key created in the VK community management (API usage → Access keys). The key needs access to community messages.
  • “Community ID” — the community's numeric identifier.
  • “Confirmation string” — VK shows it in the Callback API section.
The “Secret key” is any string you choose, and “Connect” stays disabled without it. Enter the same string in the community's Callback API settings too: SupportHub doesn't accept events without it.

Once connected, the card shows the community's name and address and the “Callback API URL”. In the Network and proxy block, VK API requests can go through a proxy — all of the channel's VK API requests then go through it: operator replies, the bot's answers to customer messages and button presses, the messages the bot sends on its own (notices about the ticket's progress, the inactivity warning, the delayed response), the token check on connecting and the customer's photo lookup. The attachment files themselves, the customer's and the operators', are downloaded from and uploaded to VK's file servers directly. If VK stops accepting the token, replies stop reaching customers: the card says “The community token is no longer valid”, the owner and admins get a notification and an email, and the new token is saved right on the card.

The community bot

  • The welcome, the topic menu with its fields, new request handling, auto-replies, off hours, the delayed response, the knowledge base, rating, the ticket history, the reply to blocked customers, AI answers and the inactivity warning texts are set up in Settings → VK Bot Builder. How each of them works in VK is in Bot builder.
  • When the customer sends “/start”, “start” or “menu” (or the Russian words for start and menu), they get the welcome with the button menu, followed by the Ticket history button and, if the bot has several languages, Change language (if the customer hasn't picked a language yet, the language choice comes first). No ticket is created for that, and a topic choice left half-way is reset.
  • If Require topic selection is on in the builder and the customer has no open request, the bot answers their message with the topic menu and the “Reply when no topic is selected” text. A ticket appears once the customer picks a topic, answers its fields and writes the question (or taps Custom topic and describes it themselves). That first message doesn't go into the ticket. A request open in another chat channel counts as open too. The switch is on for new VK bots and off for bots connected before it started working in VK, so their customers write straight to an operator.
  • The VK bot understands two commands: /lang to pick a language and /close to close the request (the bot asks for confirmation with “Yes, close” and “Cancel” buttons, answers “Yes, close” with the “When a ticket is closed” text and closes the request, followed by the rating request if rating is on). Any other message starting with “/” is skipped and doesn't reach an operator.
  • For a new ticket the bot sends “When a ticket is created” — the request number, the place in the queue and the average response time. Outside working hours the off-hours auto-reply follows — once, for the message that opened the ticket, and it's saved in the ticket.
  • Knowledge base suggestions come as a list with a button for each article: the button brings the article as text, up to 3800 characters. Before auto-close the bot sends a warning with “Close the ticket” and “Keep it open” buttons, and a “yes, it's solved” reply in words closes the request if that's on in SLA Policies and the warning reached the customer (details in Auto-close tickets).

What the operator sees

  • VK tickets arrive in the Inbox like any others. The contact is named after the VK profile, and the name is updated with every customer message. If VK doesn't return the name, a new contact is called “VK User” plus the ID, while a known one keeps the name it had. The contact card has a “VK ID” row. The topic and the answers to its fields are in the ticket's side panel.
  • The customer's photos, documents, voice messages and stickers show up in the ticket. VK videos aren't downloaded into the ticket: a message with just a video arrives marked “[Видео]”.
  • Your reply reaches the customer in the community's messages. VK doesn't display formatting, so it's removed and links become “text (address)”. JPEG, PNG and WebP images arrive as photos, voice notes as a voice message, and other files (GIFs, videos, PDFs and so on) as documents. A reply carries its first 10 attachments, and the rest aren't sent.
  • If the customer has forbidden messages from the community, or the community has blocked them, the reply isn't delivered, and that customer's open VK tickets are closed — there's no way to answer them there anyway.
Reply rating only works in Telegram and the widget. In VK, the customer gets the request to rate the ticket after it's closed as bot buttons, if it's turned on in the VK bot builder (the Rating & Close section). It's off in a new bot.
Was this page helpful?