📨 Magento messaging
This app lets you send one-way notifications to your customers about time-sensitive events. With SMS and WhatsApp you can send order update notifications, and with SMS you can also send back-in-stock and cart abandonment notifications.
NOTE: This app supports Magento versions 2.3.x and 2.4.x. To install the app go to the Magento Marketplace.
Configure and Enable the App
- In the left-hand navigation, go to Stores > Settings > Configuration.
- Click Configuration, then scroll down and look for INFOBIP.
- Click on INFOBIP. You will see two options: Notification and Cart abandonment.
Next you need to enable the app and finish the configuration.
- In BASE SETTINGS, enter the Base URL and API Key. (Log into Infobip and look for these on the home page.)
- Click the Save Config button. The page will refresh.
- Set the Enable Plugin to Yes.
- Click Save Config again.
NOTE: If the Enable Plugin drop-down is not selectable and you are certain the credentials are correct, clear your browser cache and try again.
Configure the Channels
After you connect Magento with Infobip, you can configure SMS and WhatsApp channels, depending on which you need. Setup is basically the same for both channels, with small differences for opt-in and opt-out settings.
For the channel you want to use, click on Configure to view these fields:
Enabled | Select Yes or No to switch on/off all notifications through the SMS channel. |
Select Senter | Select a number (from your available numbers) that will send the message. This number will be visible to your customers. If you need additional numbers or new numbers for a specific country, you can obtain them by logging into Infobip and navigating to Channels and Numbers. |
Language code | Enter a two-letter language symbol. |
Order status | Select the status notifications you want to send. The ones you select will trigger an SMS notification. |
Customer group | Specify which customer group (segment) will receive the notification. You can filter out specific groups by making the applicable selections in this list. For example, you can select ALL GROUPS to send a notification to everyone. Selecting General will send a notification to only those customers in the General group. |
Set up Message Opt-In
Here you select whether to collect customer opt-in for WhatsApp and customer opt-out for SMS. This means that, if a customer explicitly notifies you that they either want or don't want to receive messages, you can filter them out.
For SMS there are two additional fields:
- Check if customer has opted-in to receive SMS, choose Yes or No.
- Opt-Out Keyword which defines which customer message will be accepted as opt-out.
For WhatsApp you can select to collect opt-ins. In Account information, toggle Whatsapp Opt in to Yes.
In both cases of SMS and WhatsApp, a Magento administrator can manually opt-in or opt-out customers.
IMPORTANT: To receive incoming messages and delivery reports, contact support@infobip.com to configure endpoints for receiving this information. You will need to create integration token for both endpoints.
Track Notifications
Here are the notifications you can track for both SMS and WhatsApp:
Order updates | Select Yes to turn on all notifications related to order update status changes. |
Back to stock | Select Yes to send a notification about products that are back in stock. Note that this function is available only if the native Magento 'back in stock' functionality is enabled. To modify this setting, go to Store >Configuration >Catalog >Product Alerts and set Allow Alert When Product Comes Back in Stock to Yes. |
Abandoned Cart | Select Yes to enable abandoned cart notifications via SMS. For more information about this type of notification, see the Cart Abandonment section below. |
Back in Stock
The in-stock alert creates a link called Notify me when an out-of-stock product is back in stock. A customer can click Notify me to subscribe to the alert. When the product is back in stock, the customer receives an SMS notification. The back-in-stock functionality uses the Magento back-in-stock alerts and works only for customers who have an account in the store.
NOTE: To make use of this functionality you must enable and configure the schedule for the Magento functionality. For more information about configuring back-in-stock functionality, see this Magento documentation.
Cart Abandonment
This functionality tracks items left in carts by customers who are logged into your store. It automatically sends a notification after a certain amount of time. The notification contains a link for checking out.
To configure abandoned cart go to Infobip > Configuration and then select the Cart Abandonment tab.
How to Use Templates
Templates let you customize and personalize notification messages.
How to edit a template
- Click on Infobip in the left menu.
- Click on the Notification templates. You should see a table displaying a list of templates.
- Under Action, click the Select drop-down for the template you want to edit.
- Click the Edit button to view the template form.
To create a new template, click the Add new...template button. Below is the screen for creating a new template for SMS.
Following are descriptions of the fields you need to set for each template.
Content settings
Name | Enter a template name. It is useful to enter a descriptive name so that you can find it quickly. |
Sender | This sets “use configuration,” which allows you to either use the general configuration or select a specific number. This option will override the system configuration in the Infobip SMS section. |
Content | Enter the message text. You can use variables. |
Insert Variables | Click this button to view the variables available for personalizing the message. Note that not all variables are available for every event. For more information see the section on Variables. |
Template settings
Is active | Lets you assign templates to any order status or event. Note that only one can be active at a time. If you try to duplicate a configuration, your configuration will save but the active status will be set to No. To assign a chosen template to a desired action, make sure that the action does not already have a template assigned. If it does then you will need to deactivate the template by setting the active status to No or delete the template. You will be able to save the chosen template as active without a message like indicated below. |
Template type |
There are two template types available:
|
Chose event | Lets you assign a template to available notifications. |
Select status | Lets you assign a template to available statuses. |
Customer group | Lets you specify one global template to be used for all customer groups by selecting the ALL GROUPS. Alternatively you can use separate templates for each customer group and assign it by selecting the appropriate customer group. |
Website | This option is the same as customer group for the global template set “All Store Views,” or in case you have a multi-store and want to have different templates for each store. Create a template per store and assign it here accordingly. |
NOTE: In case of WhatsApp, you need to pre-register template you want to use for notifications. Check the WhatsApp template documentation.
Delivery Reports & Statistics
For complete information about delivery reports go to Infobip >Delivery Reports. Here you can find reports that let you investigate message delivery rates and possible errors. Delivery reports are available for both SMS and WhatsApp channes. SMS reports indicate whether a message was delivered and WhatsApp reports indicate whether a message was delivered or seen.
This pie chart view indicates the occurrence of each delivery status as well as a simple summary of total sent messages, total delivered messages, percentage delivery rate in general, and seen information for WhatsApp messages.