Skip to main content

How to Connect Microsoft Power Platform to Flowsite

Learn how to connect your Microsoft Power Platform account to Flowsite to enable data exchange between both systems

Written by Adriana De Souza

This guide explains how to connect Microsoft Power Platform to Flowsite using Power Query. This connection enables seamless data exchange between Dashpivot and Power Platform, allowing users to import and work with exported data inside Microsoft Dataflows.

Prerequisites

Before you begin make sure you have the following:

  • Plan: All Plan Types

  • Permission: Flowsite Contributor

  • Skills Required: Workflow automation

  • Device Type: Computer/Browser

  • Subscription: Flowsite, Dashpivot, Microsoft Power Platform

Step-by-Step Instructions

  1. Open Microsoft Power Platform.

  2. Go to Data flows (if you don't have Data flows added, click into ‘..more’ to pin it to your left navigation).

  3. Create a new Dataflow and give it a name.

  4. Select the Blank Query option.

  5. You will be brought to a script page. Overwrite the existing script with the following:

    let     
    // Define credentials
    username = "INSERT",
    password = "INSERT",

    // Encode the credentials for Basic Authentication
    authHeader = "Basic " & Binary.ToText(Text.ToBinary(username & ":" & password), BinaryEncoding.Base64),

    // Make the authenticated web request
    response = Web.Contents(
    "INSERT",
    [
    Headers = [
    Authorization = authHeader
    ] ] ),

    // Parse the CSV response
    csv = Csv.Document(response, [Delimiter = ",", Encoding = 65001, QuoteStyle = QuoteStyle.Csv]),

    // Promote headers if present in first row
    table = Table.PromoteHeaders(csv, [PromoteAllScalars = true])
    in
    table

  6. Once the code snippet is added, click Next.

  7. Once the new query is added into Power Query, click ‘Configure Connection’.

  8. In the Connect to data source popup, click the Connect button to finalise the connection.

  9. Once the connection is updated, the data should appear.

  10. Once the data appears, click Next.

  11. In the popup, select the destination for your data by choosing a pre-existing table or creating a new table.

  12. Map the columns from the Dashpivot export to the columns in the destination table, then click Publish.

  13. Once it is published, the new query should appear under Data flows.

Note:

  • You will need the URL, username, and password provided during the flow creation process.

  • If you are having trouble creating a dataflow, contact your system administrator to verify that you have the correct permissions.

Did this answer your question?