Code Monkey home page Code Monkey logo

aps-powerautomate-connector's Introduction

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.

aps-powerautomate-connector's People

Contributors

petrbroz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

aps-powerautomate-connector's Issues

Error connecting: Access denied

Hi @petrbroz
following the steps you provided, I'm currently stuck with the following error:
{"id":"0f88a6d0-c1b9-4816-8de9-e4de8a74e6e2","status":403,"code":"FORBIDDEN_ERROR","detail":["Access denied for the scope urn:adsk.wipemea:fs.folder:co.syITb2-PQ5ajPczAXMLrVQ that you are trying to create hook on"]}

these are the inputs I provided for the custom connector:
image

Let me know if you can help me fix this.

KR,
Lucian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.