Skip to content

Freshsales

Freshsales is a customer relationship management (CRM) software designed to help businesses streamline sales processes and manage customer interactions effectively.

Categories: crm

Type: freshsales/v1


Connections

Version: 1

API Key

Properties

NameLabelTypeDescriptionRequired
usernameBundle aliasSTRINGYour Freshsales bundle alias (e.g. https://.myfreshworks.com)true
keyAPI KeySTRINGThe API Key supplied by Freshsalestrue

Actions

Create Account

Name: createAccount

Creates a new account.

Properties

NameLabelTypeDescriptionRequired
nameNameSTRINGName of the account.true
websiteWebsiteSTRINGWebsite of the account.false
phonePhoneSTRINGPhone number of the account.false

Example JSON Structure

{
"label" : "Create Account",
"name" : "createAccount",
"parameters" : {
"name" : "",
"website" : "",
"phone" : ""
},
"type" : "freshsales/v1/createAccount"
}

Output

Type: OBJECT

Properties

NameTypeDescription
sales_accountOBJECT
Properties {NUMBER(id), STRING(name), STRING(website), STRING(phone)}

Output Example

{
"sales_account" : {
"id" : 0.0,
"name" : "",
"website" : "",
"phone" : ""
}
}

Create Contact

Name: createContact

Add new contact in Freshsales CRM.

Properties

NameLabelTypeDescriptionRequired
first_nameFirst NameSTRINGFirst name of the contact.false
last_nameLast NameSTRINGLast name of the contact.false
job_titleJob TitleSTRINGDesignation of the contact in the account they belong to.false
emailEmailSTRINGPrimary email address of the contact.true
work_numberWork NumberSTRINGWork phone number of the contact.false
mobile_numberMobile NumberSTRINGMobile phone number of the contact.false
addressAddressSTRINGAddress of the contact.false
cityCitySTRINGCity that the contact belongs to.false
stateStateSTRINGState that the contact belongs to.false
zipcodeZip CodeSTRINGZipcode of the region that the contact belongs to.false
countryCountrySTRINGCountry that the contact belongs to.false
mediumMediumSTRINGThe medium that led your contact to your website/web ap.pfalse
facebookFacebookSTRINGFacebook username of the contact.false
twitterTwitterSTRINGTwitter username of the contact.false
linkedinLinkedInSTRINGLinkedIn account of the contact.false

Example JSON Structure

{
"label" : "Create Contact",
"name" : "createContact",
"parameters" : {
"first_name" : "",
"last_name" : "",
"job_title" : "",
"email" : "",
"work_number" : "",
"mobile_number" : "",
"address" : "",
"city" : "",
"state" : "",
"zipcode" : "",
"country" : "",
"medium" : "",
"facebook" : "",
"twitter" : "",
"linkedin" : ""
},
"type" : "freshsales/v1/createContact"
}

Output

Type: OBJECT

Properties

NameTypeDescription
contactOBJECT
Properties {NUMBER(id), STRING(first_name), STRING(last_name), STRING(job_title), STRING(city), STRING(state), STRING(zipcode), STRING(country), STRING(email), STRING(work_number), STRING(mobile_number), STRING(address), STRING(medium), STRING(facebook), STRING(twitter), STRING(linkedin)}

Output Example

{
"contact" : {
"id" : 0.0,
"first_name" : "",
"last_name" : "",
"job_title" : "",
"city" : "",
"state" : "",
"zipcode" : "",
"country" : "",
"email" : "",
"work_number" : "",
"mobile_number" : "",
"address" : "",
"medium" : "",
"facebook" : "",
"twitter" : "",
"linkedin" : ""
}
}

Create Lead

Name: createLead

Creates a new lead.

Properties

NameLabelTypeDescriptionRequired
first_nameFirst NameSTRINGFirst name of the lead.false
last_nameLast NameSTRINGLast name of the lead.false
emailEmailSTRINGPrimary email address of the lead.true

Example JSON Structure

{
"label" : "Create Lead",
"name" : "createLead",
"parameters" : {
"first_name" : "",
"last_name" : "",
"email" : ""
},
"type" : "freshsales/v1/createLead"
}

Output

Type: OBJECT

Properties

NameTypeDescription
leadOBJECT
Properties {NUMBER(id), STRING(email), STRING(first_name), STRING(last_name)}

Output Example

{
"lead" : {
"id" : 0.0,
"email" : "",
"first_name" : "",
"last_name" : ""
}
}