Skip to content

Connecting Power Automate to external data sources

Power Automate can act as a bridge between different applications and services. For Tallyfy users, this means you can connect your Tallyfy processes with external data sources, either to feed information into Tallyfy or to extract data from Tallyfy for use elsewhere, enhancing your core Tallyfy workflows.

This article focuses on common external data scenarios: interacting with databases (like SQL Server) and processing responses from Microsoft Forms to support Tallyfy processes.

Remember, Tallyfy itself is a powerful data source and destination. Through its Open API, webhooks, and the dedicated Tallyfy Power Automate connector, you have multiple avenues to directly integrate Tallyfy data with your flows.

Working with databases (e.g., SQL Server) to support Tallyfy

Databases often store critical business information. Connecting them to Tallyfy via Power Automate can enhance your data management strategy.

  • Why connect Tallyfy to a database via Power Automate?

    • Log Tallyfy data for reporting: Automatically log details of completed Tallyfy processes or specific task outcomes into a SQL database for advanced reporting. This can supplement Tallyfy Analytics.
    • Archive Tallyfy details: Systematically archive Tallyfy task information, including form field data, into a data warehouse.
    • Trigger Tallyfy from database events: When a new record is added to a database (e.g., a new customer in a CRM’s database), a Power Automate flow can trigger and launch a Tallyfy “New Customer Onboarding” procedure template.
  • SQL Server connector in Power Automate: This is a common connector for database interactions.

    • Triggers: When an item is created (V2), When an item is modified (V2).
    • Actions: Get rows (V2), Insert row (V2), Update row (V2), Delete row (V2), Execute SQL query (V2).
  • Setting up a connection: Provide connection details like server name, database name, and authentication.

  • Example: logging Tallyfy task completion to SQL

  1. Trigger: Tallyfy - “When a task is completed”.

  2. Action: Tallyfy - “Get task details”.

    • Use the Task ID from the trigger to fetch all data for the completed Tallyfy task, including custom form fields.
  3. Action: SQL Server - “Insert row (V2)”.

    • Establish or select your SQL Server connection.
    • Server name, Database name, Table name: Select the appropriate values for your target database and table.
    • Row: The action will display fields corresponding to your SQL table’s columns. Map dynamic content from the “Get task details” step (e.g., Task Name, Completion Date, Assigned User Email, specific form field values like outputs('Get_task_details')?['body/forms/YourFormFieldName/value']) to these columns.

Processing Microsoft Forms responses to initiate Tallyfy processes

Microsoft Forms can create surveys and polls. Integrating it with Tallyfy via Power Automate can streamline data collection for your Tallyfy processes.

  • Why use Microsoft Forms with Tallyfy via Power Automate?

    • User-friendly Tallyfy process initiation: Use a simple Microsoft Form for users to submit requests that kick off a Tallyfy process (e.g., an IT support request form that launches a Tallyfy support procedure template).
    • Detailed data collection for Tallyfy: Collect information through a Form and use Power Automate to populate multiple form fields in a Tallyfy task or launch form.
    • Feedback loop for Tallyfy: Gather feedback about a completed Tallyfy process using a Form, and use Power Automate to link this feedback back to the specific Tallyfy process instance.
  • Microsoft Forms connector: (See understanding Power Automate basics for general connector information)

    • Trigger: When a new response is submitted.
    • Action: Get response details.
  • Example: launch Tallyfy Process from Form submission

  1. Create your Microsoft Form.

    • Design a form (e.g., “New Project Request Form”) with fields like Project Name, Client, Project Description, and Requested Deadline.
  2. Trigger: Forms - “When a new response is submitted”.

    • In Power Automate, create an automated flow.
    • Select this trigger and choose your newly created form from the Form Id dropdown.
  3. Action: Forms - “Get response details”.

    • Form Id: Select the same form again.
    • Response Id: Use the Response Id dynamic content from the trigger step.
  4. Action: Tallyfy - “Launch process”.

    • Select your Tallyfy “New Project Setup” procedure template.
    • Run Name: Create a descriptive name using Form data, e.g., Project: [Project Name from Forms output].
    • Launch Form Fields: Map the dynamic content outputs from the “Get response details” step to the corresponding launch form fields in your Tallyfy template.

Gathering user input in manual flows for Tallyfy (recap)

As discussed in the triggering flows manually (button flows) article, instant flows can accept user input at runtime.

This directly relates to external data because this input is provided by the user. This data can then be passed to Tallyfy (e.g., to pre-fill a Tallyfy task or launch a Tallyfy process) or sent to other external systems.

Example: A button flow named “Log Urgent Client Issue for Tallyfy” could prompt for “Client Name” and “Issue Description.” This information then creates a high-priority task in a Tallyfy support process.

Tips for data integration with Tallyfy

  • Data type compatibility: Ensure data types are compatible between Tallyfy and external systems. Use Power Automate expressions (e.g., int(), string()) for conversions.
  • Unique Tallyfy identifiers: When logging Tallyfy data to external systems, always include unique Tallyfy identifiers like Process ID or Task ID for easier correlation.
  • Inspect with “Compose”: Use the “Compose” Data Operation action (see working with data operations and variables) to view data payloads during development of your Tallyfy integrations.
  • Tallyfy Open API as an alternative: For complex data interactions with Tallyfy not covered by the connector, use Power Automate’s HTTP action with Tallyfy’s comprehensive Open API.

Middleware > Power Automate

Enhance Tallyfy workflows with Power Automate for data synchronization, automated triggers, and system connectivity.