text-otp-generator-service
Service icon

Text OTP Generator (Service)

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded on 04 October 2022 by 
5.0
 (6 ratings)
text-otp-generator-service

Text OTP Generator (Service)

Documentation
1.0.0

 

Text OTP Generator  

Introduction:

 

  • This Forge component allows you to send OTP as a Text message over Mobile phone.
  • It generates Numeric as well as Alphanumeric numbers.
  • It has a dependency on Twilio Connector which uses Twilio SMS API for sending text messages.
  • Follow the below guided steps for Twilio configuration and refer the Demo for better understating of this component.

 

Steps:

 

  • Download Twilio Connector from the Forge and add its dependency in your application.

 


 


  • Add the message server action TwilioSimpleMessage in your action flow.
 


 
  • Fill out the server action properties like From, To, MediaUrl and Message as shown in the below screenshot.


 

Steps to do before using the Twilio Connector in your application:

 

Step 1: Sign Up for free Twilio Account here - https://www.twilio.com/try-twilio


Step 2: Getting a Virtual Trial Phone Number.

 

 

Go to the Left side menus in Twilio account,

 

Side Menus > Phone numbers > Manage > Active numbers

 

You will see a list of Trial numbers since it is a trial account you will get only one phone number.

 

During the free trial you need to verify the non-Twilio number in order to send SMS and calls to it. The good thing here is you can verify more than one non-Twilio numbers.

 

Verified Caller IDs > Add a new Caller ID > Verify number

  

Steps for Twilio Configuration:

 

In Service Centre Follow the below path,
Factory > Applications > Twilio Connector> Twilio Connector Module> Integrations Tab
Under the Integrations tab you will see multiple tables. Go to Consumed REST API's table. On the Name column, you will see Consumed Twilio API. Click on it and you will be redirected to the Twilio REST API page.

 




On the Effective Username and Effective Password, place your Twilio Account SID and your Auth Token respectively as shown in the below screenshot.

 


Now, the last thing is to set Site properties default values in Service Centre inside Twilio Connector Module.