Send and Receive Twilio Text Messages Using Alpine

In this article, you'll learn how to send Twilio text messages from Alpine and set up text message notifications.

Twilio two-way texting feature

Twilio’s two-way texting feature allows you to send texts to Constituents on a one-to-one basis. Constituents can then reply to text messages and both outbound and inbound text messages are automatically logged in Alpine.

Before you start

  • Make sure that you have successfully connected your Twilio account with your Alpine database. 
  • The following steps can only be completed by those with Admin permission levels in Alpine.

How to send a Twilio text message

To send a Twilio text message to a Constituent using the Alpine interface, follow these steps.

  1. Log in to your Humanitru Alpine account.
  2. Use the Search bar to find the correct Constituent.

  3. Click on the name of the Constituent in the drop-down menu.

  4. From the Constituent profile page, scroll down to Actions and click the Send Two-Way Text (Reply-Enabled) button.

  5. Type your text in the Message Body.

  6. Click the Send button.
  7.  Your outgoing text message will then appear as a Text Sent Action in the Actions section in the Constituent profile. It will include who sent the text, the date it was sent, and the context of the message.

How to receive notifications of Text Actions

Your Humanitru Alpine database can notify you via text message or email that a text message has been received in the database.

Create Tag Groups 

If you wish to receive notifications for all text responses, you can skip this step.

To create Tags in Alpine, follow these steps.

  1. Log in to your Humanitru Alpine account.
  2. Click Tags on the left navigation bar.

  3. In the Tag Groups box, click + Group to create a new Tag Group.
     
  4. You will be prompted to name the Tag Group. This Tag Group will be used to organize all of your tags related to text message notifications so you will want to be sure it’s intuitive to its purpose. We recommend something like “Receiver of Text Notifications”.

  5. Click the Save button.
  6. Next click + Tag to add a Tag to your new Tag Group.

  7. Click Select Group to find the existing Tag Group from the dropdown.

  8. Fill in the field for Tag Name. We recommend naming the Tag with your First and Last name or the name of your department if multiple people will be getting notifications of text received for the same Constituents. 

  9. Click the Save button. This tag can now be applied to a Constituent profile. Once applied, anytime a Constituent sends a Twilio text message it will notify anyone who has set up the system to receive notifications for texts from anyone with this tag.

Create notifications

If the Twilio two-way messaging feature has already been set up in your Alpine database, you can create automated notifications that will alert you whenever a specific Constituent has sent a text message. To set up system notifications, follow these steps.

  1. Log in to your Humanitru Alpine database.
  2. Click Settings in the left sidebar.
  3. Under Notifications click + New Notification.
  4. Use the dropdown in the Recipient column to select the Alpine User you would like to receive the notification. 
  5. Then set Channels to Text or Email depending on how you would like to be notified.

  6. From the dropdown in the Action Type column, select Text.

  7. Set the Tag Match Criteria (Constituent) to equals and then select the Tag Group associated with text message notifications.

  8. Set the Campaign Match Criteria to equals and select the Campaign called [System] Auto-Generated: Text Received.

  9. Click the Save button.