How to use a custom event:
Using quick replies or buttons you can Trigger Events to segment users into custom audiences, or fire flows based on that custom event. These Events are fired when a user clicks on the specified quick reply or button, which automatically updates the information ShopMessage is storing about each individual contact.
For example, you could ask your users a question (eg. who are you shopping for?) and then store these answers in the user's profile (eg.
quickreply_shopping_men). You can later use the
quickreply_shopping_men event to sent an automated follow up flow.
Adding a custom events to your Flow or Plugin Message:
You can set a custom event in any message that has a quick reply or a button. To do this Create or Edit a Flow, or a Plugin Follow-up Message. For a Plugin, proceed to Follow-up tab and Click the Edit Message. For a Flow, click the Pencil button or hover the three dots to edit the message.
Navigate to Message builder then Add or Edit a Quick Reply or a Button. Within your Quick Reply or Button editor, scroll down to Action area and click on Trigger Event tab.
By default, ShopMessage offers standard events within some of our templates and some recurring options that you can use. Some of our defaults include
Unsubscribe . To create your own event, write over these event names.
You'll then want to add a new and unique custom event. The event should be unique as this exact string will be used to trigger your follow up flow. If you do not create unique event names, you may end up sending multiple follow up messages.
Creating a Flow Based on a Custom Event
Create a Follow-up flow to be triggered by your custom event. To do this navigate to Flows tab from your ShopMessage dashboard and Click Create under Flow. Proceed to Rules tab and set the Inclusion Rules on your Follow-up flow. The inclusion rule should be a Rule based on an Event. Paste or type in your unique Event name into the field after User Triggered.
*TIP: We recommend sending follow-up flow either 30 minutes or 23 hours after an interaction. Based on testing, these follow-up times performs best!