Skip to content

Power Platform Integraton

Power Automate

Document Archive integrates with Power Automate to enhance it's capabilities.

How to add a file in Document Archive with Power Automate

Document Archive comes with a integration to create a Document Archive record in Business Central from a Power Automate.

The following example describes how you can create a file in Document Archive when a record is uploaded to SharePoint, but other integrations are of course possible.

Note

Only the action to upload a file to Document Archive is documented. We refer to the general Power Automate documentation for the complete setup of your Power Automate

  • Add a new action to your Power Automate
  • Open the actions for the connector Dynamics 365 Business Central
  • Add the action: Create Record (V3)
  • Enter the following parameters
Parameter Description Example
Environment Your environment name APPORUNIX-BETATESTING
Company You company name CRONUS USA, Inc.
API category the api category of Document Archive apportunix/documentarchive/v1.0
Table name The api for the record creation AddFiles
  • Enter the following Advanced parameters
Parameter Description Example
Source Table ID The table ID in Business Central (integer) 18
Source System ID The system ID of the record to upload the file to (GUID) dc5b03d8-b3d3-ee11-904f-6045bdac9aed
File Name The filename and extension of the file (String) Hello.txt
Category Code The Document Archive Category to use for the file upload (String) DEFAULT
FileAsBase 64 The file content of the file to upload (Base64) JVBERi0xLjcKJfv8/f4KODcgMCBvYmo...

Important

The permissions in Business Central and the Document Archive Permission Groups are respected during the file upload

Power Automate - Add files


Last update: March 7, 2025