Max Trigger
AI-generatedSummary
Register and manage a webhook subscription with the MAX API to trigger workflows on specified update types, and receive validated webhook events filtered by those update types.
Inputs
- Update Types — Select one or more MAX update types (Bot Started, Message Callback, Message Created) to filter webhook events; if empty, no filtering is applied.
- Webhook Secret — Optional secret used to validate incoming webhook requests via the X-Max-Bot-Api-Secret header.
Output shape
a single webhook event matched to the configured update types, output as JSON in an array of one item.
If the incoming webhook's update_type is not in the configured Update Types filter (when used), the event is skipped and not emitted. Incoming webhook requests with an invalid secret receive a 401 response and no workflow execution.
Examples
Example 1: Trigger workflow only on new messages created
Set Update Types to 'Message Created' and provide the workflow webhook URL to MAX via subscription creation.