Hi @Levis Kerzuah
Thank you for posting your question in Microsoft Q&A.
Based on the information you described, I understand that you have an integration between your ERP system and OneDrive for Business using Power Automate. Currently, the automation successfully creates a folder when a new transaction item is created, but it has stopped generating the link to that folder and attaching it to the ERP interface. You are looking for a way to manually add these links so users can continue uploading files while you fix the automation.
However, I need a bit more detail about your specific environment and the desired result to give you the best advice. For example, are you setting up a central SharePoint site with multiple libraries, or is this strictly within OneDrive? Also, do you want to share links with specific users or the whole organization?
To assist you immediately, please consider the following two scenarios.
Scenario 1: Manual Workaround (How to manually add the link)
If you want to manually add the links to the ERP so users can upload documents immediately, you can follow these steps:
-Go to your OneDrive for Business or the SharePoint document library where the folders are created > Locate and open the specific folder that was created for the transaction > Click the Share button (or the icon that looks like an arrow jumping out of a box) > In the sharing settings, ensure the scope is set to "People in your organization" (this ensures any employee with the link can access it) > Click Copy Link > Go to your ERP interface, find the specific transaction record, and paste this URL into the field where the ERP reads the link (usually a column named FolderLink).
Scenario 2: Troubleshooting the Automation
Regarding the automation failure, if you are using the "Create sharing link for a file or folder" action in Power Automate (as typically used in these flows), there might be an error occurring.
Based on your description, I understand that for every item created in the ERP, a corresponding folder is generated simultaneously. It is possible that the flow is encountering a duplication issue (trying to create a folder that already exists) or failing at the specific step where it tries to write the link back to the ERP. Could you please describe your flow in more detail?
If possible, please provide a screenshot of your flow setup and any error messages you see. This will help us identify exactly why the link isn't being attached.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.