Forward SMS

How to forward SMS to Slack

AndroidBy Forward SMS TeamUpdated 10 min read

Forward SMS is a versatile Android app that seamlessly forwards text to emails, phone numbers, URLs/APIs, or Telegram. It also forwards phone alerts like missed calls, outgoing calls, shutdown/turn-on events, and low battery alerts. Additionally, it offers auto and remote replies for efficient message management.

This guide will walk you through the steps required to forward text messages to Slack.

Prerequisites

In Slack, in your browser

Set up Slack webhook

  1. Create a Slack app

    Create a new app in Slack to handle incoming SMS. Refer to this link to create one.

  2. Name the app and pick a workspace

    Enter the app name and the workspace where the app should be created.

  3. Turn on incoming webhooks

    Activate incoming webhooks from the webhooks tab. The webhooks tab can be accessed from the app's management dashboard.

  4. Add a new webhook

    Now that webhooks are enabled, create a new webhook by clicking the Add New Webhook to Workspace button.

  5. Choose a channel

    Slack will ask for the channel the webhook should post to. Select a channel, or create a new channel separately and come back here later.

  6. Find your webhook URL

    You'll be sent back to your app settings, where you should see a new entry under the Webhook URLs for Your Workspace section. Your webhook URL will look something like this:

    Webhook URL
    https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
  7. Keep the URL handy

    Keep the URL handy, as you'll use it in the app to set up the forwarding rule.

In the Forward SMS app

Set up rule in app

  1. Create a basic rule

    Create a rule. To keep the steps simple, we will create a basic rule.

  2. Choose URL as the receiver

    In the receiver section, select URL as the forwarding option. Tap the Edit URL Config button to set up the config.

  3. Paste the webhook URL

    In the URL section, enter the URL provided by Slack after creating the webhook.

  4. Pick the Slack template

    In the body section, you can create a payload of your choice. You can also select the default Slack template to autofill a basic template.

  5. Add properties to the body

    The body template can be customized by adding properties from the available properties section.

    Available properties

    {msg}
    Content of the SMS
    {local-time}
    Local time
    {time}
    UTC time in ISO format
    {sender}
    Sender details
    {sim-detail}
    SIM details
    {rule-name}
    Rule name
    {app-name}
    App name
    {formatted-msg}
    The SMS formatted with its other details
  6. Save the URL config

    Save the URL config.

  7. Save the rule

    You can update other rule settings, or save the rule.

  8. Test the rule

    After saving the rule, it's recommended to test it by selecting the Test option. This lets you verify that the rule is set up correctly and forwards SMS messages according to your criteria.

  9. Check Slack for the message

    Your rule has been set up. Check the Slack app to make sure forwarded texts are received.

On this pagePrerequisites