27
Views
9
Comments
Send sms
Question

Hello Everyone,


I need your help . Because I'm beginner......

So I have to send sms on mobile..... please share your suggestions... step by step flow.

2025-12-22 13-50-43
Sherif El-Habibi
Champion

Hello again,

Here is a discussion that explains how to integrate it using a service like Twilio:

https://www.outsystems.com/forums/discussion/92195/how-to-send-sms-from-application-outsystems/

There is also a YouTube tutorial that can help:

https://www.youtube.com/watch?v=EpCfJ2u9aaQ

Once integrated, you can implement it in your code using something like a process with an automatic activity that sends the SMS to a specific user.

2025-09-21 06-51-05
Mohd Anees Mansoori

Hello, 

You can also have a look on a component available, used for sending SMS

https://www.outsystems.com/forge/component-overview/610/twilio-connector

Thanks 

Anees

UserImage.jpg
Rajkamal Singh Jhala

See, after installing Twilio component from forge...And Taken dependencies from Twilio connector like server action ( Twilio_Simple_message ) ... I'm using that sever action.

And I have called that server action on Submit button. But still it raised error something like this...u can see this error. Where I uploaded image..

IMG_20260123_111922.png
2019-11-11 17-10-24
Manish Jawla
 
MVP

Hi @Rajkamal Singh Jhala ,

Please find the below steps as example:

  1. Pick an SMS provider and get credentials

    • Choose a provider (Twilio, ClickSend, D7, etc.). Create an account and note the credentials you need (API key or username+password, and a sender number or sender ID).

  2. Decide where you’ll trigger the SMS

    • Examples: from a server action when a user registers, from a scheduled process/timer, or after a form is submitted.

  3. Add a REST integration in Service Studio

    • In Service Studio, open Integrations > REST.

    • Add a new REST API and point it to the provider’s send-message endpoint (you can add the base URL for the provider). For Twilio the message endpoint is a POST to the Messages resource (the exact URL includes your account SID).

    • Configure authentication: basic auth for Twilio (Account SID + Auth Token) or an API key header for other providers.

  4. Define the method and inputs

    • Add a POST method. Set request type to application/x-www-form-urlencoded or JSON depending on provider.

    • Expose variables for the phone number and message text in the method input so you can call it from your server actions.

  5. Map the request and expected response

    • Map request fields (for Twilio: To, From, Body). For providers using JSON, build a JSON body.

    • Add response structure (success, message ID, error fields) so you can read status and message ID after the call.

  6. Create a Server Action that calls the REST method

    • Create a server action that accepts parameters (PhoneNumber, MessageText).

    • Inside it, call the REST method and handle its response. Return success/failure to the caller.

  7. Call your Server Action from the place you need it

    • Example: on form submit, call the server action to send the confirmation SMS. In processes, call it from an automatic activity.

  8. Add error handling and logging

    • If the REST call fails, log provider response and show a friendly message or retry. Consider retry logic for transient failures.

  9. Test end-to-end

    • Use real numbers to test. Check the provider console for sent messages and inspect returned message IDs.

  10. Production considerations

  • Ensure phone numbers are in E.164 format (+countrycode...).

  • Implement opt-in/opt-out handling and comply with local regulations.

  • Monitor costs and delivery rates; set up alerts for failures.

I hope this will give you an high level idea.

regards,

Manish Jawla


2023-10-16 05-50-48
Shingo Lam

Its really detail. In fact, we need to read the guideline from the third parties to obtain the prerequisites then follow these detail steps.

Thanks for your contribution

2024-10-05 13-30-20
Huy Hoang The

Thanks @Manish Jawla , it's very detail.

2023-09-07 19-44-18
Hardik

Hi Rajkamal,

OutSystems doesn’t send SMS natively you integrate with an external SMS provider via REST API

Popular ones that work smoothly with OutSystems:

    •    Twilio (most common)

    •    MSG91

    •    TextLocal

    •    AWS SNS

And then you need to :-

Create a REST Integration

    1.    Go to Logic → Integrations → REST

    2.    Click Consume REST API

 Add Basic Authentication

    •    Username: AccountSID

    •    Password: AuthToken

Configure REST Input Parameters

Add Input Parameters:

    •    To (Text)

    •    From (Text) → Twilio phone number

    •    Body (Text)

Call REST from Server Action

Create a Server Action like:

Inside it:

    •    Call the REST method

    •    Map inputs:

    •    To → +91XXXXXXXXXX

    •    From → Twilio number

    •    Body → your SMS text

Regards,

Hardik khare


UserImage.jpg
Jayaprakash Ramesh

hi @Rajkamal Singh Jhala  use the https://www.outsystems.com/forge/component-overview/610/twilio-connector-o11 forge componet or , YOu sais that you are a beginner then use a REST API services like msg91

2024-07-16 17-36-51
Shradha Rawlani

Hi @Rajkamal Singh Jhala ,

I there plugins available for mobile for send sms 

Regards

Shradha Rawlani

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.