Guide: Using Freshsales with Databox (Custom API Integration)
IN THIS ARTICLE
Freshsales Integration Details
IN THIS SECTION
Overview
Freshsales is a cloud-based CRM for sales and marketing teams.
The Freshsales integration is designed for more tech-savvy users, as it syncs data through a Custom API integration. In order to create Freshsales metrics in Databox, you’ll need to use the Metric Builder. Learn more about the basics of Metric Builder for Custom API Integrations here.
-
Custom API Integrations are available on Professional and Performer plans. Request a trial of Metric Builder by following
these steps.
-
If you’d like us to help you get set up with Freshsales in Databox, please
fill out this request form or book a call with one of our product experts:
-
- Free Databox Users (or potential users) book a call
here.
-
- Paying Databox Customers book a call
here.
Integration basics
Integration status | Beta |
Type of Account access needed | Admin in order to create API Key or receive API Key from a colleague |
Authorization type | Basic |
Available endpoints | All GET endpoints |
Available requests | GET requests |
Needed permissions (scopes) | / |
Allowed API versions | All currently active API versions. Example: You can use a v1 of an API or v4, as long as they are both still supported. Deprecated APIs normally stop returning data. |
Timezone | UTC |
Dynamic date range support | No |
Pagination support | Yes |
Type of Pagination supported | Page |
Rate Limits | This status code appears when the user has exceeded the API limit set per hour per account. In Freshsales, this limit is 1000 API requests per hour per account. |
Official documentation |
|
Follow the status of the API on the official changelog | Changes are marked inside the documentation as warning cards. There is no single article. |
How to connect Freshsales to Databox
IN THIS SECTION
- How to connect Freshsales to Databox
- How to access your API key, access token / API key secret
- What’s the maximum amount of historical data initially available when you use a new Freshsales Metric in Databox?
- What time zone does Freshsales data sync in?
- What type of pagination is supported by Freshsales Integration
How to connect Freshsales to Databox
To connect a Freshsales Account in Databox, go to Data Manager > + New connection. Type Freshsales in the search bar and click on the Connect button. Next, click the green Connect now button.
This will open the Authorization window, which is where you will be prompted to enter your Name, Subdomain, API Key, and Timezone to authorize the Databox app. Learn how to access your Name, Subdomain, API Key, and Timezone here.
How to access your API key, access token / API key secret?
To successfully connect your Freshsales with Databox, you will need to use your Name, Subdomain, API Key, and Timezone in the connect process.
Follow the steps below:
Pro Tip: You can have multiple CRM accounts in your Freshworks organization. To specify the CRM Account to be used in the API, you will need to know your bundle alias of the CRM account. To find the Bundle Alias, click your Profile Picture > Profile Settings > API Settings tab, your Bundle Alias will be located below your API Key.
What's the maximum amount of historical data initially available when you use a new Freshsales Data Source Metric in Databox?
- Custom Metric Setup: When a user creates a metric using an endpoint that supports date time parameters in the API request, those date time parameters determine the amount of historical data that will be pulled for the given metric. You can learn more about the date time parameters here.
- API Limitations: APIs may have limits set by the system itself on the amount of historical data that is stored/ can be accessed.
- Pagination Limitations: The pagination limit is set to 100 pages, which means that pagination will stop when the 100th page is reached. In cases where the metric is using pagination, of course, the interplay of date time parameters and pagination can have an impact on how much of the historical data the user can pull for a given metric. Learn more here.
- Databox Plan: The amount of historical data you're able to access in Databox is dependent on your Databox plan. Learn more here.
Pro Tip: In order to start syncing data for a Metric, you can add it to your Metrics screen, use it in a Scorecard, set a Goal around it, create an Alert for it, or add it to a Databoard. Learn more here.
What time zone does Freshsales data sync in?
Freshsales data is synced in UTC.
What type of pagination is supported by Freshsales Integration
We support page pagination. Where we increase page number up to the maximum limit. Pagination limit is set to 100 pages which means the pagination will stop when the 100th page is reached. The default amount of items that the API returns is 100.
Learn more about pagination here.
How to use and create Freshsales Metrics
IN THIS SECTION
How to create custom Freshsales Metrics
Let’s walk through how to create a Custom Metric for Freshsales.
In order to prepare API requests, you should reference API-specific documentation that can be found in the Databox app through the API Docs link in the top right of the Prepare API Request page. Or, use this direct link .
-
If you’re creating a GET request, define the Key and Value pair(s). The API documentation provides information on endpoints for a field/ argument, which will be the Key. The condition (i.e., an ID, true/ false, etc.) will be the Value.
-
If you’re creating a POST request, define the relevant JSON body.
Pro Tip: You can choose multiple Keys and Values for one Custom Metric. You can add an additional Key and Value by clicking on “+”.
-
To skip this step, select None.
- Use current time of storing data (Dynamic): Select this option if you don’t want to select a date field
- Use a field from response (optional): Select this if you want to select a date in order to see your data in predefined intervals.
-
You can customize the JSONata expression (optional) in the right editor panel.
-
Name your metric: Enter a name for your custom metric.
-
Data Aggregation: These selections determine how your data is handled. This especially impacts the way data is grouped and displayed for longer Date Ranges. Learn more here.
-
Favourable trend: You can select when "Trending UP is positive" or "Trending DOWN is positive," since some metrics are better (positive) when the value is lower (like Bounce rate, Churn rate, etc.). This will affect how comparison values and goal comparisons are calculated and calculated.
Additional Information
IN THIS SECTION
Integration Limitations
- Databox limits the use of its integrations to GET requests. This is because our integration only reads your data.
- Rate limits The Freshsales API usage is limited to 1000 API requests per hour per account, learn more about it here (under code 429).
-
WARNING: If specific scopes of an integration allow you to create, change, delete or manipulate data in any other way, using such API calls can result in unexpected behavior. Databox is in no way liable for such API calls.