Max Trigger icon

Max Trigger

Starts the workflow on a Max messenger event

Max Trigger

AI-generated

Summary

Trigger workflow on specified MAX messenger events received via webhook, optionally filtering by chat or user IDs and verifying a webhook secret.

Inputs

  • Events (required) — Select one or more MAX messenger event types to trigger the workflow, such as 'message_created' for direct messages or 'bot_added' when the bot is added to a chat.
  • Additional Fields — Optional filters and settings: 'Restrict to Chat IDs' to only trigger for specific chat IDs (comma-separated), 'Restrict to User IDs' to only trigger for specific users (comma-separated), 'Webhook Secret' to require a secret header for webhook requests, and 'API Version' for specifying the webhook API version.

Output shape

a single JSON object per webhook event representing the event data and context

The output contains a normalized event object including the event type, timestamp, validation status, metadata, and event-specific context fields. If the webhook secret is specified and the request's 'X-Max-Bot-Api-Secret' header does not match, the trigger rejects the request with HTTP 403 and does not emit data. Events not matching the selected types or failing chat/user ID filters do not trigger workflow execution.

Links

Discussion