Overview: Query Builder for Pipedrive CRM (Activities)

HOW TO

How to access the Query Builder for Pipedrive CRM (Activities)

Navigate to  Metrics > Query Builder to access the Query Builder for Pipedrive CRM. Click the green + Create Custom Metric button and select your connected Pipedrive CRM Account from the Data Source drop-down list. Select the Activities radio button.

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

How to use the Query Builder for Pipedrive CRM (Activities)

A
  Data Source: This is the Pipedrive CRM Data Source that the Custom Metric is syncing data from. 
B
  Metric: Select a Metric from your connected Pipedrive CRM Data Source, such as "Emails Sent" or "Meetings Added."
C
  Dimension (Optional): The Dimension parameter re-categorizes the returned Metric value based on common criteria. An example of a Dimension is "Owner."
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 Dimension examples outlined above, we could create the Custom Metrics "Emails Sent by Owner" or "Meetings Added by Owner." 
D
  Pipedrive filter (Optional): This represents a custom filter set for the metric within Pipedrive CRM account. Click on the drop-down will reveal all filter names set in the Pipedrive CRM account.
Pro Tip: Pipedrive Filters are only accessible from within the object where they were created in the Pipedrive CRM Account. This means Filters created in the Deals object will only be visible in the Query Builder for Pipedrive CRM (Deals), Filters created in the Activities object will only be visible in the Query Builder for Pipedrive CRM (Activities), etc.
Pro Tip: If a Pipedrive Filter is set to Shared in the Pipedrive CRM Account, it will be available in Databox. If a Pipedrive Filter is set to Private in the Pipedrive CRM Account, it will only be visible in Databox if the user who created the private Pipedrive Filter is the same as the user who connected the Pipedrive CRM Account to Databox.
E
  Status: The Status field determines which Activities will be included in the Custom Metric. For example, if "Done" is selected, any Activities Done during the specified Date Range(s) will be included in the Custom Metric.
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 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 Pipedrive CRM Account for each field. Learn more here
G
  Invert Metric (Optional): By default, the percentage change value displayed on Datablocks is green when the Metric value has increased, and red when the Metric value has decreased. If the Custom Metric you created has opposite trends, select this option. Learn more  here.
 
H
Data Preview: 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. 
I

  Custom Metric Name: Enter a name for your Custom Metric. This Custom Metric name will be available in the Designer after saving.

J

  Save: Save your Custom Metric.

How to create a Custom Pipedrive CRM (Activities) Metric [Example]

In this example, we'll create a Custom Metric to report on Emails Sent to the ''US'' Location, split up based on the Owner. 

1
 Navigate to Metrics  > Query Builder   
2
 Click the green + New query button
3
 Select the appropriate Pipedrive CRM Data Source 
4
 Select the Activities radio button
5
 The Value we want returned is the Emails Sent, so we'll select Emails Sent from the Metric drop-down list
6
 We want all Emails split up based on the Owner, so we'll choose Owner as the Dimension
7
 We're interested in tracking Emails Sent, so Done will be our Status selection 
8
 Since we only want to report on Emails Sent from our ''US'' Location, we'll add a Filter that specifies  Location = US
9

 To accurately explain what this Custom Metric is reporting on, we'll name the Custom Metric "Emails Sent by Owner (US Location)" 

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 Pipedrive CRM (Activities) Metric to a Databoard

Learn how to add a Custom Metric to a Databoard here

Additional Information

  • "Query preview error": If you have a lot of deals and activity-related data in your Pipedrive CRM Account, your request for data may time out when you attempt to Preview Data. In order to successfully run the Custom Metric, it's recommended that you set up a Pipedrive Filter within your Pipedrive CRM account to cut down on the records included in the query. This Pipedrive Filter should be applied to the Custom Metric. 
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us