Overview: Query Builder for Freshdesk (Contacts)

HOW TO

How to access the Query Builder for Freshdesk (Contacts)

Navigate to Metrics > Query Builder to access the Query Builder. Click the green + New Custom Metric button and select your connected Freshdesk Account from the Data Source drop-down list. Select the Contacts radio button.

    Query Builder is available on the Professional and Performer plans. Request a trial of Query Builder by following these steps.  

How to use the Query Builder for Freshdesk (Contacts) 

A
  Data Source: This is the Freshdesk Data Source that the Custom Metric is syncing data from.
B
  Metric: Contacts is the only available option on the Metric drop-down list. This will return a count of contacts that meet the other criteria set for the Custom Metric. 
C
  Dimension (Optional): The Dimension parameter re-categorizes the returned Metric value based on common criteria. Examples of Dimensions are Company and State. If no Dimension is selected, the Custom Metric will store one aggregated Metric value for each Date Range. 
Pro Tip: Among predefined Dimensions, you are also able to choose  Custom Fields set within your Freshdesk account.
Pro Tip: Add the word "by" in between the Metric and Dimension in order to determine an appropriate Custom Metric Name. From the Metric and Dimensions examples outlined above, we could create the Custom Metrics "Contacts by Company" or "Contacts by State."
D
  Activity: The Activity field determines which Contacts will be included in the Custom Metric. For example, if "Active" is selected, any Active Contacts during the specified Date Range(s) will be included in the Custom Metric. If "Non-Active" is selected, any Non-Active Contacts during the specified Date Range(s) will be included in the Custom Metric. If you don't specify this field, the A ll selection will be applied by default.
E
  Favourable Trend: By default,  Trending up is positive is pre-selected, which will display the percentage change value on Datablocks as green when the Metric value has increased. If the Custom Metric you created has opposite trends, select Trending down is positive radio button. Learn more here.  
F
  Filter by (Optional): Filters restrict the data that gets included in the Custom Metric. All data that is returned is tested against the Filter(s). Multiple Filters can be combined using AND /OR boolean logic.    
If the data synced from the Metric and Dimension fields meet the Filter specifications, the data is retained and included in the Custom Metric value. If the data synced from the Metric and Dimension fields don't meet the Filter specifications, the data is excluded from the Custom Metric value.
Pro Tip : If you don't know which Filters to put in place for your use case, use the Dimension + Data Preview to troubleshoot and get more insight into the data that is returned from your Freshdesk Account for each field. Learn more here.
G
  Preview data: After clicking Preview data, a Data Preview of the Custom Metric will be displayed. Daily Metric values are displayed in this section, along with the total Metric values for the Date Range in bold at the bottom. You can view the Data Preview for different Date Ranges by clicking on the drop-down list at the top of the Data Preview. 
H
  Custom Metric Name: Enter a name for your Custom Metric. This Custom Metric name will be available in the Designer after saving. 
I
  Save: Save your Custom Metric. 

How to create a Custom Freshdesk (Contacts) Metric [Example]

In this example, we'll create a Custom Metric to report on Contacts tracked in the Freshdesk Account, split up based on State. We only want to view this data for Active Contacts. 

1
 Navigate to Metrics  > Query Builder   
2
 Click the green + New query button
3
 Select the appropriate Freshdesk Data Source
4
 Select the Contacts radio button
5
 Select  Contacts from the  Metric drop-down list  
6
 Select State from the Dimension drop-down list so that the Contacts values returned are split up based on State.
7
 Next, we'll select Active in the Activity field in order to view data for Active Contacts only.
8
 We don't need to further filter the data, so we will leave the Filter section blank as well. 
9
 In order to accurately explain what this Custom Metric is reporting on, we'll name the Custom Metric "Active Contacts by State" 
10
 Click Preview data to generate a Data Preview of the Custom Metric. 
11
 Once we confirm that these are the results we're looking for, we'll click Save to save the Custom Metric. 

How to add a Custom Freshdesk (Contacts) Metric to a Databoard

Learn how to add a Custom Metric to a Databoard here.

Additional Information

  • The Data Preview is limited to display a maximum of 20 Dimensions per Date Range for Attributed Metrics. Dimensions will be sorted by descending value, therefore the 20 Dimensions with the highest total values will be displayed in the Data Preview for each Date Range.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.