05.12.2024
44

How to Connect MSG91as Data Destination

How to Connect MSG91 as Data Destination

The integration will allow you to add subscriber or delete subscriber in MSG91 based on data from other systems. For example, you can perform the above actions with subscribers by pulling them from your website, landing page or Google Sheets. This will allow you to efficiently automate your workflows and save you a lot of time by eliminating the need to manually add or delete each subscribers.  

Let's go through the entire MSG91 setup steps together!

Navigate through the communication setup to send E-mail:
1. What will integration with MSG91 do?
2. How do I connect my MSG91 account to ApiX-Drive?
3. How can I setup data transfer in MSG91 in the selected action?
4. An example of the data that will be sent to your MSG91.
5. Auto-update and update interval.

Navigate through the communication settings to send SMS: 
1. How can I setup data transfer in MSG91 in the selected action?
2. An example of the data that will be sent to your MSG91.
3. Auto-update and update interval.


To do this, click "Start Configuring Data Destination".

How to Connect MSG91 as Data Destination | Setup Data Destination system

Select the system as Data Destination. In this case, you must specify MSG91.

How to Connect MSG91 as Data Destination | System selection

Next, you need to specify an action, for example, "Send E-mail".

- Send SMS - an SMS will be sent to the specified number.
- Send E-mail - the e-mail will be sent to the specified e-mail address.

How to Connect MSG91 as Data Destination | Action selection

The next step is to select the MSG91 account to which will be sent the data.

If there are no accounts connected to the ApiX-Drive system, click "Connect account".

How to Connect MSG91 as Data Destination | Account connection

In the window that opens, you need to fill in the "API key" field, which is located in your account.

How to Connect MSG91 as Data Destination | Account connection

Go to the Developers tab, then to the API tab.

Next, go to the “Authkey” section.

Сopy the Authkey and paste it into the appropriate field in the ApiX-Drive system.

How to Connect MSG91 as Data Destination | Account connection
How to Connect MSG91 as Data Destination | Account connection

When the connected account is displayed in the "active accounts" list, select it.

Attention! If your account is in the "inactive accounts" list, check your access to this account!
Please check if MSG91 is blocking our IP addresses.
If you have an address bar URL in your ApiX-Drive account:
s1.apix-drive.com - 157.230.117.136
s2.apix-drive.com - 164.90.220.66
s3.apix-drive.com - 142.93.106.250
s4.apix-drive.com - 206.81.27.39
s5.apix-drive.com - 68.183.219.78
s6.apix-drive.com - 64.226.126.14
a1.apix-drive.com - 164.92.182.124

Add the desired IP to the "Whitelist IP Address", then refresh the page in your ApiX-Drive account.

How to Connect MSG91 as Data Destination | Account connection
How to Connect MSG91 as Data Destination | Account connection
How to Connect MSG91 as Data Destination | Account selection

Example of field settings and test data of the "Send E-mail" action

Now you need to specify the fields from where the recipient and sender data will be taken.

In the Sender E-mail field, you need to specify the E-mail of your MSG91 sender, you can find out this E-mail in MSG91 support.

In the Recipient E-mail field, you need to specify the E-mail to which you want to send the e-mail.

How to Connect MSG91 as Data Destination | Assigning fields

To fill in the “Domain” field, go to your personal MSG91 account, go to the “E-mail” tab, then go to the “Domains” tab. Copy the domain name and paste it into the required field of Apix-Drive.

Important! The domain must be validated.

How to Connect MSG91 as Data Destination | Assigning fields

You should specify the “Message type” field.

To fill in the “Template” field, you will need the template ID. Go to your personal cabinet MSG91, to the “E-mail” tab, then to the “Templates” tab and copy the ID of the template you need.

When creating a template, you need to specify variables “VAR1” and “VAR2”, in Apix-Drive, you will be able to substitute values to these variables from the drop-down list.

Important: The template must be validated.

How to Connect MSG91 as Data Destination | Assigning fields
How to Connect MSG91 as Data Destination | Assigning fields
How to Connect MSG91 as Data Destination | Assigning fields

Now you can see how it will look like sending data to send e-mail, according to the selected data.

Click "Send test data to MSG91" and check the result in the MSG91 subscriber list.

If something does not suit you - click "Edit" and go back one step.

If everything suits you, click "Next" to continue the setup.

How to Connect MSG91 as Data Destination | Test data

Example of field settings and test data of the "Send SMS" action

Now you need to specify the fields where the recipient and sender data will be taken from.

To fill in the “Flow ID” field, you will need the Authkey of your MSG91.Go to your MSG91 personal account, go to the “Authkey” tab, copy the Authkey and paste it into the field.

How to Connect MSG91 as Data Destination | Assigning fields
How to Connect MSG91 as Data Destination | Assigning fields

To fill in the “Sender” field, you will need the Sender ID.

To do this, go to your MSG91 account, go to the “SMS” tab, then go to the “Sender ID” tab, copy the data from the “Sender ID” field and paste it into the required field in Apix-Drive.

Also, to send a message via MSG91, you must create a message template in your MSG91 account.

When creating the template, you need to specify the variables “VAR1” and “VAR2”, in Apix-Drive, you will be able to substitute values to these variables from the drop-down list.

Important: The sender must be confirmed.

How to Connect MSG91 as Data Destination | Assigning fields
How to Connect MSG91 as Data Destination | Assigning fields

Now you can see an example of the data that Apix-Drive will send to MSG91.

Click “Send test data to MSG91” and an SMS message will be sent to the phone number specified in the test data.

If you are not satisfied with something - click “Edit” and go back one step.

If you are satisfied with everything - click “Next” to continue customization.

This completes the Data Destination system setup!

How to Connect MSG91 as Data Destination | Assigning fields

Now you can start choosing the update interval and enabling auto-update.

To do this, click "Enable update".

How to Connect MSG91 as Data Destination | Enable auto-update

On the main screen, click on the gear icon to select the required update interval or setup scheduled launch. To start the connection by time, select scheduled start and specify the desired time for the connection update will be started, or add several options at once when you need the connection will be started.

Attention! In order for the scheduled run to work at the specified time, the interval between the current time and the specified time must be more than 5 minutes. For example, you select the time 12:10 and the current time is 12:08 - in this case, the automatic update of the connection will occur at 12:10 the next day. If you select the time 12:20 and the current time is 12:13 - auto-update of the connection will work today and then every day at 12:20.

To make the current connection transmit data only after another connection, check the box "Update connection only after start other connection" and specify the connection after which the current connection will be started.  

How to Connect MSG91 as Data Destination | Update interval
How to Connect MSG91 as Data Destination | Update priority

To enable auto-update, switch the slider to the position as shown in the picture.

To perform a one-time data transfer, click on the arrow icon.

How to Connect MSG91 as Data Destination | Enable auto-update

This completes setup MSG91 as Data Destination! See how easy it is!?

Now don't worry, ApiX-Drive will do everything on its own!