Package Information
Documentation
n8n-nodes-max
This is an n8n community node for MAX Messenger API integration.
MAX is a Russian messenger platform. This node allows you to interact with MAX Messenger API directly from n8n workflows.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Quick Install
- Go to Settings > Community Nodes in your n8n instance
- Select Install
- Enter
@alex_rexby/n8n-nodes-max - Click Install
Or install via npm:
npm install @alex_rexby/n8n-nodes-max
Credentials
You need a MAX Bot Token to use this node.
- Create a bot via MAX Bot API
- Get your bot token
- In n8n, create a new credential:
- Type: MAX API
- Token: Your bot token
Operations
MAX Node
Resources:
Message
- Send Text - Send text message to user or channel
- Send with Media - Send message with file (image, video, audio, document)
- Get - Get message by ID
- Edit - Edit existing message
- Delete - Delete message
Bot
- Get Info - Get bot information
Chat
- Update - Update chat information (title, description)
Callback
- Answer - Answer callback query (inline button click)
- Answer and Send Message - Answer callback and send a new message
Features:
- ✅ Send messages to users (user_id) or channels/groups (chat_id with
-prefix) - ✅ Inline keyboard buttons (simple visual builder or advanced JSON)
- ✅ File attachments (images, videos, audio, documents)
- ✅ Message formatting (Markdown, HTML)
- ✅ Reply to messages
- ✅ Silent messages
- ✅ Disable link preview
MAX Trigger Node
Webhook-based trigger for receiving events from MAX Messenger.
Event Modes:
- All Events - Receive all events from MAX API (recommended for testing)
- Specific Events - Filter by event types:
- Message Created
- Message Callback (inline button clicks)
- Bot Started
Usage:
- Add MAX Trigger node to your workflow
- Configure credentials
- Select event mode
- Activate workflow
- Webhook URL will be automatically registered with MAX API
Examples
Send Text Message to User
User ID: 4624138
Text: Hello from n8n!
Send Message to Channel
User ID / Chat ID: -70931657203722
Text: New announcement!
Send Image with Caption
User ID: 4624138
Binary Property: data
Caption: Check out this image!
Send Message with Buttons
User ID: 4624138
Text: Choose an option:
Add Buttons: true
Button Mode: Simple (Visual)
Button 1:
- Text:
Option A - Type:
Callback - Callback Data:
option_a
Button 2:
- Text:
Visit Website - Type:
Link - URL:
https://example.com
Webhook Trigger Example
- Add MAX Trigger node
- Select "All Events"
- Connect to IF node to filter by
update_type - Process different event types accordingly
Compatibility
- n8n version: 1.0.0+
- Tested with n8n 2.1.4
Resources
Version History
0.4.20
- Fixed media upload (multipart/form-data support)
- Added support for channels/groups (chat_id with
-prefix) - Added "All Events" mode to MAX Trigger
- Improved webhook management
0.4.15
- Added Send with Media operation
- Support for image, video, audio, and file attachments
0.4.0
- Initial release
- Basic message operations
- Webhook trigger support
- Inline keyboard buttons
License
Support
- Report issues on GitHub
- MAX API Help: MAX Developer Portal