VK Teams Trigger icon

VK Teams Trigger

Start workflows from VK Teams bot events

VK Teams Trigger

AI-generated

Summary

Listen for selected VK Teams bot events and start workflow executions with each matching event. The trigger polls VK Teams continuously when the workflow is active, and can optionally filter events by chat or user and download attached files.

Inputs

  • Trigger On (required) — Event types to receive: callback queries, deleted or edited messages, chat member joins or leaves, messages, and pinned or unpinned messages. Defaults to Message.
  • Restrict To Chat IDs — Comma-separated chat IDs to match; blank accepts events from any chat. Enable Include Threads to also match a thread event's parent topic chat ID.
  • Include Threads — Defaults to false. Extends the chat ID filter to parent topic chat IDs; it does not change the user filter or bot subscriptions.
  • Restrict To User IDs — Comma-separated user IDs to match. The trigger checks the event's from.userId, addedBy.userId, or removedBy.userId, depending on event type. Events without a matching user field, including unpinned message events, are excluded when this filter is nonempty.
  • Download Files — Defaults to false. When enabled, downloads file, voice, and sticker attachments in matching events and adds them as binary data named file_0, file_1, and so on.

Output shape

One or more n8n items per poll containing the matching VK Teams event in json; items may also include downloaded attachments in binary.

Polls with a 60-second long-poll request and advances its stored event ID even when a poll yields no matching events. In manual execution, emits the result of one poll; while active, keeps polling and emits executions as events arrive. Polling errors are emitted and retried with increasing delays up to 30 seconds.

Links

Discussion