Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Using the Connect action for Google packages

  • Updated: 9/21/2021
    • Automation 360 v.x
    • Build
    • RPA Workspace

Using the Connect action for Google packages

Use the Connect action to establish a connection with the Google server in order to use other actions from that same package to automate tasks. All of the fields in this action accept a credential from the Credential Vault, variable, or a user-input value.

Prerequisites

Configure the OAuth settings in the Google Cloud Platform and retrieve the credentials necessary to connect Automation Anywhere Enterprise with your Google G Suite applications.
  1. If you have not already done so, create a project.
  2. Enable the APIs for the Google G Suite applications you want to automate, such as the Google Drive API, Google Calendar API, and Google Sheets API.
  3. Do the steps in Setting up OAuth 2.0 to generate the Client ID and Secret.
    Note:
    • Select the Web application option.
    • Add this authorized redirect URI: http://localhost:8888/Callback
  4. Do these steps to set up user consent for the username that you will use to connect to the Automation Anywhere Enterprise.

Procedure

  1. In the Actions palette, double-click or drag the Connect action from the package you want to use.
  2. In the Username field, you can provide a valid username or select the credential or credential variable that contains your Google username. To enter a value, click Insecure string.
  3. If you are configuring the Connect action for the Google Calendar or Google Sheets package, enter a session name.
  4. In the Client Id field, select the credential or credential variable that contains the client ID. To enter a value, click Insecure string.
  5. In the Redirect URI field, enter http://localhost:8888/Callback
    Note: For the Google Sheets package, the Redirect URI attribute is not supported. Enter the fixed redirect URL directly in Google Cloud Platform: http://localhost:8888/Callback
  6. In the Client secret field, select the credential or credential variable that contains the access token. To enter a value, click Insecure string.
  7. For Google Sheets, you can specify the wait time (in minutes) in the Wait for action to complete (In minutes) field when performing actions such as Get, Set, or Delete. By default, the wait time is 10 minutes.
    If the Google sheet does not open within the time you specify, the task proceeds to execute the next set of actions.
    Note: When you use Connect action to connect to the Google server, the option Wait for action to complete (In minutes) is only supported in Google Sheets package.
  8. Click Save.

Next steps

The first time the bot runs, the Google login window will appear. You must select the Google account and approve the requested access permissions.

Use other the actions from the same Google package to automate tasks. To use actions from another Google packages, establish a connection using the Connect action from that package.

Send Feedback