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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| username | Bundle alias | STRING | Your Freshsales bundle alias (e.g. https://<alias>.myfreshworks.com). | true |
| key | API Key | STRING | The API Key supplied by Freshsales. | true |
Connection Setup
- Login in to your Freshsales account and click your profile picture in the top right corner.
- Select Personal Settings.
- Go to the API tab.
- Copy your API Key.
Actions
Create Account
Name: createAccount
Creates a new account.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| name | Name | STRING | Name of the account. | true |
| website | Website | STRING | Website of the account. | false |
| phone | Phone | STRING | Phone 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
| Name | Type | Description |
|---|---|---|
| sales_account | OBJECT 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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| first_name | First Name | STRING | First name of the contact. | false |
| last_name | Last Name | STRING | Last name of the contact. | false |
| job_title | Job Title | STRING | Designation of the contact in the account they belong to. | false |
| STRING | Primary email address of the contact. | true | ||
| work_number | Work Number | STRING | Work phone number of the contact. | false |
| mobile_number | Mobile Number | STRING | Mobile phone number of the contact. | false |
| address | Address | STRING | Address of the contact. | false |
| city | City | STRING | City that the contact belongs to. | false |
| state | State | STRING | State that the contact belongs to. | false |
| zipcode | Zip Code | STRING | Zipcode of the region that the contact belongs to. | false |
| country | Country | STRING | Country that the contact belongs to. | false |
| medium | Medium | STRING | The medium that led your contact to your website/web ap.p | false |
| STRING | Facebook username of the contact. | false | ||
| STRING | Twitter username of the contact. | false | ||
| STRING | LinkedIn 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
| Name | Type | Description |
|---|---|---|
| contact | OBJECT 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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| first_name | First Name | STRING | First name of the lead. | false |
| last_name | Last Name | STRING | Last name of the lead. | false |
| STRING | Primary 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
| Name | Type | Description |
|---|---|---|
| lead | OBJECT Properties{NUMBER(id), STRING(email), STRING(first_name), STRING(last_name)} |
Output Example
{
"lead" : {
"id" : 0.0,
"email" : "",
"first_name" : "",
"last_name" : ""
}
}What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.
How is this guide?
Last updated on