Connect action in the Box package

Use the Connect action to authenticate to Box by using a Control Room managed OAuth2 connection and create a reusable session for subsequent actions.

Settings

  • In the OAuth connection field, click Pick to choose from available Control Room-managed OAuth2 credentials.​
    Note: Ensure the OAuth2 connection is valid and active in the Control Room.​
  • Click the Provider type drop-down menu to select an available or custom provider.

    For information in creating a custom provider, see Configuración de la conexión OAuth 2.0 en la Control Room.

  • In the Connection name field, select the specific OAuth connection object Control Room admin for Microsoft Teams.

    This field is disabled until a Provider type is selected.

  • In the Token type field, select one of the following options depending on the token that will be used at run time.
    • Shared: for a global token.

      An access token of shared type is created when a connection is established to the Control Room. This access token is stored as a credential. When you run your automation, the access token is referenced in the automation using the enterprise application provider type set up in the Control Room.

    • User-specific: for a token that is specific to a user.
  • In the Box session field, use one of the following tabs for creating a session:
    • Local session: to specify a session name that can be used only in the current bot.
    • Global session: to specify a session name that can be used across multiple bots, such as parent bots, child bots, and all other child bots of the parent bot.

      Recommendation: The parent and child bots should have the same package version.

    • Variable: to specify a Box session variable.