expertflow/universal-chat-for-mautic
Composer 安装命令:
composer require expertflow/universal-chat-for-mautic
包简介
Universal chat for Mautic Webchat, SMS, Whatsapp, Facebook Messenger, LiveChat, and plugin to any chatbot (Rasa, Google Dialogflow, IBM Watson,...).
README 文档
README
Universal chat for Mautic Webchat, SMS, Whatsapp, Facebook Messenger, LiveChat, and plugin to any chatbot (Rasa, Google Dialogflow, IBM Watson,...).
Requirements
- Mautic 3.2
- PHP 7+
- Stomp-php 5.0.0 (https://github.com/stomp-php/stomp-php)
- https://github.com/expertflow/universal-chat-for-mautic
How to install
Prerequisites
- Go to the Vendor folder in the Mautic server directory using sftp access (html/vendor/)
- Create a new folder named
stomp-php - Download Stomp-php release 5.0.0 from (https://github.com/stomp-php/stomp-php)
- Extract it to vendor/stomp-php/ folder.
- Run
rm -rf var/cache/*
Plugin Installation (do not use composer at this time)
- Download https://github.com/expertflow/universal-chat-for-mautic
- Extract it to
plugins/MauticActivemqTransportBundle - Delete
app/cache/prodor runrm -rf var/cache/*to clear the cache - Go to
Pluginsin the Mautic admin menu (/s/plugins) - Click on the
Install / Upgrade Pluginbutton to install plugin or runphp app/console mautic:plugins:installto install plugin via commandline - Go to Mautic configuration (/s/config/edit) and click on the Text Message Settings, then choose ActiveMQ as the default transport.
Send Test Text Message
Setup Campaign to Send Text Message via ActiveMQ
After configure the plugin.
- Go to
Channels -> Text Messages. - Create a text message with any content.
- Add/update contacts with a valid email address and a mobile number.
- Go to
Segments. - Create a new Segment: Add filter having contacts with valid Mobile numbers in it.
- Go to
Campaigns. - Create a new campaign: Contact Sources: Campaign Segment.
- Choose the Segment created in step 5.
- In the next step, select Action.
- In the Select box, choose Send Text Messages.
- In the box of Send Text Messages, put a name and choose the message - that you created early.
- Click the publish button and save your campaign.
To run the Campaign.
Execute the following commands.
php bin/console cache:clearphp bin/console mautic:segments:updatephp bin/console mautic:campaigns:updatephp bin/console mautic:campaigns:trigger
Note
When using Mautic ActiveMQ Plugin.
- +XXXXXXXXXXXX format for the contact phone number including the
+with country code and no space. - Fulfilled in the mobile contact field.
- Dynamic Variables can be added in the Text Messages like
Hi {contactfield=firstname}
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-11-24