# Trigger Microsoft Power Automate Flows

**Cognigy Support**  
January 27, 2022

## Challenge

I want to trigger a Flow in Microsoft Power Automate via API.

## Solution

You can do so simply by using our Microsoft Power Automate Extension.

More information regarding this extension can be found on github.

[https://github.com/Cognigy/Extensions/tree/master/extensions/microsoft-powerautomate](https://github.com/Cognigy/Extensions/tree/master/extensions/microsoft-powerautomate)

Please note that Microsoft sometimes adds URL-encoded characters into the trigger URL. You need to replace these with proper characters first.

Incorrect URL:

```
https://prod-111.westeurope.logic.azure.com:443/workflows/caf35/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=78mTWa
```

Correct URL (replaced %2F with forward slash):

```
https://prod-111.westeurope.logic.azure.com:443/workflows/caf35/triggers/manual/paths/invoke?api-version=2016-06-01&sp=/triggers/manual/run&sv=1.0&sig=78mTWa
```

SHORTCODE - YYYMMDD

### QnA

- [Exchanging data with Microsoft SharePoint](https://support.cognigy.com/hc/en-us/articles/360017535580-Exchanging-data-with-Microsoft-SharePoint)
- [Exchanging data with Microsoft SQL Server (MSSQL)](https://support.cognigy.com/hc/en-us/articles/360017591799-Exchanging-data-with-Microsoft-SQL-Server-MSSQL)
- [Using CognigyScript in Twilio Twiml XML](https://support.cognigy.com/hc/en-us/articles/360017594519-Using-CognigyScript-in-Twilio-Twiml-XML)
- [How can I adjust the style of the Webchat Widget](https://support.cognigy.com/hc/en-us/articles/360017744619-How-can-I-adjust-the-style-of-the-Webchat-Widget)
- [Accessing Information about the Cognigy.AI API](https://support.cognigy.com/hc/en-us/articles/360017847180-Accessing-Information-about-the-Cognigy-AI-API)
- [Trigger Microsoft Power Automate Flows](https://support.cognigy.com/hc/en-us/articles/360018426159-Trigger-Microsoft-Power-Automate-Flows)
- [Handling HTTP Request Errors](https://support.cognigy.com/hc/en-us/articles/360018593139-Handling-HTTP-Request-Errors)
- [How to add a member to your virtual agent](https://support.cognigy.com/hc/en-us/articles/360018858279-How-to-add-a-member-to-your-virtual-agent)
- [Add a new user to your Cognigy.AI organization](https://support.cognigy.com/hc/en-us/articles/360018858559-Add-a-new-user-to-your-Cognigy-AI-organization)
- [Identifying a Unique Endpoint via analytics](https://support.cognigy.com/hc/en-us/articles/360020000099-Identifying-a-Unique-Endpoint-via-analytics)

[See more](https://support.cognigy.com/hc/en-us/sections/360004930159-QnA)

#### Table of contents

Challenge

- [Challenge](https://support.cognigy.com/hc/en-us/articles/360018426159-Trigger-Microsoft-Power-Automate-Flows#challenge-0-0)
- [Solution](https://support.cognigy.com/hc/en-us/articles/360018426159-Trigger-Microsoft-Power-Automate-Flows#solution-0-1)
