Trigger Incidents via SMS with Google Voice & Gmail

tips
official
doc-review

(Jonathan Curry) #1

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 Gmail address, which can then be forwarded to a PagerDuty integration email address.

  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.

  2. Set Up a Google Voice Account
    Log in to Google Voice at voice.google.com. If you’ve never used Google Voice before, follow the steps to set up a new phone number and complete Google’s verification process.

  3. Enable Text Forwarding
    Go to :gear: Settings and enable Forward messages to email under the Messages section.

  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 you created in PagerDuty in step 1).
    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.
  5. Test It!
    Send an SMS message to your Google Voice number and confirm that a triggered incident has reached your PagerDuty account.