32
Views
9
Comments
Solved
How to send automatically SMS at particular time to all customers
Application Type
Mobile

hello,

        how to send automatically SMS to all customers at particular time.

customer table :

id | name | mobile

1 |  ABC    | XXXXXXX

2 | XYZ      | XXXXXXX


Solution

Hi Swapnil,

First of all do you want to send sms from  mobile device or from server. Mostly you will send sms to all customer from server not from any user's mobile.

From mobile device you can use plugin.

if you want to send it from server please go through below discussion  and Jorge Martins  answer on this.

https://www.outsystems.com/forums/discussion/48244/sending-sms-from-application/ 

Rank: #29233

Abdul quadir Saifee sir,

            I have design one "task list" application on that application. I want every Monday  and Friday backend through SMS send automatically. to all customers.my SMS message was same for all customers.

and sending SMS for I use rest Api. i am confuse in two points show in below:

1.in logic how to get all customer contact number in array.

2.how to automatically at particular time call this send SMS function.

==================

customer table :

==================

id | name | mobile

1 |  ABC    | XXXXXXX

2 | XYZ      | XXXXXXX


Capture.PNG

1. Outsystems uses list instead of array and when you call Rest api you can convert that to JSON. Or you can consume rest API and outsystems can Convert JSON to structure that you can use as list and fill that.

https://www.outsystems.com/learn/lesson/1848/writing-data-to-a-rest-api-post-and-put

https://www.outsystems.com/learn/lesson/1850/retrieving-data-from-a-rest-api-get

https://www.outsystems.com/learn/courses/116/integrating-with-web-services/

2.You can use timer to trigger any action on particular time and configure that in service studio.

https://success.outsystems.com/Documentation/10/Developing_an_Application/Use_Timers/Create_and_Run_Timers 

Rank: #29233

How to get all customers mobile number in one array

 

You can use list append to append all the numbers of user 

mvp_badge
MVP
Rank: #2

That's a mobile plugin, I think the OP is talking about the backend.

Rank: #67

Hi Swapnil,


If you want to send a considerable number of SMS, you probably want to use a connector such as Twilio, if you do not have the built-in feature setup, since its designed for more advanced scenarios but you should be fine using it for sending SMS.


Cheers,

João

Solution

Hi Swapnil,

First of all do you want to send sms from  mobile device or from server. Mostly you will send sms to all customer from server not from any user's mobile.

From mobile device you can use plugin.

if you want to send it from server please go through below discussion  and Jorge Martins  answer on this.

https://www.outsystems.com/forums/discussion/48244/sending-sms-from-application/ 

Rank: #29233

Abdul quadir Saifee sir,

            I have design one "task list" application on that application. I want every Monday  and Friday backend through SMS send automatically. to all customers.my SMS message was same for all customers.

and sending SMS for I use rest Api. i am confuse in two points show in below:

1.in logic how to get all customer contact number in array.

2.how to automatically at particular time call this send SMS function.

==================

customer table :

==================

id | name | mobile

1 |  ABC    | XXXXXXX

2 | XYZ      | XXXXXXX


Capture.PNG

1. Outsystems uses list instead of array and when you call Rest api you can convert that to JSON. Or you can consume rest API and outsystems can Convert JSON to structure that you can use as list and fill that.

https://www.outsystems.com/learn/lesson/1848/writing-data-to-a-rest-api-post-and-put

https://www.outsystems.com/learn/lesson/1850/retrieving-data-from-a-rest-api-get

https://www.outsystems.com/learn/courses/116/integrating-with-web-services/

2.You can use timer to trigger any action on particular time and configure that in service studio.

https://success.outsystems.com/Documentation/10/Developing_an_Application/Use_Timers/Create_and_Run_Timers 

Great to know it helped to you..