Use the GetTOTP component

task australia Updated Sep 10, 2026 2 min read use-utilities-token-getoktatoken.md
Raw file servicenow.com

Generate the Time-based One-time Password (TOTP) to access multi-factor authentication (MFA)-enabled applications in an automation by using the GetTOTP component in the RPA Desktop Design Studio application.

Before you begin

Role required: sn_rpa_fdn.rpa_release_manager or sn_rpa_fdn.rpa_admin

About this task

The TOTP record is created in RPA Hub and the record is associated to the robot credential. The GetTOTP component in RPA Desktop Design Studio has an AuthenticatorName parameter. The authenticator name that you provide from the component must be present in the TOTP record. If the authenticator is present, the TOTP is generated.

Procedure

  1. Navigate to Utilities > Token from the Toolbox pane in the Design tab.

  2. Drag the GetTOTP component to the Design surface.

  3. In the AuthenticatorName field of the component, enter the name of the authenticator.

    The name that you enter must match with the value in the Authenticator field of the TOTP record.

  4. To test the component, right-click the component and select Run From Here.

    You can also run the automation by selecting Run from the Design tab.

    When the component is successfully run, the output ports are populated in the connector as per the following table.

    Port name Port type Port description
    TOTP Data Out One-time password that is generated at that point of execution.
    ValidFor Data Out Time in seconds until the password is valid.
  5. To test the component, right-click the component and select Run From Here.

    You can also run the automation by selecting Run from the Design tab.

Parent Topic:Token

Search documentation
Search document titles and file paths on the australia branch