autodesk-forgepower-automateautodesk-designautomationautodesk-construction-cloud

Scheduled auto-run an add-in using Design Automation API


Is it possible to update a Revit Cloud Model on schedule (for example, every day after 5 PM) through Design Automation API and Power Automate? I understand that for 2022 and later versions, a cloud model can be accessed, and an add-in can be run to update a model using Design Automation API. However, could we run this on a schedule with Power Automate without the user having to manually trigger the app? Would 3-legged authentication allow this?


Solution

  • In theory it should all work.

    You could create a Custom Connector in Power Automate that uses 3-legged authentication, since 3-legged tokens are allowed by the POST /workitems endpoint.

    Here is info on how you could then interact with the Revit Cloud Model from the work item: https://aps.autodesk.com/en/docs/design-automation/v3/developers_guide/revit_specific/revit-cloud-model-integration/