How to create a Segment in Segmento

You can create a segment in segmento that will filter users based on the attribute values. You can click on the phone book for which you want to create a segment. Once all the contacts of the phonebook are visible you can refer to the below-mentioned steps in order to create a segment: 


Step 1:  Choose the column and give the condition on which you wish to filter with its value and click on the Apply button. Use the `+ icon to add more column conditions and the delete icon to remove a condition. The users matching the condition will be visible.  



Step 2: ​If you wish to save that segment for the future, you just have to select the 'create segment' option. Give the name for the segment and click on the save button.





How to Launch a campaign in that segment.


You can do this in three ways like you can create a trigger or repeater or can launch the campaign manually for that segment. 

1) Manually 

 You just have to click on the launch campaign tab, near the column settings, and select the campaign you want to send to that segment. 



2) Trigger

Trigger is specifically for a segment, so whenever a contact fulfills the condition of the segment it will fall under that segment and the campaign you set in that trigger will be launched to the new contact.

 If more contacts are added while running any segment, more credits will be deducted.


Ignore time:  When you save a segment and trigger a campaign, you will see the Ignore time option. It means that if the contact falls back in this segment again in the near future within this timeframe after getting moved out, the campaign will not run for it.

a. Select Create Automation, and select Trigger.



b. Select the segment, ignore time and campaign from the list of created campaigns in the MSG91 account, and click on the Next button.




c. Select the To field & Variable values that need to be mapped and click on the Send button.


3) Set Repeater


​a. Select Create Automation, and select Repeater.

b. Now select the segment, the time you want the campaign to be repeated, its start date and end date, and the campaign.



 


a. When you save a segment and click on launch now from the launch campaign option, a pop-up will appear that will ask you to select a campaign. Click on the Next> button.

b.  Select the Phonebook and save Segment from the dropdown on which you wish to send the campaign. Map the contact details & template variables. Click on Launch.



Note: You can also perform a Test Run on any of the mobile numbers to see if the message is delivering properly.