Max Polling Trigger icon

Max Polling Trigger

Starts the workflow on a Max messenger event via long polling

Max Polling Trigger

AI-generated

Summary

Poll Max messenger events via long polling to trigger workflows based on selected update types and optional chat and user filters.

Inputs

  • Events (required) — Select one or more Max messenger events to trigger the workflow on. Includes options like message received, message edited, user joined chat, button clicked, etc.
  • Polling Timeout — Set the long-polling timeout in seconds (15-90). The server holds the connection this long if no updates occur.
  • Batch Limit — Maximum number of updates the node fetches in each polling request (10-1000).
  • Force Unsubscribe Webhooks on Activate — Optionally delete existing webhook subscriptions on node activation, since long polling conflicts with active webhook subscriptions.
  • Additional Fields — Optional filters restricting triggers to specified comma-separated Chat IDs and/or User IDs.

Output shape

a stream of JSON arrays, each containing normalized event objects matching the selected event types and filters

Events emitted contain detailed context and validation status. The node manages deduplication to prevent processing duplicate updates. Polling automatically handles server markers to fetch only new updates. If webhook subscriptions are active and force unsubscribe is not enabled, the node throws an error on activation.

Links

Discussion