Integrate granular conversational reporting in FlowBuilder with Microsoft Power BI

In this guide, you will learn how to structure a conversation in FlowBuilder and forward the relevant data to Microsoft Power BI’s live-data webhook.

Why Microsoft Power BI?

Microsoft Power BI allows you to know your customers' choices within any omnichannel conversation, project these data points into Power BI for live dashboards, and access historical reporting.

Requirements

Step 1: Set up Microsoft Power BI

Make sure to sign up for a MessageBird accountarrow-up-right and a WhatsApp for Business accountarrow-up-right or one of the other channelsarrow-up-right. Done? Awesome! Time to sign up for Microsoft Power BIarrow-up-right

1. Sign up or log inarrow-up-right to Microsoft Power BI

2. Create a streaming datasetarrow-up-right:

  • Select ‘Historical data analysis’ to save data for later usage

  • Record streaming dataset URL

3. Create a Power BI Dashboardarrow-up-right

4. Add a tile and select real-time dataarrow-up-right and select your newly created streaming data set

5. For this example, choose Line Chart and make sure timestamp is selected under Axis:

6. Done! Confirm changes.

Step 2: Connect it all in the MessageBird Dashboard

1. Log in to your MessageBird Dashboardarrow-up-right and go to Flow Builderarrow-up-right.

2. Create three Webhook flowsarrow-up-right and name the flows Branch-1, Branch-2, and Branch-3 accordingly. Done? Awesome! Publish and record the webhook URLs of each flow.

3. Import the main flow herearrow-up-right.

4. For the first step in the flow, select your WhatsApp channel or your chosen channel from Part 1arrow-up-right.

5. Look for the step Replace 1 of 2 - Set URLs of Branch flows and add the flow URLs of the 3 flows created in step 2.

6. Look for the step Replace 1 of 2- Set FlowIDs and API Key and add the empty objects accordingly:

7. Publish your flow in the top-right corner of your screen, and you're good to go!

8. Done! Every time an end-user engages the main flow and chooses an option from the menu, it will be tallied and forwarded to Microsoft Power BI.

And that’s it! 🎉 Now you know how to integrate granular conversational reporting in FlowBuilder with Microsoft Power BI.

Last updated