In this Use Case, we want to collect the IVR choices of callers and evaluate them in the Power BI reporting.
PRECONDITIONS
You require service owner rights.
- A Nimbus service is set up and ready to receive calls.
- The Nimbus Power Automate Connector is installed and preconditions are met.
- The Nimbus Power BI report is opened and connected to OData Feed in Power BI Desktop.
- An Azure table storage or equal storage is set up. 💡Some expertise in database queries and tables is helpful to better understand this Use Case.
INC Icon Legend Accordion
Show Icon Legend
💡 = A hint to signal learnings, improvements or useful information in context. | 🔍 = Info points out essential notes or related page in context. |
☝ = Notifies you about fallacies and tricky parts that help avoid problems. | 🤔 = Asks and answers common questions and troubleshooting points. |
❌ = Warns you of actions with irreversible / data-destructive consequence. | ✅ = Intructs you to perform a certain (prerequired) action to complete a related step. |
Configuration in Nimbus
Set-up the Workflow in Nimbus
- In the service Workflow, open the list of Workflow Activities.
- Add “Input Customer” and route all the outputs to "Save to Parameter" before routing further in the workflow.
💡 In our Use Case we ask for the language and route accordingly.
Prepare your Azure Storage
- Log into your Azure Storage management.
- Create a table called "IVRChoices" with PartitionKey = bySessionId.
- 🔍 Note: If your service allows internal calls you need to add another option for internal UPN's. You would also need to check on the caller origin (UPN or PSTN) in the power automate flow. We omit this here for simplicity.
- ✅ Remember to keep the URL to your Azure Storage ready for later.
Create the Power Automate flow
Here is an overview of the flow:
Flow Overview
- Visit the Flow landing page: https://make.powerautomate.com/
- Go to "My Flows".
- Click "+ New Flow" and create a blank "Automated Cloud Flow".
- Give your new flow a speaking name, e.g., "Save IVRChoices".
- In the text box underneath, search for “Nimbus” and choose the “When a task changes state” trigger.
- Click the Create button.
- Select the “When a task changes state” trigger.
- In the “Services Item” dropdown select the Nimbus service's UPN.
💡 You can also get the data of multiple services at this point, but for the sake of simplicity we keep it to one service in this example. - In the “Task Events” dropdown select “Parameter Updated”.
- In the “Advanced parameters” dropdown enable “Modalities” and "Directions".
- In the “Modalities Item” dropdown select “Audio”.
- In the “Directions Item” dropdown select “Inbound”.
- Navigate to the “Settings” page of the trigger and add the following expression as a “Trigger condition” to trigger the flow only in case the “IVRChoice” parameter is updated:
@equals(triggerBody()?['UpdatedParameterName'],'IVRChoice')
- In the editing area click to add a new action.
- Search for "Azure table storage get entity" and select “Insert Entity (V2)” under the “Azure Table Storage” section.
- Configure the action as follows:
Field | Value to fill in / 🌟 = Nimbus dynamic content | |
---|---|---|
Storage account name or table endpoint | Select an existing connection setting from the dropdown list | |
Table | Select IVRChoices from the dropdown list | |
Entity |
|
💡 In case no connection exists yet for the Azure Table Storage, Power Automate will ask you first to connect. To get more information about the options, please have a look at the Azure Table Storage - Connectors article.
Add the Azure Table to the Nimbus Power BI Report
Now you only need to add the Azure table as an additional dataset to your Power BI report file.
Description |
Screenshot in Power BI |
---|---|
|
|
Enter your Azure Storage URL and select the table. | |
Once connected you can edit the query on your table to see the full content. |
|
Add a relationship between ServiceSessions and the IVR table. 🔍 RowKey holds the Session Id. |
|
Now you can use the table in the BI report. 💡 In this example we added the recorded choices to the ServiceOverview tab of the report.
💡 Tip: Any other Parameters that have a changed default will also be shown there, so you can expand this Use Case with any other data you want to retrieve. |
By the way: If you are using Nimbus Assistant, Agents can see the choice parameter in the Info tab. |