Freshsales

Guide to integrate your Freshsales with Sprinkle

Datasource Concepts

Before setting up the datasource, learn about datasource concepts here

Step by Step Guide

STEP-1: Configure Connection

To learn about Connection, refer here

  • Log into Sprinkle application

  • Navigate to Datasources -> Connections Tab -> New Connection ->

  • Select Freshsales

  • Provide all the mandatory details

    • Name: Name to identify this connection

    • API Key: API Key provided by FreshSales. Read about it here

    • Sub-Domain: Enter SUBDOMAIN only. Example:- https://{SUBDOMAIN}.myfreshworks.com/crm/sales

  • Test Connection

  • Create

STEP-2: Configure Datasource

To learn about datasource, refer here

  • Navigate to Datasources -> Datasources Tab -> Add ->

  • Select Freshsales

  • Provide the name -> Create

  • Connection Tab:

    • From the drop-down, select the name of connection created in STEP-2

    • Update

STEP-3: Create Dataset

Datasets Tab: To learn about Dataset, refer here. Add Dataset for each report/dataset that you want to integrate, providing following details

  • Report Type (Required): Select from the drop-down:

    • Contacts

    • Accounts

    • Appointments

    • Tasks

  • Flatten Level(Required) : Select One Level or Multi Level. In one level, flattening will not be applied on complex type. They will be stored as string. In multi level, flattening will be applied in complex level till they become simple type.

  • Destination Schema (Required) : Data warehouse schema where the table will be ingested into

  • Destination Table name (Required) : It is the table name to be created on the warehouse. If not given, sprinkle will create like ds_<datasourcename>_<tablename>

  • Destination Create Table Clause: Provide additional clauses to warehouse-create table queries such as clustering, partitioning, and more, useful for optimizing DML statements. Learn more on how to use this field.

  • Create

STEP-4: Run and schedule Ingestion

In the Ingestion Jobs tab:

  • Trigger the Job, using Run button

  • To schedule, enable Auto-Run. Change the frequency if needed

Dataset Fields

Contacts
  • id

  • first_name

  • last_name

  • subscription_status

  • job_title

  • email

  • emails

  • work_number

  • mobile_number

  • address

  • city

  • state

  • zipcode

  • country

  • sales_accounts

  • territory_id

  • lead_source_id

  • owner_id

  • subscription_status

  • medium

  • campaign_id

  • keyword

  • time_zone

  • facebook

  • twitter

  • linkedin

  • created_at

  • updated_at

  • contact_status_id

  • sales_account_id

Accounts
  • id

  • name

  • address

  • city

  • state

  • zipcode

  • country

  • industry_type_id

  • business_type_id

  • number_of_employees

  • annual_revenue

  • website

  • phone

  • onwer_id

  • facebook

  • twitter

  • linkedin

  • territory_id

  • created_at

  • updated_at

  • parent_sales_account_id

Appointments
  • id

  • time_zone

  • title

  • description

  • location

  • is_allday

  • from_date

  • end_date

  • created_at

  • updated_at

  • provider

  • creater_id

  • can_checkin_checkout

  • can_checkin

Tasks
  • id

  • title

  • description

  • due_date

  • targetable_id

  • targetable_type

  • owner_id

  • status

  • creater_id

  • created_at

  • updated_at

  • outcome_id

  • task_type_id

Last updated