Creating Document Folders in Document Libraries Created by KanBo with Power Automate

This post is also available in: Deutsch

In order to create new document folders in document libraries with the integration of KanBo and Power Automate:

  1. Go to https://emea.flow.microsoft.com and create a new flow.
  2. In “new step”, go to Custom.
  3. Select your KanBo connector
KanBo-and-Power-Automate-integration-documents-1
  1. Pick Get Space Default Document Source URL.
  2. Choose the space (or use the space ID) that the Document Folder should be added to.
KanBo-and-Power-Automate-integration-documents-2
  1. Next, look for the Get all lists and libriaries operation and add it to the flow.
KanBo-and-Power-Automate-integration-documents-3
  1. In Site Address choose Enter Custom Value.
KanBo-and-Power-Automate-integration-documents-4
  1. Choose the Site URL variable.
KanBo-and-Power-Automate-integration-documents-5
KanBo-and-Power-Automate-integration-documents-6
  1. Go to Control
KanBo-and-Power-Automate-integration-documents-7
  1. Add a Condition branch.
KanBo-and-Power-Automate-integration-documents-8
  1. For the condition, choose the DisplayName value.
KanBo-and-Power-Automate-integration-documents-9

After that, the whole conditional branch will be put into an Apply to each Action.

KanBo-and-Power-Automate-integration-documents-10
  1. In the second Choose a value, type in “Documents”.

The final Conditional branch should look like this:

KanBo-and-Power-Automate-integration-documents-11
  1. In the If yes branch, add the Create new folder operation.
KanBo-and-Power-Automate-integration-documents-12
  1. In Site address, use the same “Site Url” variable You used in step 7.
KanBo-and-Power-Automate-integration-documents-13
  1. In List or Library choose Name.
  1. In the folder path, type the Name of the folder (if needed, type the path in which the folder should be created).

The final action should look like this:

KanBo-and-Power-Automate-integration-documents-14
  1. After that, save the and run the flow.

Before:

KanBo-and-Power-Automate-integration-documents-15

After:

KanBo-and-Power-Automate-integration-documents-16

Was this article helpful?

Please, contact us if you have any additional questions.