RPA — How to read an OTP sent on Mobile Phone
As we say in RPA — Bot mimics human-computer interactions and it carries out a ton of error-free tasks, at high volume and speed. But there are also a ton of challenges we face while automating the processes.
Today I am talking about one of those challenges — Automating an application that completes the transaction after entering OTP which is sent to the registered contact number. Currently, there is no way to automate such scenarios.
I can also see in the UiPath forum, there are multiple unanswered questions for this challenge:
To overcome this problem, I have created an Android App, which will help bridge the gap between the Phone and the Bot machine.
Architecture:
As shown in the below flowchart, the Bot opens a URL or does any activity which triggers an OTP to the registered phone number. The same OTP is received on the phone through SMS. AutoOTP already running in the phone reads the SMS and it sends the SMS text to the Bot machine through Email.
While this step takes some time due to obvious reasons of SMS and Email delay, Bot will wait for 10 seconds and check for the email, and then once it finds the email, It extracts the OTP and enters into the application to proceed with the transaction.
This is how AutoOTP can help automate such scenarios.
There are multiple improvements required in the app (Calling API instead of email, Publishing to Play store, Running in Background)
Please let me know your thoughts in the comment section or mail me at santanbarnwal@gmail.com
To install AutoOTP, Check below video:
For Demo and to know how it works, Check below video:
Use case in the video: Bot opens Flipkart, Enters Contact number, Requests for the OTP. AutoOTP running in Phone forwards the SMS to a Bot Email account and then Bot reads that email and enters into the Flipkart website.
Please let me know your thoughts in the comment section.
Happy Automation !!
AutoOTP app: www.autootp.in
Follow me on LinkedIn: https://www.linkedin.com/in/santanbarnwal/
Subscribe to my YouTube channel: https://www.youtube.com/channel/UCoF8-B_MfOCL40szrorbtyQ
My Website: www.santanbarnwal.com
Play Store: https://play.google.com/store/apps/developer?id=Santan+Barnwal&hl=ne&gl=US
— Santan Barnwal