Automating Proactive Follow-Up

Chapter VI - Creating a Follow-Up Notification

In Part V, scheduled a TCPA-compliant Notification to remind users of their upcoming appointment. Now, we will create and schedule another Notification that will be sent if and only if a user submits their contact information but doesn't schedule their appointment within the 24 hours.

Creating the follow-up Notification

  1. In Notifications Builder, create a second SMS Notification and rename it to โ€œSchedule Appointmentโ€.
498
  1. Add a text reminding the user to schedule the appointment and personalize the message by referencing their first name name (saved as actor.first_name) in an Airscript Expression.

  2. Click on the โ€˜+โ€™ sign below the message and add a separate Link to Journey. This will direct the user back to the web app, wherever they left off:

911
Precisely what is link is being sent in the Link to Journey text?

The links sent in Link to Journey SMS messages are Journey Links. A Journey Link leads to the most recently accessed Web Page within an existing Journey. It is capable of doing so because it contains a unique Journey identifier in the URL path.

For a deeper dive into how to conceptualize and use Journey Links, see Linking to Journeys.

Why send this link as a separate text message?

Most apps that process and display SMS messages come with a previewing functionality that displays a thumbnail of the associated web page when a link is sent. However, in order to do so, the link usually has to be sent as its own isolated SMS message. In sending this link as a separate text message, we're making it easier for the end user to see a preview of the application before clicking on the link, ultimately resulting in a better use experience.

Setting the Notificationโ€™s timer

  1. In Web Flows Builder, go to the Capture Customer Info Web Page. With the Continue Button Control selected, go to the Actions tab in the Inspector and add a Start Timer Action. Complete it as follows:

    • Change the key to โ€œfollow-upโ€
    • Set a 1-day execution time after the timer is triggered
1486
  • To remain TCPA compliant, in Which Availability Schedule > Custom Expression, add the following Availability Schedule Key:
"TCPA-{{actor.region}}-{{actor.time_zone}}"
  • In If time is not available select the Use next available time option.
322
  1. Under the Start Timer Action, add a Send SMS Action and select the Schedule Appointment Notification.
1492
  1. Save the app. You have now scheduled the "Schedule Appointment" Notification to send 1 day after the user submits their contact information, assuming that lands at a TCPA-compliant time. If not, the follow-up text will be sent a little more than a day after, the soonest TCPA compliance allows.

Canceling the follow-up Notification when unnecessary

In cases where users schedule their appointment shortly after submitting their contact information, there's no need to send them a reminder message. Upon the selection of an appointment time, then, we should cancel the scheduled reminder.

  1. Go to the Scheduler Control in the Schedule Appointment Web Page. In the Actions tab of the Inspector, add a Stop Timer Action.
  2. Enter the key "follow-up" to cancel the timer.
752
  1. Save the app

Previewing the follow-up timer

Let's go to App Preview to test the progress we have built so far.

  1. After emulating submitting our contact information, click on the Timers tab to see the timers that are available at that stage of the Journey.

  2. Select the timer you want to test and, from Actions, click on Activate Scheduled Trigger. By doing so, the timer will be triggered even though it is not yet the designated execution time.

682
  1. Go back to the Device tab and click on the chat icon at the bottom to see the Notification's message.

You've now built out the entirety of Step 1 of this application flow. Lastly, it's time to finalize Step 2 โ€“ the collection of feedback after the appointment is over.