Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Universal Chat for Mautic is a plugin to send Campaign Text Messages to contacts via Hybrid Chat. Mautic have pre-built integration with Twilio only, so this plugin is a new alternative to the users of Mautic.

Requirements

Prerequisites

  • Run composer require stomp-php/stomp-php to install stomp-php client.
  • Run rm -rf var/cache/* to remove cache.

Plugin Installation

  • Download Universal Chat for Mautic.
  • Extract it to plugins/MauticActivemqTransportBundle.
  • Delete app/cache/prod files or Run command rm -rf var/cache/* to clear cache.
  • Go to plugins in Mautic’s admin menu (/s/plugins)
  • Click on the Install / Upgrade Pluginbutton to install the plugin or Run php app/console mautic:plugins:install to install the plugin via command line.Image Added
  • Go to Mautic’s Configuration (/s/config/edit), click on the default transport, and select universal-chat-transport from the dropdown.

         Image Added


Once transport is set to universal-chat-transport, we can now run SMS campaigns via Universal Chat Plugin.

Send Test SMS Campaign

Setup Sms Campaign

After configuring the plugin:

  • Go to Channels > Text Messages.
  • Create a text message with any content.
  • Create some new Contacts having valid email and mobile number fields.
  • 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 you created early.
  • In the next step, select Action.
  • In the Select box, Choose to Send Text Messages.
  • In the box of Send Text Messages, put a name and choose the message - that you created early.
  • Click on the Publish button and Save your campaign.

Trigger the Campaign

Execute the following cronjobs to trigger the campaign:

...