This article will show you how to use Microsoft Teams to validate a request in WorkflowGen.
Click the link to watch the video demonstration: English / Français
Prerequisites
- WorkflowGen 7.17 or later
- Administrator access to Microsoft Teams
- WorkflowGen Hooks connector
- Microsoft 365 Plan with Power Automate
Power Automate configuration
Step 1: Create a new connection to Teams
-
Go to flow.microsoft.com. From the left menu, click Data, then click Connections.
-
Click New connection.
-
Search for Microsoft Teams.
-
Click Create and connect with your Microsoft account.
Step 2: Create a new connection to WorkflowGen
-
Go to flow.microsoft.com. From the left menu, click Data, then click Connections.
-
Click New connection.
-
Search for your custom WorkflowGen connector.
-
Set the hooks token created on your WorkflowGen instance.
Step 3: Create the Purchase request - Teams flow
-
Go to flow.microsoft.com. From the left menu, click My flows, then click Import.
-
Download the
PurchaseRequest-Teams.zip
package available here and import it. -
For each related resource, click Select during import.
-
Set the right connection and then click Import.
-
Go back to My flow and refresh the page. Your imported flow should appear.
-
Select the created flow, then click Edit.
-
Click on the first action, When a HTTP request is received, and copy the HTTP POST URL, which you’ll need to configure WorkflowGen.
WorkflowGen configuration
-
In the WorkflowGen Administration Module, import the PURCHASE_REQUEST_TEAMS process.
-
In the Workflow Designer, click the
SEND_ACTION_TO_TEAMS
action. -
On the Parameters tab in the Edit action panel, click the
APP_URL
parameter. -
Add the URL that you copied from Power Automate earlier as a text value to send.
-
The manager to notify is predefined, so you need to change the user in the
user
parameter and set your email address.