> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Freshsales connector

- Connector: `appmixer.freshsales`
- Version: 2.0.5
- Components: 21 (0 triggers, 21 actions)

Freshsales REST API for managing contacts, accounts, deals, activities, and bulk jobs over HTTPS JSON endpoints. Base URL pattern: https://{bundleAlias}.myfreshworks.com/crm/sales/api/ (legacy: https://{subdomain}.freshsales.io/api/).

- Connector page: <https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/freshsales>
- Download package: <https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/download>

## Authentication

**Type:** API Key

**Fields:**

- `Bundle Alias` (text): Your Freshsales bundle alias. Copy your bundle alias from your Profile settings page. For example: appmixer-944514646623155365.myfreshworks.com/crm/sales
- `API Key` (text): Log into your Freshsales account and find your _API Key_ in Profile settings.

## Actions (21)

- [Create Appointment](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.CreateAppointment.md) (`appmixer.freshsales.core.CreateAppointment`): Create a new appointment and optionally link it to a related entity.
- [Create Contact](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.CreateContact.md) (`appmixer.freshsales.core.CreateContact`): Create a new contact with optional account linkage and custom fields.
- [Create Deal](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.CreateDeal.md) (`appmixer.freshsales.core.CreateDeal`): Create a new sales deal in Freshsales with optional contact, account, and custom field associations.
- [Create Task](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.CreateTask.md) (`appmixer.freshsales.core.CreateTask`): Create a new task in Freshsales. Tasks can be associated with contacts, accounts, or deals.
- [Delete Appointment](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.DeleteAppointment.md) (`appmixer.freshsales.core.DeleteAppointment`): Delete an appointment by ID.
- [Delete Contact](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.DeleteContact.md) (`appmixer.freshsales.core.DeleteContact`): Delete a contact by ID.
- [Delete Deal](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.DeleteDeal.md) (`appmixer.freshsales.core.DeleteDeal`): Delete a deal by ID.
- [Delete Task](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.DeleteTask.md) (`appmixer.freshsales.core.DeleteTask`): Delete a task by ID.
- [Find Appointments](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.FindAppointments.md) (`appmixer.freshsales.core.FindAppointments`): Find appointments with optional filters. Supports outputting as array, individual items, first item only, or CSV file.
- [Find Deals](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.FindDeals.md) (`appmixer.freshsales.core.FindDeals`): Find deals by a specific view/filter. Returns a maximum of 100 deals per page. Supports outputting as array, individual items, first item only, or CSV file.
- [Find Tasks](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.FindTasks.md) (`appmixer.freshsales.core.FindTasks`): Find tasks with optional filters. Supports outputting as array, individual items, first item only, or CSV file.
- [Get Appointment](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.GetAppointment.md) (`appmixer.freshsales.core.GetAppointment`): Retrieve an appointment by ID.
- [Get Contact](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.GetContact.md) (`appmixer.freshsales.core.GetContact`): Retrieve a contact by ID with optional embedded resources.
- [Get Deal](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.GetDeal.md) (`appmixer.freshsales.core.GetDeal`): Retrieve a deal by ID with optional embedded resources.
- [Get Task](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.GetTask.md) (`appmixer.freshsales.core.GetTask`): Retrieve a task by ID.
- [List Deal Views](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.ListDealViews.md) (`appmixer.freshsales.core.ListDealViews`): Retrieves a list of all deal views available in Freshsales. Deal views are custom filtered views of deals. This component returns a maximum of 100 records per page.
- [Make Api Call](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.MakeApiCall.md) (`appmixer.freshsales.core.MakeApiCall`): Performs an arbitrary authorized API call to the Freshsales API.
- [Update Appointment](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.UpdateAppointment.md) (`appmixer.freshsales.core.UpdateAppointment`): Update an existing appointment by ID.
- [Update Contact](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.UpdateContact.md) (`appmixer.freshsales.core.UpdateContact`): Update an existing contact by ID.
- [Update Deal](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.UpdateDeal.md) (`appmixer.freshsales.core.UpdateDeal`): Update an existing deal by ID.
- [Update Task](https://connectors.appmixer.com/connector/appmixer.freshsales/2.0.5/component/appmixer.freshsales.core.UpdateTask.md) (`appmixer.freshsales.core.UpdateTask`): Update an existing task by ID.

## Changelog

### 2.0.5

- Quote CSV cells that hold a comma, a double quote or a line break and map cells by header column when exporting results to a file.

### 2.0.4

- CreateContact: Tags and Sales Accounts set in the Designer are now accepted. The fields were typed as arrays while their inspector stores rows as an object, so every value failed validation (#1408). Sales accounts are sent as [{ id, is_primary }] as the Freshsales API requires; the first one is primary.

### 2.0.3

- Authentication: the bundle alias is validated before it is used to build request URLs. Only a Freshworks address is accepted (e.g. "acme-123.myfreshworks.com/crm/sales", or a legacy "acme.freshsales.io").

### 2.0.2

- MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.

### 2.0.1

- Output examples for every field of the Create/Get/Update Appointment, Contact, Deal and Task components.

### 2.0.0

- (breaking change) MakeApiCall: headers and parameters changed to key-value array inputs per standard #1459 — existing flows that previously set these as JSON strings must migrate to the key-value editor. Body remains textarea/JSON.

### 1.1.1

- add MakeApiCall component

### 1.0.0

- Initial version
