{"id":378543,"date":"2026-10-08T17:48:48","date_gmt":"2026-10-08T17:48:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/forms-to-max\/"},"modified":"2026-10-08T17:56:29","modified_gmt":"2026-10-08T17:56:29","slug":"leadsender-for-max","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/leadsender-for-max\/","author":23576795,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.3","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"LeadSender for MAX","header_author":"wp-addon.ru","header_description":"Sends leads from all website forms (Fluent Forms, Contact Form 7 and any form that sends email via wp_mail) to the MAX messenger.","assets_banners_color":"9a9bff","last_updated":"2026-10-08 17:56:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wp-addon.ru\/leadsender-for-max\/","header_author_uri":"https:\/\/wp-addon.ru\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":87,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"prohortech","date":"2026-10-08 17:48:12","revision":3735273},"1.0.1":{"tag":"1.0.1","author":"prohortech","date":"2026-10-08 17:56:29","revision":3735287}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3735273,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3735273,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-ru_RU.png":{"filename":"banner-1544x500-ru_RU.png","revision":3735273,"resolution":"1544x500","location":"assets","locale":"ru_RU","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3735273,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-ru_RU.png":{"filename":"banner-772x250-ru_RU.png","revision":3735273,"resolution":"772x250","location":"assets","locale":"ru_RU","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3735273,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3735273,"resolution":"1","location":"assets","locale":"","width":1106,"height":1381},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3735273,"resolution":"2","location":"assets","locale":"","width":1106,"height":1025}},"screenshots":{"1":"Connection: bot token check, chat search and the list of chats that receive leads.","2":"Lead sources: Fluent Forms, Contact Form 7 and interception of other forms via wp_mail."}},"plugin_section":[],"plugin_tags":[1152,185045,335,12439,6336],"plugin_category":[],"plugin_contributors":[285130],"plugin_business_model":[],"class_list":["post-378543","plugin","type-plugin","status-publish","hentry","plugin_tags-contact-form-7","plugin_tags-fluent-forms","plugin_tags-leads","plugin_tags-max","plugin_tags-messenger","plugin_contributors-prohortech","plugin_committers-prohortech"],"banners":{"banner":"https:\/\/ps.w.org\/leadsender-for-max\/assets\/banner-772x250.png?rev=3735273","banner_2x":"https:\/\/ps.w.org\/leadsender-for-max\/assets\/banner-1544x500.png?rev=3735273","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/leadsender-for-max\/assets\/icon-128x128.png?rev=3735273","icon_2x":"https:\/\/ps.w.org\/leadsender-for-max\/assets\/icon-256x256.png?rev=3735273","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/leadsender-for-max\/assets\/screenshot-1.png?rev=3735273","caption":"Connection: bot token check, chat search and the list of chats that receive leads."},{"src":"https:\/\/ps.w.org\/leadsender-for-max\/assets\/screenshot-2.png?rev=3735273","caption":"Lead sources: Fluent Forms, Contact Form 7 and interception of other forms via wp_mail."}],"raw_content":"<!--section=description-->\n<p>In Russian the plugin is called \u00ab\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0444\u043e\u0440\u043c \u0432 MAX\u00bb (\"Sending forms to MAX\").<\/p>\n\n<p>LeadSender for MAX delivers every new form submission from your WordPress site to one or several chats or groups in the MAX messenger, so your team sees new leads within seconds.<\/p>\n\n<p>This plugin is not affiliated with or endorsed by the MAX messenger or its owners. \"MAX\" is used only to describe the service the plugin works with.<\/p>\n\n<p>Plugin website: <a href=\"https:\/\/wp-addon.ru\/leadsender-for-max\/\">wp-addon.ru\/leadsender-for-max<\/a><\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Fluent Forms<\/strong> \u2014 the lead is taken right after the entry is saved, even if email notifications are turned off.<\/li>\n<li><strong>Contact Form 7<\/strong> \u2014 the lead reaches MAX even if the site failed to send the email.<\/li>\n<li><strong>Any other form<\/strong> (Elementor, WPForms, custom theme forms) \u2014 through wp_mail interception with filters by recipient address and subject. System emails of WordPress and WooCommerce are skipped.<\/li>\n<li><strong>Any number of chats<\/strong> \u2014 every lead is sent to all enabled chats.<\/li>\n<li><strong>Instant delivery<\/strong> \u2014 each lead is sent as a separate message right after the form is submitted. The visitor never waits: sending happens after the page response.<\/li>\n<li><strong>Message content<\/strong> \u2014 form name, site, all filled-in form fields and submission time.<\/li>\n<li><strong>Reliable<\/strong> \u2014 queue with automatic retries and an email to the administrator if delivery fails.<\/li>\n<li><strong>Setup wizard<\/strong> \u2014 bot token check, automatic search of the chat ID, test message.<\/li>\n<li><strong>Russian trusted root certificates<\/strong> \u2014 if the hosting does not trust the MAX API certificate, upload the certificate files in the settings and the plugin will use them for requests to MAX.<\/li>\n<li>Each message ends with a short signature with a link to the plugin website.<\/li>\n<\/ul>\n\n<p>The plugin interface is in Russian.<\/p>\n\n<h4>Pro add-on<\/h4>\n\n<p>A separate paid add-on is available at <a href=\"https:\/\/wp-addon.ru\/leadsender-for-max\/\">wp-addon.ru\/leadsender-for-max<\/a>. It is installed as a separate plugin and adds:<\/p>\n\n<ul>\n<li>Lead source: ads, UTM tags, yclid, referrer, landing page, Yandex Metrica ClientID.<\/li>\n<li>Page of the form, device, IP address, link to the entry in the admin area.<\/li>\n<li>Buttons under the message: copy phone, copy email, open the entry.<\/li>\n<li>WooCommerce orders.<\/li>\n<li>Spam filter.<\/li>\n<li>Routing of leads to different chats by form.<\/li>\n<li>Message settings: title, blocks, hiding fields, silent notifications, message without the signature.<\/li>\n<li>Delivery log with manual resend.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to one third-party service. Without it the plugin cannot deliver leads.<\/p>\n\n<p><strong>MAX Bot API<\/strong> (platform-api2.max.ru) \u2014 the API of the MAX messenger, provided by the MAX service (legal.max.ru).<\/p>\n\n<ul>\n<li>Purpose: sending leads to MAX chats, checking the bot token, finding the chat ID.<\/li>\n<li>Data sent: the bot token; values of the submitted form fields (for example name, phone, email, message); site name and form name; submission time.<\/li>\n<li>When: on every new form submission, and when the administrator clicks \"Check connection\", \"Find my chat\" or \"Send test message\".<\/li>\n<li>Terms of use: https:\/\/legal.max.ru\/ps<\/li>\n<li>Privacy policy: https:\/\/legal.max.ru\/pp<\/li>\n<li>API documentation: https:\/\/dev.max.ru\/docs-api<\/li>\n<\/ul>\n\n<p>The plugin does not download anything by itself. Russian trusted root certificates, if your hosting needs them, are uploaded by the administrator manually (they are published at https:\/\/www.gosuslugi.ru\/crt).<\/p>\n\n<p>Forwarding leads to MAX means transferring visitors' personal data to the messenger operator. Mention this in your site's privacy policy.<\/p>\n\n<h3>Developers<\/h3>\n\n<p>Filters: lsfm\/sources, lsfm\/lead (return false to skip), lsfm\/lead_context, lsfm\/recipients, lsfm\/send_at, lsfm\/format_group, lsfm\/message_attachments, lsfm\/send_args, lsfm\/wpmail\/should_capture, lsfm\/http_args, lsfm\/settings_defaults, lsfm\/save_settings.\nActions: lsfm\/queued, lsfm\/sent, lsfm\/failed.<\/p>\n\n<p>Add your own form:<\/p>\n\n<pre><code>add_action( 'my_form_submitted', function ( $data ) {\n    LSFM_Collector::add( array(\n        'source'     =&gt; 'my-form',\n        'form_title' =&gt; 'Calculator',\n        'fields'     =&gt; array(\n            array( 'label' =&gt; 'Phone', 'value' =&gt; $data['phone'] ),\n        ),\n    ) );\n} );\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin and activate it.<\/li>\n<li>Open \"Settings \u2192 \u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0432 MAX\" (the plugin interface is in Russian).<\/li>\n<li>Paste your MAX bot token (business.max.ru \u2192 Chat bots \u2192 \u22ee \u2192 Settings) and click \"Check connection\".<\/li>\n<li>Add the bot to a MAX group, send any message to the group, click \"Find my chat\" and add the chat.<\/li>\n<li>Save the settings and click \"Send test message\".<\/li>\n<\/ol>\n\n<p>The token can also be defined in wp-config.php: <code>define( 'LSFM_BOT_TOKEN', '...' );<\/code><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20get%20a%20bot%3F\"><h3>Where do I get a bot?<\/h3><\/dt>\n<dd><p>A MAX bot can be created only by a verified organization, sole proprietor or self-employed person (Russian residents) on business.max.ru. The token is issued there after the bot passes moderation.<\/p><\/dd>\n<dt id=\"the%20hosting%20does%20not%20trust%20the%20max%20server%20certificate\"><h3>The hosting does not trust the MAX server certificate<\/h3><\/dt>\n<dd><p>Download the root and sub CA certificates from gosuslugi.ru\/crt. Then open \"Connection \u2192 Advanced\", select the files (or paste their PEM text) and click \"Save certificates\". You can also put the files into the plugin's assets\/certs folder.<\/p><\/dd>\n<dt id=\"leads%20arrive%20with%20a%20delay\"><h3>Leads arrive with a delay<\/h3><\/dt>\n<dd><p>On hosting without PHP-FPM, sending runs through WP-Cron, which is triggered by site visits. If WP-Cron is disabled, set up a system cron job for wp-cron.php every minute.<\/p><\/dd>\n<dt id=\"i%20get%20duplicates\"><h3>I get duplicates<\/h3><\/dt>\n<dd><p>If a form is handled by its own adapter (Fluent Forms, Contact Form 7), its wp_mail emails are not forwarded again. For other forms, limit interception by recipient address or email subject.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>The Russian plugin name \u00ab\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0444\u043e\u0440\u043c \u0432 MAX\u00bb is now used throughout the interface.<\/li>\n<li>Plugin headers are translated through translate.wordpress.org instead of a bundled file.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Instantly sends leads from Fluent Forms, Contact Form 7 and any form that sends email via wp_mail to chats in the MAX messenger.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/378543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=378543"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/prohortech"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=378543"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=378543"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=378543"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=378543"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=378543"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=378543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}