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.
Follow the steps to create a generic email service and copy the integration email address for use in Google Voice.
- Access your Google Voice Account at voice.google.com.
- Add a forwarding phone number that will ring when the email is sent to Google Voice.
- Verify your phone by following Google's instructions.
- In Google Voice, click the gear icon in the upper right and select Settings.
- Go to the Voicemail & Text tab.
- Check the Forward text messages to my email: box.
- Click Save changes.
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.
- Send a test SMS to your Google Voice number.
- 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.
- 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).
- 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.
- Click Create filter.
Send an SMS message to your Google Voice number and confirm that a triggered incident has reached your PagerDuty service.