aps-powerautomate-connector
Experimental Microsoft Power Automate connector for Autodesk Platform Services.
Usage
Importing the Connector into Power Automate
- While on https://make.powerautomate.com, go to Custom connectors
- Tip: if you can't see this option in the left sidebar, click ... More, then Discover all, and select Custom connectors from there
- In the top-right corner, expand the New custom connector menu, and select Import an OpenAPI from URL
- Give your connector some name (you'll need this name later), and import the following URL: https://petrbroz.github.io/aps-powerautomate-connector/aps-powerautomate-connector.yaml
- Adjust the connector icon and color scheme if needed
- Go to the 2. Security section
- Set your application's client ID and secret
- Copy the Token URL into Refresh URL
- The refresh URL is specified in the OpenAPI spec but for some reason the Power Automate import ignores it...
- Finish the creation of your connector using the Create connector button in the top-right corner
- While still on the 2. Security section, copy the Redirect URL and add it to your application's callbacks on https://aps.autodesk.com/myapps
Using the Connector in your Power Automate flow
- When adding a new action or trigger, open the Runtime dropdown in the left sidebar, and check Custom
- Find the connector based on the name you specified during the OpenAPI import
- You will see a couple of actions and triggers that you can now start using in your flow:
Type |
Name |
Description |
trigger |
When a new version of a design is uploaded |
Will be triggered whenever a new design is uploaded to a specific folder in ACC. |
action |
List issue categories and types |
Will return all possible issue subtypes (a subtype ID is a required input when creating new issues). |
action |
Create new issue |
Will create a new issue in your ACC project. |
Development
- Clone this repository
- Install development dependencies:
yarn install
- Update the OpenAPI specs as needed
- Run
yarn run bundle
to bundle all the specs into a single file (build/aps-powerautomate-connector.yaml)
When working on the OpenAPI specs, make sure to use OpenAPI extensions related to Power Automate custom connectors: https://learn.microsoft.com/en-us/connectors/custom-connectors/openapi-extensions.