MetorialDocs

Set up Freshsales in Metorial for Claude, ChatGPT and Cursor

Share Freshsales with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 37 tools (19 read-only).

To give your team Freshsales in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Freshsales integration in a Metorial portal, and each person connects with an API key. Agents can manage leads, contacts, accounts, and deals in Freshsales CRM. The integration has 37 tools, 19 read-only, 10 write and 8 destructive, plus 5 triggers.

What you'll learn

  • How an admin shares Freshsales in a portal and how each person connects
  • What Freshsales asks for when you connect, and where to find it
  • How to keep the 19 read-only tools and reject the other 18

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Your Freshsales API key. Found in Profile Settings > API Settings.

Setup settings

Setup also asks for:

  • domain: Your Freshsales domain or bundle alias (e.g. "mycompany" from mycompany.myfreshworks.com or mycompany.freshsales.io)
  • apiVersion (optional): API version: "freshworks" for myfreshworks.com or "classic" for freshsales.io One of "freshworks", "classic".

Admin: share Freshsales in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Freshsales. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Freshsales.

Choose who gets it

Add the access groups that should see Freshsales. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Freshsales integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search freshsales

Employee: connect Freshsales

In the portal

Open Freshsales in the catalog

Sign in to your portal and open Freshsales. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search freshsales
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Freshsales connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list freshsales
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 19 read-only tools, such as get_deal and get_lead, and lose the 10 write tools, such as manage_deal or manage_lead, and the 8 destructive tools, such as delete_deal or delete_lead.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list freshsales
metorial tools <integration-id>
metorial call <integration-id> list_tasks -d '{"filter":"open"}'

metorial tools lists the 37 tools, minus any you rejected. list_tasks needs filter, so replace the placeholders. It lists tasks from Freshsales filtered by status.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (19)

  • list_appointments: List appointments from Freshsales filtered by past or upcoming. Needs filter.
  • list_tasks: List tasks from Freshsales filtered by status. Needs filter.
  • get_lead: Retrieve a single lead by ID from Freshsales. Needs leadId.
  • list_filters: List available filter views for an entity type in Freshsales. Needs entityType.
  • list_deals: List deals from a saved view in Freshsales. Needs viewId.
  • list_selectors: Retrieve reference data (selectors) from Freshsales. Needs selectorName.
  • get_deal: Retrieve a single deal by ID from Freshsales. Needs dealId.
  • search_records: Search across Freshsales entities (contacts, accounts, deals, users, and custom modules) using keywords or field-specific lookup.
  • get_fields: Retrieve field metadata for an entity type in Freshsales. Needs entityType.
  • list_accounts: List accounts (companies) from a saved view in Freshsales. Needs viewId.
  • get_contact: Retrieve a single contact by ID from Freshsales. Needs contactId.
  • list_leads: List leads from a saved view in Freshsales. Needs viewId.
  • get_account: Retrieve a single account (company) by ID from Freshsales. Needs accountId.
  • list_contacts: List contacts from a saved view in Freshsales. Needs viewId.
  • get_task: Retrieve a single task by ID from Freshsales. Needs taskId.
  • filter_contacts: Find Freshsales contacts that exactly match one or more filter rules. Needs filterRules.
  • get_appointment: Retrieve a single appointment by ID from Freshsales. Needs appointmentId.
  • get_sales_activity: Retrieve a single sales activity by ID from Freshsales. Needs activityId.
  • list_sales_activities: List sales activities from Freshsales with optional pagination.

Write tools (10)

  • manage_lead: Create, update, or upsert a lead in Freshsales.
  • manage_account: Create, update, or upsert an account (company) in Freshsales.
  • manage_sales_activity: Create or update a sales activity in Freshsales.
  • manage_note: Create or update a note in Freshsales.
  • convert_lead: Convert a lead to a contact in Freshsales. Needs leadId, lastName and companyName.
  • manage_deal: Create, update, or upsert a deal in Freshsales.
  • manage_contact: Create, update, or upsert a contact in Freshsales.
  • manage_task: Create or update a task in Freshsales.
  • manage_appointment: Create or update an appointment (meeting) in Freshsales.
  • complete_task: Mark a Freshsales task as done by setting its status to completed. Needs taskId.

Destructive tools (8)

  • delete_note: Delete a note from Freshsales by its ID. Needs noteId.
  • delete_contact: Delete a contact from Freshsales by its ID. Needs contactId.
  • delete_account: Delete an account (company) from Freshsales by its ID. Needs accountId.
  • delete_task: Delete a task from Freshsales by its ID. Needs taskId.
  • delete_lead: Delete a lead from Freshsales by its ID. Needs leadId.
  • delete_deal: Delete a deal from Freshsales by its ID. Needs dealId.
  • delete_appointment: Delete an appointment from Freshsales by its ID. Needs appointmentId.
  • delete_sales_activity: Delete a sales activity from Freshsales by its ID. Needs activityId.

Triggers

Freshsales has 5 triggers, which fire on events in Freshsales:

  • inbound_webhook
  • contact_changes: Triggers when contacts are created or updated in Freshsales.
  • deal_changes: Triggers when deals are created or updated in Freshsales.
  • account_changes: Triggers when accounts (companies) are created or updated in Freshsales.
  • lead_changes: Triggers when leads are created or updated in Freshsales.

Next steps