This article describes the RPA Process functionality to get a 2FA pin.
For a full list of available functions, please read PROCESS functions.
Description
The PROCESS Get a 2FA pin function allows you to get a 2FA pin.
Setting it up
To use the PROCESS Get a 2FA pin function, follow these instructions:
{{popups:rpas/add:action=2fa}}
Once on a process map:
- Navigate to the process where you would like to add the PROCESS Get a 2FA pin function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the PROCESS Get a 2FA pin option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| 2FA Key | Yes | Text | - | The TOTP secret key |
| Variable | Yes | Text | - | Variable to store the generated code |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | The generated 2FA/TOTP code |
Errors
| Error | Description |
|---|---|
| Invalid key | The 2FA key is invalid |
Tips
- Generates a Time-based One-Time Password (TOTP) code
- Use for automated two-factor authentication logins