{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4357,"path":"build-workflows/workflow-studio/send-sms-action.md","title":"Send SMS action","bundle":null,"doc_type":null,"release":"australia","body":"\n# Send SMS action\n\nSend an email-based SMS text message to specified users or groups using your instance email server. Recipients must have an SMS device configured to receive the message.\n\n## Roles and availability\n\nAvailable as a Workflow Studio ServiceNow core action. Users with the flow\\_designer or admin role can add an action to a flow and define configuration details.\n\n## Deprecation of email-to-text gateway\n\nEmail-to-text service is now deprecated and no longer supported by service providers such as AT&amp;T and Verizon. It is recommended to use Notify for sending SMS notifications.\n\nNotify provides support for sending SMS notifications through integration of third-party services, such as Twilio, and requires configuration of supporting workflows. For more information, see [How to setup a SMS email notification in ServiceNow \\[KB0712569\\]](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0712569) knowledge base article.\n\n## Fields\n\n<table id=\"table_mfy_dzy_2lb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nRecipients\n\n</td><td>\n\nRecipients of the SMS text message. Specify a user or group by dragging a pill from the data panel.**Note:** Hard-coded addresses are not supported.\n\n</td></tr><tr><td>\n\nMessage\n\n</td><td>\n\nContent of the SMS text message. You can enter text directly or drag a pill from the data panel.\n\n</td></tr></tbody>\n</table>## Inputs\n\nProvide a value for each input that your flow needs. To add dynamic values, you can also drag and drop pills from the Data panel or select them from the pill picker.\n\n-   **Recipients**\n\n    Data type: **String**\n\n    Recipients of the SMS text message. Specify a user or group by dragging a pill from the data panel.\n\n-   **Message**\n\n    Data type: **String**\n\n    Content of the SMS text message. You can enter text directly or drag a pill from the data panel.\n\n\n## Outputs\n\nThese outputs appear in the Data panel. You can use them as inputs elsewhere in your flow.\n\n-   **Email**\n\n    Data type: **Record**\n\n    The Email record created for the SMS message.\n\n\n## Error messages\n\n|Error|Description|\n|-----|-----------|\n|`Recipients are required to send SMS`|Appears when no user or group is entered in the recipients field.|\n|`Message is required to send SMS`|Appears when no message is entered in the message field.|\n|`While parsing the recipients, found hardcoded addresses: %s which were ignored as they are not supported`|Appears when hard-coded address is entered in the recipients field.|\n|`While parsing the recipients, no active users or groups were found for sys_id(s): %s`|Appears when one or more inactive users or groups are entered in the recipients field.|\n|`No active SMS device was found for users(s) with sys_id(s): %s`|Appears when no SMS device is configured and found for one or more recipients.|\n|`Email sending is currently disabled. Please enable it via the property to send SMS using email gateway`|Appears when email sending is disabled.|\n\n**Parent Topic:**[Workflow Studio actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/flow-actions.md)\n\n"}}