All nodes/Integrations/VK

VK Keyboard

Sends a message carrying buttons, or attaches buttons to the bot's reply for this turn. A button carries command/args — tapping one re-runs the workflow with trigger.vk.payload.command / args. The VK client reports every turn whether it can draw buttons: when it cannot, the text is still delivered and the output says keyboard_sent=false.

VK Keyboard▶
VK connectionOutcome
Error

Type in the graph: vk_keyboard

Exec

An error output can be enabled to handle failures on their own path.

Inputs

PortWirePayloadNotes
VK connectionvk_configDatadata—

Outputs

PortWirePayloadNotes
OutcomeoutputExecute + Dataexecute_data—
Erroron_errorExecute + Dataexecute_data—

shown when expose_error_output = true

Configuration

FieldTypeDefaultDescription
VK connectionconnection_idstring""

Saved workspace VK connection. A node wired to the 'vk_config' port wins over this field.

connection: vkoverridden by port: vk_config

Buttonsbuttonsarray<array>—

Rows of buttons (outer list = rows, inner list = the buttons in that row). A button carries a caption (text) plus either a command and args, or a url. A tap arrives as a message_event and the graph reads trigger.vk.payload.command / args. The payload is capped at 1000 bytes.

Inlineinlinebooleantrue

Buttons inside the message (inline) rather than a keyboard below the input. A client may not support inline — the buttons are then silently dropped and the text is still sent.

Peer IDpeer_idstring""

peer_id of the conversation or direct chat. Blank = the chat of the running VK turn (a run started anywhere else then fails: there is no chat to infer). VK peer_id: a user id (12345), a community with a minus (-98765), a conversation is 2000000000 + its number (conversation 5 → 2000000005). Templates are supported

supports templates

shown when «Attach to» = New message

Attach totargetstringnew_message

new_message — send a new message carrying the buttons. reply_message — attach them to the bot's reply for this turn (VK rewrites the whole message, so its text is preserved automatically).

Options: new_message — New message, reply_message — The bot's reply for this turn

Messagetextstring""

Text of the message carrying the buttons.

supports templates

shown when «Attach to» = New message

Advanced
One-timeone_timebooleanfalse

Hide the keyboard after the first tap (non-inline only).

Shared fields

Every node has these three — the platform adds them, not the node author.

  • expose_error_output — When enabled, show an execution output to connect nodes that run if this step fails.

Ready-made examples using this node