All nodes/Integrations/VK

VK Moderate

Moderation actions inside a VK conversation: delete messages, remove a member, pin or unpin. There is no ban and no mute here — VK has no such methods for a conversation. Requires the community to be an administrator of the conversation. A blank Peer ID means the chat of the running turn.

VK Moderate▶
VK connectionOutcome
Error

Type in the graph: vk_moderate

Exec

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

Try it

Minimal working scenario

Entry
VK Moderate▶
Exit▶
  • Execute
  • Execute + Data
Press “Copy nodes”, open the editor and hit Ctrl+V on the canvas.

Pick your own connection or knowledge base first — the graph carries REPLACE_ME.

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

Actionactionstringunpin

What to do in the conversation.

Options: delete — Delete messages, remove_member — Remove a member, pin — Pin a message, unpin — Unpin a message

Member IDmember_idstring""

Who to remove (numeric VK id).

supports templates

shown when «Action» = Remove a member

Message IDsmessage_idsstring""

Comma-separated conversation_message_ids — the platform_message_ref field of history records (not message_id: that is a different number and a different message).

supports templates

shown when «Action» = Delete messages | Pin a message

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

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.