Forward SMS

How to forward SMS to Microsoft Teams

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 SMS to Microsoft Teams.

Prerequisites

In Microsoft Teams

Set up Teams webhook

  1. Create a channel

    Open Teams and create a channel where messages should be forwarded, or go to the team and channel you want to use.

  2. Open Workflows

    Select More options (•••) next to the channel name, then select Workflows.

  3. Pick the webhook template

    Search for and select the Send webhook alerts to a channel template.

  4. Configure the workflow

    Check that the right team and channel are selected. Changing the workflow name is optional. Select Save.

  5. Copy the webhook URL

    Once the workflow is created, copy the webhook link.

  6. Keep the URL handy

    Keep the webhook 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 new rule. Here 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 webhook URL provided by Teams.

  4. Pick the Teams template

    In the body section, paste the request body below.

    Request body · JSON
    {
      "type": "message",
      "attachments": [
        {
          "contentType": "application/vnd.microsoft.card.adaptive",
          "content": {
            "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
            "type": "AdaptiveCard",
            "version": "1.4",
            "body": [
              {
                "type": "TextBlock",
                "text": "{formatted-msg}",
                "wrap": true
              }
            ]
          }
        }
      ]
    }

    {formatted-msg} holds the forwarded message with its details. You can replace it with other properties from the next step.

  5. Add properties to the body

    To change what is posted to Teams, replace {formatted-msg} in the body with any of the available properties, for example From: {sender}\n{msg}.

    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

    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 Teams for the message

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

In Microsoft Teams and the Forward SMS app

Or send to the channel by email

Every Teams channel can also receive email. Instead of a webhook, you can forward texts to the channel's email address.

  1. Get the channel email address

    In Teams, select More options (•••) next to the channel name, then select Get email address.

  2. Allow Forward SMS to send

    Select Advanced settings, choose Only email sent from these domains and add the domains below. Forward SMS sends emails from all of them, so add every one. If you send from your own Gmail or SMTP account, allow that address's domain instead.

    Domains
    mailer1.forward-sms.com,
    mailer2.forward-sms.com,
    mailer3.forward-sms.com,
    mailer4.forward-sms.com,
    mailer5.forward-sms.com
  3. Copy the email address

    Copy the channel's email address shown at the top of the dialog, then select Save.

  4. Add an Email receiver

    In Forward SMS, add an Email receiver to your rule and paste the channel's email address. See how to forward to email for the full steps.

On this pagePrerequisites