Table of contents
Official Content
  • This documentation is valid for:

Once you have created your first Flow in Globant Enterprise AI, following the steps in How to create a Flow, you may be interested in exposing it in various communication and management platforms. Here is a step-by-step guide on how to expose a Flow through Teams.

Step 1: Create a Teams bot

Go to Teams developer portal.

There, click on Tools, select the Create your first bot button and fill in the bot name.

Capturadepantalla2024-09-24114206_png

Step 2: Configure end point

Once you have created the bot, go back to the main Tools screen and select the newly created bot; in this case, Documentation Assistant.

Capturadepantalla2024-09-24114341_png

When you click on it, a window will open with a menu on the left side containing the following options:

Capturadepantalla2024-09-24114500_png

Configure, Channels, Meeting event subscriptions and Client secrets.

In the Configure option, fill in the Endpoint address field with the following URL: https://botbuilder.fluentlab.ai/fluentlab/api/v1/webhook/teams/<bot-id>. In this URL, the <bot-id> segment must be replaced with the ID of your Flow.

To get the <bot-id>, go to the environment where you are building the flow. In the Side Navigation Menu, click on the Overview option within the Overview section. There, you will see a summary of the Flow containing the <bot-id> along with other details, such as the Flow's name and purpose.

The <bot-id> is the alphanumeric identifier that appears below the name of your Flow.

Capturadepantalla2024-09-24114736_png

Step 3: Configure secret

Next, click on Client secrets and select Add a client secret for your bot.

Capturadepantalla2024-09-24114835_png

This will open a pop-up dialog showing the message New client secret generated. Make sure to save the New client secret generated, as you will only be able to view it once. This client secret will be used later in the Flow configuration.

Capturadepantalla2024-09-24114939_png

Step 4: Create a Teams app

Go to the Apps section of the menu and click on Create your first app. Next, enter the name of your app.

Capturadepantalla2024-09-24115106_png

Once you have created your app, a window will automatically open for you to configure the basic app information. You will need to complete the following fields:
BasicInformation_2024924145647_1_png

App names:

  • Short name: Short name of the app.
  • Full name: Full name of the app.

Descriptions:

  • Short description: Short description of the app.
  • Long description: Detailed description of the app.

Developer information:

  • Developer or company name: Developer or company name.
  • URL: Website of the developer or company.

App URLs:

  • Privacy policy: URL of the privacy policy.
  • Terms of use: URL of the terms of use.

Application (client) ID:

  • Bot ID: It is automatically generated when the bot is created. To view the ID, go to Tools > Bot Management.
    Capturadepantalla2024-09-24115902_png

Step 5: Configure app features

Go to Configure > App features in the left menu and select Bot.

Capturadepantalla2024-09-24120021_png

In the window that opens, select the bot you created in "Step 1: Create a Teams bot" from the drop-down menu titled Select an existing bot. Next, choose "Upload and download files" below What can your bot do? 
Then choose "Personal" below Select the scopes where people can use your bot and click on the "Save" button.

How to expose a Flow through Teams-ConfigureAppFeatures

Step 6: Configure as multi-tenant

Navigate to the following URL: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Authentication/appId/<bot-id>/isMSAApp/, replacing <bot-id> with the bot ID.

Click on "Supported account types" and on the next screen select "Multi-tenant". Finally, click on "Save".

Step 7: Flow configuration

Go to the Flow you want to expose. Next, go to the Side Navigation Menu > Configuration > Integrations and click on the Add Integration button.

Capturadepantalla2024-09-24120335_png

Select "Teams" from the drop-down menu and fill in the required data:

  • Client Id: this is the ID of the bot created in Teams.
  • Client secret: is the secret of the client generated in "Step 3: Configure secret".

Capturadepantalla2024-09-24120432_png

Step 8: Test the bot in teams

To test your application in Teams, first go to the Teams developer portal and then to the Apps section. Select your app and click on the Publish button in the upper right corner.

Capturadepantalla2024-09-24120633_png

You will have several options available; in this case, select "Download the app package" to download your application package.

Next, open the Microsoft Teams application, go to "Apps" and select "Manage your apps". Here, proceed to "Upload an app" and upload the package you downloaded.

Capturadepantalla2024-09-24120726_png

See Also

Distribute your Microsoft Teams app

Last update: March 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant