Using Google Voice to Trigger an Incident via SMS

If you would like to manually trigger a PagerDuty incident via SMS, Google Voice has an SMS forwarding option which forwards all text messages to your Google email address, which can then be forwarded to a PagerDuty service email address.

Step 1: Create a Generic Email Integration Service

Follow the steps to create a generic email service and copy the integration email address for use in Google Voice.

Step 2: Set Up a Google Voice Account

  1. Access your Google Voice Account at voice.google.com.
  2. Add a forwarding phone number that will ring when the email is sent to Google Voice.
  3. Verify your phone by following Google's instructions.

Step 3: Enable Text Forwarding

  1. In Google Voice, click the gear icon in the upper right and select Settings.
  2. Go to the Voicemail & Text tab.
  3. Check the Forward text messages to my email: box.
  4. Click Save changes.

Step 4: Configure Forwarding in Gmail

To make sure that only the SMS's sent to your Google Voice provided phone number (and not every email received to your Gmail account) trigger an incident, you must set up filters for forwarding.

  1. Send a test SMS to your Google Voice number.
  2. After you receive the test message in your Gmail inbox, open the message and click the More button, click Filter messages like these, then click Create filter with this search to create a filter that matches the From address.
  3. Select the Forward it option and select your forwarding address from the drop-down list (this will be the integration email in your PagerDuty service).
  4. Make sure that the forwarding email has in use by filter so that only messages sent to your Google Voice number will be forwarded to your integration email.
  5. Click Create filter.

Step 5: Now It Is All Set Up - Test It!

Send an SMS message to your Google Voice number and confirm that a triggered incident has reached your PagerDuty service.

Using Google Voice to Trigger an Incident via SMS