
The SMS Alert node sends a text message to the selected users in the workspace when an incident occurs in business processes. These text messages are especially useful when urgent action is needed from the Synerise users. You can use this node to inform about anomalies, getting closer to a workflow goal, form submissions, running out of coupons, and other events.

## Requirements
---

1. [Enable integration with an SMS provider in Synerise](/docs/campaign/SMS/configuring-sms-gateway#enable-integration).
2. [Create a sender account in Synerise](/docs/campaign/SMS/configuring-sms-gateway#create-sms-account).


## Node configuration
---

<figure>
<img src="/api/docs/image/8aa18695b9ddf90415ab9b9c2fdf6e90734cca60/docs/automation/_gfx/sms-alert.png" alt="Blank SMS Alert configuration pop-up" class="large">
<figcaption>Blank SMS Alert configuration pop-up</figcaption>
</figure>

1. To create a workflow that lets you send SMS alerts to the Synerise users, go to **Automation Hub > Workflows > New workflow**.  
2. Select one of the business or profile [trigger nodes](/docs/automation/triggers).
3. Click **THEN > SMS Alert**.  
4. Click the node.


### Select sender account
---
In this part of the node configuration, you will define the SMS account from which the alert will be sent.

1. In the **Sender details** section, click **Define**. 
2. From the dropdown list, select the SMS account from which the message will be sent.  
    After selecting the account, you can preview its settings by clicking **Account settings**.  
3. Confirm the settings by clicking **Apply**.  

### Prepare content
---
In this part of the node configuration, you will select a message template or create a message from scratch. 

1. In the **Content** section, click **Define**. 
2. If you want to:  
    - Select a template, click **Create message**. From the list of the templates, select the one you want to use.  
        - If you make changes to the template, click **Save** and then **Use in node**.
        - If you don't make changes to the template, click **Use in node**.
    - Create a message from scratch, click **Create message > New template**. The template will be available only in this node for preview and modifications. After finishing the template, click **Use in node**.  
        
      <div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

      After the node is configured, the name of the selected template is displayed directly on the node. To preview the template without opening the node settings, click the eye icon on the node. If the template was created directly in the node settings, the ID of the inplace content is displayed on the node instead of the template name.

      </div></div></div>

3. Confirm by clicking **Apply**.  

### Select recipients
----

1. In the **Recipient** section, click **Define**.    
    <figure>
    <img src="/api/docs/image/8aa18695b9ddf90415ab9b9c2fdf6e90734cca60/docs/automation/_gfx/email-alert-recipient.png" alt="Blank configuration form for the Recipient section in the settings of the SMS Alert node" class="large">
    <figcaption>Blank configuration form for the Recipient section in the settings of the SMS Alert node</figcaption>
    </figure>

    - To choose an existing list, click the search box:
        1. Go to the **Saved lists** tab.
        2. Select a list of recipients.
    - To create a list of recipients of the alert SMS, click the search box:
        1. In the **Profiles** tab, use the text field to find recipients or enter a phone number to add recipients outside the contact base.
        2. Confirm the selection by clicking **Add**.
        4. Confirm the list by clicking **Save list**. This way you can use this list in the future.  
        **Result**: A pop-up opens.
        5. In the **List name** field, enter the name of the list.
        6. Confirm by clicking **Apply**.
        7. Go to **Saved lists** tab.
        8. Select the list you created.  
    - Optionally, you can provide a dynamic value such as an [automation insert](/developers/inserts/automation) or you can select a reusable code ([snippet](/docs/assets/snippets)) by clicking <img src="/api/docs/image/8aa18695b9ddf90415ab9b9c2fdf6e90734cca60/icons/snippet-icon.svg" alt="Snippet icon" class="icon" >  
        **Example of an automation insert**: To retrieve a phone number from the [Profile Event](/docs/automation/triggers/client-event-node), use `{{ automationPathSteps['ProfileTriggerNodeTitle'].event.params.phone }}` and replace `ProfileTriggerTitle` with the title of this node. This way, the profile who go through the node will be sent an SMS alert.
6. Confirm the action setting by clicking **Apply**.
 
 ## Example of use
 ---

<figure>
<img src="/api/docs/image/8aa18695b9ddf90415ab9b9c2fdf6e90734cca60/docs/automation/_gfx/sms-alert-workflow.png" alt="Automation Hub workflow using the SMS Alert action to send an internal SMS notification to a Synerise user when a customer completes a defined step" class="full">
<figcaption>Example of the workflow that uses the SMS Alert action</figcaption>
</figure>

This example presents an automated scenario triggered by a lead form submission on a specific URL. 

1. In the settings of **Profile Event**, select a form submission event.
2. Add **SMS Alert** action. In its setting, select the account from which the message will be sent, select the recipients and the template of the alert. 
3. When a text message is sent to the recipients, the process ends.  