Power Automate > Managing and monitoring Power Automate flows
Managing files with Power Automate
Many Tallyfy processes involve creating, sharing, and archiving files. Power Automate offers tools to automate these file management tasks, helping you keep documents related to your Tallyfy workflows organized and integrated with other systems.
Power Automate supports various file storage services. For Tallyfy users, the most relevant connectors are typically:
- SharePoint: Ideal for team collaboration and document libraries that can interact with Tallyfy processes.
- OneDrive for Business: Suitable for individual user storage that might need to be synced with Tallyfy-related locations.
Other connectors (Dropbox, Google Drive, FTP) are available. Core file automation concepts remain similar.
Key triggers for file automation relevant to Tallyfy often include:
When a file is created (properties only)
(e.g., in a SharePoint library where Tallyfy-related documents are stored)When a file is created or modified (properties only)
When a file is created in a folder
Common actions you’ll use to manage files related to Tallyfy include:
Create file
Copy file
Move file
Get file content
Get file properties
Delete file
Automating file management can enhance your Tallyfy processes:
- Archiving Tallyfy-generated documents: When a Tallyfy document template is finalized or a Tallyfy process generates an output file (e.g., a user uploads a report in a Tallyfy task form field), Power Automate can act. If a Tallyfy task completion (with an uploaded file) triggers a webhook, Power Automate can move these files to an archive in SharePoint.
- Attaching files to Tallyfy tasks automatically: A new contract template saved in SharePoint can trigger Power Automate to create a “Review Contract” task in a Tallyfy “Legal Review” process, attaching the contract.
- Triggering Tallyfy processes from file events: A sales proposal dropped into a monitored OneDrive folder can trigger Power Automate to launch a Tallyfy “Sales Proposal Review” procedure template. The flow can pass the file link into the Tallyfy launch form.
Let’s create a flow: A Tallyfy “Project Completion” process has a final task where a “Project Closure Report.pdf” is uploaded to a form field. Upon task completion, Power Automate archives this report to SharePoint.
-
Set up the Tallyfy trigger. In Power Automate, create an Automated cloud flow (see understanding Power Automate basics). Trigger:
Tallyfy
- When a task is completed.- Configure the Tallyfy connection.
- Blueprint ID (Optional): Select your “Project Completion” Tallyfy procedure template.
- Step Position (Optional): Specify the task step if known.
-
Get Tallyfy task details (including the file). Add step:
Tallyfy
- Get task details.- Task ID: Use
Task ID
dynamic content from the trigger. This retrieves Tallyfy form field data, including file information.
- Task ID: Use
-
Initialize a variable to store file content (optional but good practice). Files from Tallyfy form fields might be base64 encoded. Explicitly decoding can be useful. See working with data operations and variables for more on variables and expressions. Action: Initialize variable.
- Name:
FileContentDecoded
- Type:
String
- Value: Use an expression to decode your Tallyfy file field (e.g., if your Tallyfy file field is
ProjectClosureReportFile
):base64ToString(outputs('Get_task_details')?['body/forms/ProjectClosureReportFile/contentBytes'])
Alternatively, if the Tallyfy connector provides directly usable file content for SharePoint (e.g.,ProjectClosureReportFile_Content
), you might use that in the next step and skip this variable initialization.
- Name:
-
Create the file in SharePoint. Add step:
SharePoint
- Create file.- Site Address: Select your SharePoint site.
- Folder Path: Select the library/folder (e.g.,
/Project Archives/Completed Reports/
). You can use expressions for dynamic subfolders:/Project Archives/Completed Reports/@{formatDateTime(utcNow(),'yyyy')}/@{formatDateTime(utcNow(),'MM')}
. - File Name: Use dynamic content from Tallyfy’s Get task details. Ensure a unique name, e.g.,
Project Report - [Process Name from Tallyfy] - [Task Name from Tallyfy].pdf
. If the Tallyfy file field provides a name (e.g.,ProjectClosureReportFile_Name
), use that. - File Content: Select the dynamic content for the file. If you used the variable, select that. Otherwise, use the Tallyfy file content output from Get task details (e.g.,
ProjectClosureReportFile_Content
).
-
(Optional) Notify the team. Action: Post a message in a chat or channel (Microsoft Teams connector).
- Post to a project team channel: “Project Closure Report for
[Process Name from Tallyfy Get task details]
has been archived.”
- Post to a project team channel: “Project Closure Report for
-
Save and test your flow. Complete the Tallyfy task with a file upload. Verify archiving and notification. (See managing and monitoring flows for testing tips).
- Clear folder structures: Organize SharePoint/OneDrive folders for easier Power Automate configuration for Tallyfy files.
- Permissions management: Ensure the Power Automate connection account has needed permissions for Tallyfy-related file operations.
- File naming conventions: Use consistent naming. Include unique Tallyfy process or task IDs (e.g.,
ProcessID_ReportName.pdf
) for traceability. - Leverage Tallyfy’s capabilities: For robust integrations involving files with Tallyfy, explore Tallyfy’s Open API and webhooks. These offer more control than folder monitoring alone.
- Error handling: Add conditions or error handling in your flow for missing Tallyfy files or incorrect formats.
Power Automate > Working with email automation in Power Automate
Power Automate > Understanding Power Automate basics
- 2025 Tallyfy, Inc.
- Privacy Policy
- Terms of Use
- Report Issue
- Trademarks