If you signed up before Aug 9, 2021, please click Previous plans to view your applicable plans.
Overview
The Power BI Connector app integrates with Freshdesk, providing admins with the capability to export reporting data to a streaming dataset in Power BI.
The app includes three options:
- Ability to export data at a daily frequency
- Ability to export data at a weekly frequency
- Ability to export data at a monthly frequency
The app also provides flexibility to control which analytics export needs to be extracted.
Prerequisites
Create Streaming Datasets
Before installing the PowerBI connector, it's important to create a streaming dataset within PowerBI. This dataset will receive data pushed to it via API, essential for continuously updating data from the report extract.
Steps to create streaming datasets:
- Click Create from the left menu and choose Streaming Dataset.
- Choose API as an option inside the streaming dataset.
- Give a name to the Streaming Dataset.
- Create all the fields under PowerBi and turn on the Historical Data Analysis tab.
- Do this for all the reports you want to export to PowerBI.
Create PowerBI Embed App
Before installing the app, you need to create a Power BI embedded app to obtain the necessary credentials for connecting Freshdesk and Power BI.
Steps to Create PowerBI Embed App:
- To set up your environment, navigate to Power BI Embedded Analytics setup tool > Embed for your organization.
- Authenticate and sign in with your PowerBI account.
- Name your app and fill in the details.
- For the redirect URL, choose the custom URL option and enter the specified URL - https://www.workato.com/oauth/callback. If you are in the EU data center, use this URL - https://app.eu.workato.com/oauth/callback
- Choose Select All under API access.
- Click Register to complete the app registration.
- You can create a new workspace if needed or click on skip to continue with an existing workspace.
- Click Skip to complete.
Make note of the presented Application ID and Application Secret, as they will be needed in the installation process.
Create Data Export API
The final prerequisite is to create a data export schedule and get the API.
Steps to Create Data Export Schedule
- Go to Analytics > Settings.
- Choose Data Export tab and click Create Report.
- Name the export and choose the module.
- Select the schedule and time to trigger the export. Ensure that the time and time zone are accurate.
- Choose the fields to export and select to receive as API.
- Make note of the URL, as this will be needed in later steps.
- Click Schedule to create the export schedule.
Installation
Installing the Powerbi App in Freshdesk
To install the Powerbi Connector App on Freshdesk,
- Navigate to Admin > Support Operations > Apps > Powerbi Connector App.
- Click Install and provide your Freshdesk credentials.
Connect your Freshdesk Account
The details listed below can be found on the profile page.
- Provide your Freshdesk domain and provide the URL in the format yourcompany.freshdesk.com
- Provide the Freshdesk API Key.
- Click Install. Once the app installation is complete, navigate to the full-page app.
Configuring Data Sync
To synchronize data between Powerbi and Freshdesk,
- Go to the Data sync tab in the full-page app (requires Connector apps add-on; see pricing section).
- Connect the Powerbi account by providing the Application ID and Application Secret.
- Choose Auth type as Oauth2 Authorization code.
- Provide the ID and secret in the Client Id and Client secret fields.
- Select API version as Version 1.0 and Account Type based on your Powerbi account (usually Multitenant).
- Click on Connect to complete the setup.
- View recipes to push reporting data into Powerbi, with options for daily, weekly, or monthly syncing.
- Choose the frequency and the module you want to export from the recipe list.
Freshdesk to PowerBI
To export your Freshdesk data to PowerBI, follow the below steps.
- Open the recipe of the module and frequency you want to export.
- Go to step 1 in the recipe screen.
- Ensure the schedule frequency and time match your API export schedule.
- Set the trigger time in the recipe to 5-10 minutes after the API export schedule.
- Click the second block inside the recipe and go to Connection tab.
- Click Switch Connections and then click New Connection.
- In the New Connection tab:
- Choose Authentication Type as Basic.
- Enter your Freshdesk API key in the Basic Auth Username field.
- Set the password as X.
- Set the base URL of the connection to your Freshdesk URL (e.g., https://domain.freshdesk.com).
- Set Use Custom TLS/SSLcertificate settings option as No.
- In the setup tab, enter the API URL of your data export in the Request URL option. (Ignore the warning about sensitive data)
- In step 4 of the recipe, upload a sample CSV of your export file to capture the export schema.
- In step 5 of the recipe, select the PowerBI dataset where you want to load the data and map the fields from the export to the dataset fields.
- Save the recipe and activate it.
You can now start exporting data to PowerBI according to your chosen schedule.