OTP from Outlook

Hello all
i want to ask something about OTP code
what if i want to copying OTP code from gmail then apply to another website ?
what should i do ?

You can try “Use Gmail” container. Add “For each email in” with filters(subject,sender etc.) and “Read Email” to get the body text to retrieve the OTP.

Depending on the email content, probably need to do some string manipulation to extract the OTP.


can i do with this step?

in pattern i use “\b\d{6}\b”
Text to search in currentMailMessage.Body
Filter outlook “[SenderEmailAddress] = ‘@.com’ AND [Subject] = ‘Your OTP for Ticketing’”