> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/crm-sales/freshsales.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Freshsales

Freshsales is a sales CRM from Freshworks. Manage contacts, accounts, deals, tasks, appointments and notes, including bulk updates.

![Freshsales logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-61c4e7ec33d9c967cab4dc884c4901a52ff30840%2Ffreshsales.png?alt=media)

|                    |                                                                              |
| ------------------ | ---------------------------------------------------------------------------- |
| **Category**       | [CRM and sales](https://docs.fastn.ai/connectors/catalog/crm-sales.md)       |
| **Website**        | [freshworks.com](https://freshworks.com)                                     |
| **Authentication** | API key                                                                      |
| **Slug**           | `freshsales`                                                                 |
| **On fastn.ai**    | [Embed Freshsales in your product](https://fastn.ai/integrations/freshsales) |

## Setup

Your customers enter their API key for Freshsales when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Freshsales from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Freshsales**.
2. Select **Connect** on the Freshsales card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Freshsales's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Add Products To Deal</td><td><code>addProductsToDeal</code></td><td>Attach product line items to a deal. Each product needs product_id, quantity and price fields.</td></tr><tr><td>Bulk Assign Contact Owner</td><td><code>bulkAssignContactOwner</code></td><td>Assign a new owner to many contacts at once.</td></tr><tr><td>Bulk Delete Contacts</td><td><code>bulkDeleteContacts</code></td><td>Soft-delete many contacts by id in one call.</td></tr><tr><td>Bulk Delete Deals</td><td><code>bulkDeleteDeals</code></td><td>Soft-delete many deals by id.</td></tr><tr><td>Bulk Delete Sales Accounts</td><td><code>bulkDeleteSalesAccounts</code></td><td>Soft-delete many sales accounts by id.</td></tr><tr><td>Bulk Upsert Contacts</td><td><code>bulkUpsertContacts</code></td><td>Create/update many contacts in one async job. Returns a job id trackable via getJobStatus.</td></tr><tr><td>Bulk Upsert Deals</td><td><code>bulkUpsertDeals</code></td><td>Create/update many deals in one async job.</td></tr><tr><td>Bulk Upsert Sales Accounts</td><td><code>bulkUpsertSalesAccounts</code></td><td>Create/update many sales accounts in one async job.</td></tr><tr><td>Clone Contact</td><td><code>cloneContact</code></td><td>Clone an existing contact into a new record.</td></tr><tr><td>Clone Deal</td><td><code>cloneDeal</code></td><td>Clone an existing deal into a new record.</td></tr></tbody></table>

<details>

<summary>View 69 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Clone Sales Account</td><td><code>cloneSalesAccount</code></td><td>Clone an existing sales account into a new record.</td></tr><tr><td>Create Appointment</td><td><code>createAppointment</code></td><td>Create an appointment. title, from_date, end_date and time_zone are required; link to a record via targetable_type/targetable_id.</td></tr><tr><td>Create Contact</td><td><code>createContact</code></td><td>Create a contact. Provide fields under the contact object. At least one identifying field (first_name/last_name/email/mobile_number) should be supplied.</td></tr><tr><td>Create Deal</td><td><code>createDeal</code></td><td>Create a deal. name is required; deal_pipeline_id and deal_stage_id set the pipeline stage (from listDealPipelines).</td></tr><tr><td>Create Document Link</td><td><code>createDocumentLink</code></td><td>Attach an external URL/link to a record (Contact/Deal/SalesAccount).</td></tr><tr><td>Create Note</td><td><code>createNote</code></td><td>Create a note attached to a record. description plus targetable_type (Contact/Deal/SalesAccount) and targetable_id are required.</td></tr><tr><td>Create Phone Call</td><td><code>createPhoneCall</code></td><td>Log a manual phone call against a record. Provide targetable_type/targetable_id, call_direction (incoming/outgoing) and an optional note.</td></tr><tr><td>Create Product</td><td><code>createProduct</code></td><td>Create a CPQ product. name and pricing (product_pricings) are required.</td></tr><tr><td>Create Sales Account</td><td><code>createSalesAccount</code></td><td>Create a sales account (company). name is required.</td></tr><tr><td>Create Task</td><td><code>createTask</code></td><td>Create a task. title, due_date (ISO 8601) and owner_id are required; link to a record via targetable_type (Contact/Deal/SalesAccount) and targetable_id.</td></tr><tr><td>Delete Appointment</td><td><code>deleteAppointment</code></td><td>Delete an appointment by id.</td></tr><tr><td>Delete Contact</td><td><code>deleteContact</code></td><td>Soft-delete a contact (moves to Recycle Bin). Use forgetContact to permanently erase.</td></tr><tr><td>Delete Note</td><td><code>deleteNote</code></td><td>Delete a note by id.</td></tr><tr><td>Delete Product</td><td><code>deleteProduct</code></td><td>Delete (soft) a CPQ product by id.</td></tr><tr><td>Delete Task</td><td><code>deleteTask</code></td><td>Delete a task by id.</td></tr><tr><td>Filtered Search</td><td><code>filteredSearch</code></td><td>Advanced filtered search for an entity. entity is the path segment (contact/deal/sales_account). Provide filter_rule with attribute/operator/value conditions.</td></tr><tr><td>Forget Contact</td><td><code>forgetContact</code></td><td>Permanently delete (forget) a contact and its data. Irreversible.</td></tr><tr><td>Forget Deal</td><td><code>forgetDeal</code></td><td>Permanently delete (forget) a deal. Irreversible.</td></tr><tr><td>Forget Sales Account</td><td><code>forgetSalesAccount</code></td><td>Permanently delete (forget) a sales account. Irreversible.</td></tr><tr><td>Get Appointment</td><td><code>getAppointment</code></td><td>Fetch a single appointment by id.</td></tr><tr><td>Get Contact</td><td><code>getContact</code></td><td>Fetch a single contact by id. Optionally sideload associations via include.</td></tr><tr><td>Get Contact Fields</td><td><code>getContactFields</code></td><td>List all contact fields (including custom fields) and their metadata.</td></tr><tr><td>Get Deal</td><td><code>getDeal</code></td><td>Fetch a single deal by id. Use include=products to sideload line items.</td></tr><tr><td>Get Deal Fields</td><td><code>getDealFields</code></td><td>List all deal fields including custom fields.</td></tr><tr><td>Get Job Status</td><td><code>getJobStatus</code></td><td>Track the status of an async bulk job by its id (returned by bulk_upsert/bulk_destroy).</td></tr><tr><td>Get Product</td><td><code>getProduct</code></td><td>Fetch a single CPQ product by id.</td></tr><tr><td>Get Sales Account</td><td><code>getSalesAccount</code></td><td>Fetch a single sales account by id.</td></tr><tr><td>Get Sales Account Fields</td><td><code>getSalesAccountFields</code></td><td>List all sales account fields including custom fields.</td></tr><tr><td>Get Sales Activity</td><td><code>getSalesActivity</code></td><td>Fetch a single sales activity by id.</td></tr><tr><td>Get Sales Activity Fields</td><td><code>getSalesActivityFields</code></td><td>List all sales activity fields.</td></tr><tr><td>Get Task</td><td><code>getTask</code></td><td>Fetch a single task by id.</td></tr><tr><td>List Business Types</td><td><code>listBusinessTypes</code></td><td>List business types (for sales accounts).</td></tr><tr><td>List Campaigns</td><td><code>listCampaigns</code></td><td>List campaigns.</td></tr><tr><td>List Contact Documents</td><td><code>listContactDocuments</code></td><td>List files and links associated with a contact.</td></tr><tr><td>List Contact Filters</td><td><code>listContactFilters</code></td><td>List saved contact views (filters). Use the returned filter id as view_id in listContacts.</td></tr><tr><td>List Contacts</td><td><code>listContacts</code></td><td>List contacts in a saved view. Pass the view_id (from listContactFilters). Supports pagination and sorting.</td></tr><tr><td>List Currencies</td><td><code>listCurrencies</code></td><td>List currencies configured in the account.</td></tr><tr><td>List Deal Filters</td><td><code>listDealFilters</code></td><td>List saved deal views (filters).</td></tr><tr><td>List Deal Payment Statuses</td><td><code>listDealPaymentStatuses</code></td><td>List deal payment statuses.</td></tr><tr><td>List Deal Pipelines</td><td><code>listDealPipelines</code></td><td>List deal pipelines and their stages.</td></tr><tr><td>List Deal Reasons</td><td><code>listDealReasons</code></td><td>List deal lost/won reasons.</td></tr><tr><td>List Deal Stages</td><td><code>listDealStages</code></td><td>List deal stages.</td></tr><tr><td>List Deal Types</td><td><code>listDealTypes</code></td><td>List deal types.</td></tr><tr><td>List Deals</td><td><code>listDeals</code></td><td>List deals in a saved view. Pass view_id from listDealFilters.</td></tr><tr><td>List Industry Types</td><td><code>listIndustryTypes</code></td><td>List industry types (for sales accounts).</td></tr><tr><td>List Lifecycle Stages</td><td><code>listLifecycleStages</code></td><td>List contact lifecycle stages.</td></tr><tr><td>List Owners</td><td><code>listOwners</code></td><td>List users (owners) who can be assigned records.</td></tr><tr><td>List Products</td><td><code>listProducts</code></td><td>List CPQ products in the catalog.</td></tr><tr><td>List Sales Account Filters</td><td><code>listSalesAccountFilters</code></td><td>List saved sales account views (filters).</td></tr><tr><td>List Sales Accounts</td><td><code>listSalesAccounts</code></td><td>List sales accounts (companies) in a saved view. Pass view_id from listSalesAccountFilters.</td></tr><tr><td>List Sales Activities</td><td><code>listSalesActivities</code></td><td>List sales activities (system-logged interactions: tasks, meetings, calls, emails).</td></tr><tr><td>List Sales Activity Entity Types</td><td><code>listSalesActivityEntityTypes</code></td><td>List sales activity entity types.</td></tr><tr><td>List Sales Activity Outcomes</td><td><code>listSalesActivityOutcomes</code></td><td>List sales activity outcomes.</td></tr><tr><td>List Sales Activity Types</td><td><code>listSalesActivityTypes</code></td><td>List sales activity types (Task, Meeting, Phone, Email, etc.).</td></tr><tr><td>List Tasks</td><td><code>listTasks</code></td><td>List tasks filtered by status. filter is one of open, due today, overdue, completed. include sideloads owner/targetable etc.</td></tr><tr><td>List Territories</td><td><code>listTerritories</code></td><td>List territories.</td></tr><tr><td>Lookup</td><td><code>lookup</code></td><td>Lookup records by a specific field value. q is the value, f the field (e.g. email), entities the entity type(s).</td></tr><tr><td>Restore Product</td><td><code>restoreProduct</code></td><td>Restore a previously deleted CPQ product.</td></tr><tr><td>Search</td><td><code>search</code></td><td>Global full-text search across entities. q is the query; include is a comma list of entity types (contact,sales_account,deal,user,cpq_product).</td></tr><tr><td>Update Appointment</td><td><code>updateAppointment</code></td><td>Update an appointment by id.</td></tr><tr><td>Update Contact</td><td><code>updateContact</code></td><td>Update a contact by id. Provide only the fields to change under the contact object.</td></tr><tr><td>Update Deal</td><td><code>updateDeal</code></td><td>Update a deal by id (e.g. move stage, change amount).</td></tr><tr><td>Update Note</td><td><code>updateNote</code></td><td>Update a note's description by id.</td></tr><tr><td>Update Product</td><td><code>updateProduct</code></td><td>Update a CPQ product by id.</td></tr><tr><td>Update Sales Account</td><td><code>updateSalesAccount</code></td><td>Update a sales account by id.</td></tr><tr><td>Update Task</td><td><code>updateTask</code></td><td>Update a task by id. Set status to 1 to mark complete.</td></tr><tr><td>Upsert Contact</td><td><code>upsertContact</code></td><td>Create or update a contact matched by a unique identifier (e.g. email). unique_identifier selects the match key; contact carries the attributes.</td></tr><tr><td>Upsert Deal</td><td><code>upsertDeal</code></td><td>Create or update a deal matched by a unique identifier.</td></tr><tr><td>Upsert Sales Account</td><td><code>upsertSalesAccount</code></td><td>Create or update a sales account matched by a unique identifier (e.g. name or external_id).</td></tr></tbody></table>

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/crm-sales/freshsales.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
