The Clari Copilot connector lets your AI agent act in each user's Clari Copilot account. Each user connects their own Clari Copilot API key once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 20 tools.
- Tools
- 20
- What they doRead · write · destructive
- 10 · 7 · 310 read7 write3 destructive
- Users sign in with
- API key
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Clari Copilot connection
In AgentKit > Connections, create a Clari Copilot connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Console steps with screenshots
Each user connects with their Clari Copilot API key and API password. Clari Copilot needs both on every request, as the
X-Api-KeyandX-Api-Passwordheaders. Scalekit stores them on the user’s connected account and sends both headers with every tool call.-
Get your Clari Copilot API key and API password
- Sign in to Clari Copilot and open Workspace Settings → Integrations.
- Open Clari Copilot API and copy the API key and API password.
Both values are required. Keep them in a secure secret store.
-
Create a connection in Scalekit
- In Scalekit dashboard, go to AgentKit → Connections → Create Connection. Find Clari Copilot and click Create.
- Note the Connection name — you will use this as
connection_namein your code (e.g.,claricopilot). - Click Save.
-
Add a connected account
Connected accounts link a specific user identifier in your system to a set of Clari Copilot credentials. Add one in the dashboard to test. In production, each user adds their own through the authorization link: they enter their credentials on the page it opens.
In the dashboard, to test
- Open the connection you created and click the Connected Accounts tab → Add account.
- Fill in:
- Your User’s ID — a unique identifier for this user in your system (e.g.,
user_123) - API Key — the Clari Copilot API key from step 1 (sent as
X-Api-Key) - API Password — the Clari Copilot API password from step 1 (sent as
X-Api-Password)
- Your User’s ID — a unique identifier for this user in your system (e.g.,
- Click Create Account.
From your backend, if your app already has the credentials
For example, when users enter them on a settings page in your app:
Pass both credentials as static auth details using the field names
x_api_keyandx_api_password. Scalekit rejects the account if either value is missing.import { Scalekit, ConnectorStatus } from '@scalekit-sdk/node';const scalekit = new Scalekit(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,);// Never hard-code credentials — read from secure storage or user inputconst clariApiKey = getUserClariApiKey(); // retrieve from your secure storeconst clariApiPassword = getUserClariApiPassword();const authorizationDetails = {details: {case: 'staticAuth',value: {details: {x_api_key: clariApiKey,x_api_password: clariApiPassword,},},},};let { connectedAccount } = await scalekit.actions.upsertConnectedAccount({connectionName: 'claricopilot',identifier: 'user_123',authorizationDetails,});// Make sure the account is ACTIVE before the first tool call.if (connectedAccount?.status !== ConnectorStatus.ACTIVE) {({ connectedAccount } = await scalekit.actions.upsertConnectedAccount({connectionName: 'claricopilot',identifier: 'user_123',authorizationDetails,}));}import osfrom scalekit import ScalekitClientscalekit_client = ScalekitClient(env_url=os.environ["SCALEKIT_ENVIRONMENT_URL"],client_id=os.environ["SCALEKIT_CLIENT_ID"],client_secret=os.environ["SCALEKIT_CLIENT_SECRET"],)# Never hard-code credentials — read from secure storage or user inputclari_api_key = get_user_clari_api_key() # retrieve from your secure storeclari_api_password = get_user_clari_api_password()authorization_details = {"static_auth": {"x_api_key": clari_api_key,"x_api_password": clari_api_password,}}response = scalekit_client.actions.upsert_connected_account(connection_name="claricopilot",identifier="user_123",authorization_details=authorization_details,)# Make sure the account is ACTIVE before the first tool call.if response.connected_account.status != "ACTIVE":response = scalekit_client.actions.upsert_connected_account(connection_name="claricopilot",identifier="user_123",authorization_details=authorization_details,)
-
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'claricopilot'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Clari Copilot:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'claricopilot_calls_list',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "claricopilot"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Clari Copilot:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="claricopilot_calls_list",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user opens the link once and enters their Clari Copilot credentials there. If your app already has a user's credentials, add the account from your backend instead, as the console steps above show. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolclaricopilot_account_getGet one CRM account stored in Clari Copilot by its source CRM ID.Read-onlyGet Account
Get one CRM account stored in Clari Copilot by its source CRM ID. Returns the account's Copilot id, crm_id, name, phones, description, website, address, and custom fields. Use claricopilot_account_get to read a account you know the CRM ID of. Clari Copilot has no endpoint to list or search accounts.
Inputs
idstringrequired- ID of the account in your source CRM (the crm_id it was created with in Clari Copilot) to get. Example: 0015g00000XyZabAAB.
claricopilot_call_details_getGet one Clari Copilot call by its Copilot call ID, including the full transcript and AI summary.Read-onlyGet Call Details
Get one Clari Copilot call by its Copilot call ID, including the full transcript and AI summary. Returns the call's participants, metrics, live deal stage, transcript turns, summary with topics and action items, and competitor sentiments. Use claricopilot_call_details_get for one call's content. Use claricopilot_calls_list to find calls. Get the call ID from claricopilot_calls_list.
Inputs
idstringrequired- Clari Copilot ID of the call, as returned in the id field by List Calls. Example: 64f1c2a9e4b0a1b2c3d4e5f6.
include_audioboolean- Set to true to include a signed audio_url for each call. The URL is valid for 4 hours. Defaults to false.
include_videoboolean- Set to true to include a signed video_url for each call. The URL is valid for 4 hours. Defaults to false.
claricopilot_calls_listList recorded calls in Clari Copilot, filtered by user, attendee, topic, status, source, time, or duration.Read-onlyList Calls
List recorded calls in Clari Copilot, filtered by user, attendee, topic, status, source, time, or duration. Returns up to 100 calls per page with participants, status, deal and account context, call metrics, and pagination info (nextPageSkip). Use claricopilot_calls_list to find calls. Use claricopilot_call_details_get for one call's transcript and AI summary.
Inputs
filter_attendeesarray- Only return calls that include these meeting attendees, given by email address. Example: ["buyer@customer.com"].
filter_duration_gtinteger- Only return calls longer than this many seconds (0 to 7200). Example: 300 for calls over 5 minutes.
filter_duration_ltinteger- Only return calls shorter than this many seconds (0 to 7200). Example: 3600 for calls under an hour.
filter_modified_gtstring- Only return calls whose status was updated after this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
filter_modified_ltstring- Only return calls whose status was updated before this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
filter_source_idarray- Only return calls with these IDs from the source system (the source_id the call was recorded or created with). Example: ["abcd1234"].
filter_statusarray- Only return calls in these processing statuses. Use PROCESSED or POST_PROCESSING_DONE for calls whose transcript and analysis are ready. Example: ["POST_PROCESSING_DONE"].
filter_time_gtstring- Only return calls scheduled or started after this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
filter_time_ltstring- Only return calls scheduled or started before this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
filter_topicsarray- Only return calls tagged with these topic names. Get topic names from the List Topics tool. Example: ["Pricing"].
filter_typearray- Only return calls from these meeting or dialer sources. Example: ["ZOOM", "MS_TEAMS"].
filter_userarray- Only return calls that involve these Clari Copilot users, given by their email address as shown on the Manage Users page. Example: ["rep@company.com"].
include_audioboolean- Set to true to include a signed audio_url for each call. The URL is valid for 4 hours. Defaults to false.
include_paginationboolean- Set to false to omit the pagination object (total matched count, hasMore, nextPageSkip), which makes the request much faster. Defaults to true.
include_privateboolean- Set to true to include calls marked private. Defaults to false.
include_videoboolean- Set to true to include a signed video_url for each call. The URL is valid for 4 hours. Defaults to false.
limitinteger- Maximum number of calls to return in one page (1 to 100). Defaults to 25.
skipinteger- Number of calls to skip before returning results, for paging (0 to 10000). Pass the nextPageSkip value from the previous response to get the next page. Defaults to 0.
sort_processedstring- Sort calls by when they were last processed: asc for oldest first, desc for newest first.one of
ascdesc sort_timestring- Sort calls by scheduled or start time: asc for oldest first, desc for newest first.one of
ascdesc
claricopilot_contact_getGet one CRM contact stored in Clari Copilot by its source CRM ID.Read-onlyGet Contact
Get one CRM contact stored in Clari Copilot by its source CRM ID. Returns the contact's Copilot id, crm_id, name, job title, account, phones, emails, stage, and custom fields. Use claricopilot_contact_get to read a contact you know the CRM ID of. Clari Copilot has no endpoint to list or search contacts.
Inputs
idstringrequired- ID of the contact in your source CRM (the crm_id it was created with in Clari Copilot) to get. Example: 0015g00000XyZabAAB.
claricopilot_deal_getGet one CRM deal stored in Clari Copilot by its source CRM ID.Read-onlyGet Deal
Get one CRM deal stored in Clari Copilot by its source CRM ID. Returns the deal's Copilot id, crm_id, name, owner, account, amount, stage, probability, dates, and custom fields. Use claricopilot_deal_get to read a deal you know the CRM ID of. Clari Copilot has no endpoint to list or search deals.
Inputs
idstringrequired- ID of the deal in your source CRM (the crm_id it was created with in Clari Copilot) to get. Example: 0015g00000XyZabAAB.
claricopilot_keyword_topics_listList the unique keyword topic names in Clari Copilot.Read-onlyList Keyword Topic Names
List the unique keyword topic names in Clari Copilot. Returns a flat list of topic name strings. Use claricopilot_keyword_topics_list for names to pass as a call topic filter. Use claricopilot_topics_list for topic IDs, trackers, and AI topics.
Inputs
This tool takes no inputs.
claricopilot_scorecard_templates_listList all scorecard templates in Clari Copilot.Read-onlyList Scorecard Templates
List all scorecard templates in Clari Copilot. Returns each template's id, name, type, and its questions with skill, label, and order. Use claricopilot_scorecard_templates_list to read what a scorecard measures. Use claricopilot_scorecards_list for actual scores.
Inputs
This tool takes no inputs.
claricopilot_scorecards_listList call scorecards in Clari Copilot, filtered by time, the rep being scored, or the scorer.Read-onlyList Scorecards
List call scorecards in Clari Copilot, filtered by time, the rep being scored, or the scorer. Returns up to 100 scorecards per page, each with its template ID, call ID, rep, scorer, total score, remark, and per-question scores, plus pagination info. Use claricopilot_scorecards_list for filled-in scores. Use claricopilot_scorecard_templates_list for the questions a scorecard asks.
Inputs
filter_rep_idstring- Only return scorecards for this rep, the Copilot user being scored. Get the ID from List Users. Example: 5f3a1b2c4d5e6f7890123456.
filter_scorer_idstring- Only return scorecards filled in by this Copilot user. Get the ID from List Users. Example: 5f3a1b2c4d5e6f7890123457.
filter_time_gtstring- Only return scorecards created after this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
filter_time_ltstring- Only return scorecards created before this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
limitinteger- Maximum number of scorecards to return in one page (1 to 100). Defaults to 50.
skipinteger- Number of scorecards to skip before returning results, for paging (0 to 10000). Pass the nextPageSkip value from the previous response to get the next page. Defaults to 0.
claricopilot_topics_listList the topics configured in Clari Copilot, optionally filtered by last-modified time.Read-onlyList Topics
List the topics configured in Clari Copilot, optionally filtered by last-modified time. Returns each topic's id, name, type, team IDs, and either its keyword trackers or its custom AI topic description and status. Use claricopilot_topics_list for full topic details. Use claricopilot_keyword_topics_list for just keyword topic names.
Inputs
filter_modified_gtstring- Only return topics modified after this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
filter_modified_ltstring- Only return topics modified before this time. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
claricopilot_users_listList all users in the Clari Copilot workspace.Read-onlyList Users
List all users in the Clari Copilot workspace. Returns each user's id, email, name, role (REP, MANAGER, or OBSERVER), recording status, and manager_id. Use claricopilot_users_list to look up user IDs and emails for call and scorecard filters.
Inputs
This tool takes no inputs.
claricopilot_account_createCreate a CRM account record in Clari Copilot so calls can be linked to it.WriteCreate Account
Create a CRM account record in Clari Copilot so calls can be linked to it. Returns the stored account with its Copilot id and the fields you sent. Use claricopilot_account_create for a new account. Use claricopilot_account_update to change or upsert an existing one.
Inputs
crm_idstringrequired- ID of the account in your source CRM or system. You use it later to get, update, or delete the account. Example: 0015g00000XyZabAAB.
addressstring- Full street address of the company. Example: 1 Market St, Suite 100.
citystring- City the company is registered in. Example: San Francisco.
countrystring- Country the company is located in. Example: United States.
custom_fieldsarray- Extra CRM attributes to store on the account, as a list of key/value pairs where both the key and the value are strings. Example: [{"key": "segment", "value": "Enterprise"}].
descriptionstring- Short description of the company. Example: Industrial supplies vendor.
namestring- Company name. Example: Acme Inc.
phonesarray- Company phone numbers. Example: ["+14155550100"].
statestring- State or region the company is registered in. Example: CA.
websitestring- Company website URL. Example: https://acme.com.
zipstring- Postal code of the registered address. Example: 94105.
claricopilot_account_updateUpdate a CRM account in Clari Copilot, matched by its source CRM ID.WriteUpdate Account
Update a CRM account in Clari Copilot, matched by its source CRM ID. Only the fields you pass are sent. Returns the stored account with its Copilot id and updated fields. Use claricopilot_account_update to change an existing account or sync it from your CRM. Use claricopilot_account_create for a brand-new account.
- Idempotent
Inputs
crm_idstringrequired- ID of the account in your source CRM (the crm_id it was created with in Clari Copilot) to update. Example: 0015g00000XyZabAAB.
addressstring- Full street address of the company. Example: 1 Market St, Suite 100.
citystring- City the company is registered in. Example: San Francisco.
countrystring- Country the company is located in. Example: United States.
custom_fieldsarray- Extra CRM attributes to store on the account, as a list of key/value pairs where both the key and the value are strings. Example: [{"key": "segment", "value": "Enterprise"}].
descriptionstring- Short description of the company. Example: Industrial supplies vendor.
namestring- Company name. Example: Acme Inc.
phonesarray- Company phone numbers. Example: ["+14155550100"].
statestring- State or region the company is registered in. Example: CA.
websitestring- Company website URL. Example: https://acme.com.
zipstring- Postal code of the registered address. Example: 94105.
claricopilot_call_createCreate a call in Clari Copilot from an audio or video recording URL, for Copilot to transcribe and analyze.WriteCreate Call
Create a call in Clari Copilot from an audio or video recording URL, for Copilot to transcribe and analyze. Returns the new Copilot call_id, or an error message. Use claricopilot_call_create to import a recording made outside Copilot's own meeting or dialer integrations.
Inputs
audio_urlstringrequired- URL Copilot can download the call audio or video from. Example: https://example.com/recordings/call.mp3.
call_timestringrequired- Start time of the call as an ISO 8601 date-time. Example: 2024-01-01T00:00:00.000Z.
source_idstringrequired- Unique ID of the call in your source system. Copilot uses it to de-duplicate calls. Example: abcd1234.
typestringrequired- Source type of the call. Use RECORDING for a generic recording file.one of
RECORDINGVENDASTAKNOWLARITYCALL_HIPPORINGOVER audio_formatstring- File format of the recording, such as mp3, wav, or mp4. If omitted, Copilot infers it from the URL extension.
external_transcriptobject- A transcript you already have, so Copilot skips transcription. It holds a list of speakers (each with a person ID, name, and email) and a list of conversation turns (each with the speaker's person ID, the text, and start and end times in seconds). Example: {"external_speakers": [{"person_id": "1", "name": "Jane", "email_id": "jane@customer.com"}], "ext_conversation_turns": [{"person_id": "1", "text": "Hi there", "start": 0, "end": 2.5}]}.
force_overwrite_old_callboolean- Set to true to replace an existing call that has the same Source ID. Defaults to false.
header_keyarray- Names of HTTP headers Copilot must send to download the recording, paired by position with Download Header Values. Example: ["Authorization"].
header_valuearray- Values of the HTTP headers Copilot must send to download the recording, paired by position with Download Header Names. Example: ["Bearer abc123"].
other_emailarray- Emails of the external participants, in the same order and count as External Participant Names. Use an empty string for an unknown email. Example: ["jane@customer.com"].
other_namearray- Names of the external participants. List them in the same order as External Participant Emails and Phones, with the same number of entries. Example: ["Jane Buyer"].
other_phonearray- Phone numbers of the external participants, in the same order and count as External Participant Names. Use an empty string for an unknown phone. Example: ["+14155550100"].
source_user_idsarray- IDs of the call's users in the source system. Only works if Copilot users have been mapped to these IDs (contact Clari Copilot support). Example: ["u-123"].
stereo_to_monoboolean- Set to true to process only one channel when the recording is stereo with the same audio on both channels.
titlestring- Title for the call in Copilot. If omitted, Copilot builds one from the user and the other participant.
user_emailsarray- Emails of the Copilot users the call belongs to. At least one recording user is required across user_emails and source_user_ids, or the request fails with a "no recording user" error. Example: ["rep@company.com"].
claricopilot_contact_createCreate a CRM contact record in Clari Copilot so calls can be linked to it.WriteCreate Contact
Create a CRM contact record in Clari Copilot so calls can be linked to it. Returns the stored contact with its Copilot id and the fields you sent. Use claricopilot_contact_create for a new contact. Use claricopilot_contact_update to change or upsert an existing one.
Inputs
crm_idstringrequired- ID of the contact in your source CRM or system. You use it later to get, update, or delete the contact. Example: 0015g00000XyZabAAB.
account_crm_idstring- CRM ID of the account the contact belongs to. Example: 0015g00000XyZabAAB.
custom_fieldsarray- Extra CRM attributes to store on the contact, as a list of key/value pairs where both the key and the value are strings. Example: [{"key": "segment", "value": "Enterprise"}].
emailsarray- Contact's email addresses. Copilot uses them to match the contact to call participants. Example: ["jane@acme.com"].
first_namestring- Contact's first name. Example: Jane.
is_leadboolean- Set to true if the contact is still a lead.
job_titlestring- Contact's job title. Example: VP of Sales.
last_namestring- Contact's last name. Example: Doe.
phonesarray- Contact's phone numbers. Example: ["+14155550100"].
reasonstring- Reason recorded for the contact's current stage. Example: Requested demo.
stagestring- Lifecycle stage of the contact in your CRM. Example: MQL.
claricopilot_contact_updateUpdate a CRM contact in Clari Copilot, matched by its source CRM ID.WriteUpdate Contact
Update a CRM contact in Clari Copilot, matched by its source CRM ID. Only the fields you pass are sent. Returns the stored contact with its Copilot id and updated fields. Use claricopilot_contact_update to change an existing contact or sync it from your CRM. Use claricopilot_contact_create for a brand-new contact.
- Idempotent
Inputs
crm_idstringrequired- ID of the contact in your source CRM (the crm_id it was created with in Clari Copilot) to update. Example: 0015g00000XyZabAAB.
account_crm_idstring- CRM ID of the account the contact belongs to. Example: 0015g00000XyZabAAB.
custom_fieldsarray- Extra CRM attributes to store on the contact, as a list of key/value pairs where both the key and the value are strings. Example: [{"key": "segment", "value": "Enterprise"}].
emailsarray- Contact's email addresses. Copilot uses them to match the contact to call participants. Example: ["jane@acme.com"].
first_namestring- Contact's first name. Example: Jane.
is_leadboolean- Set to true if the contact is still a lead.
job_titlestring- Contact's job title. Example: VP of Sales.
last_namestring- Contact's last name. Example: Doe.
phonesarray- Contact's phone numbers. Example: ["+14155550100"].
reasonstring- Reason recorded for the contact's current stage. Example: Requested demo.
stagestring- Lifecycle stage of the contact in your CRM. Example: MQL.
claricopilot_deal_createCreate a CRM deal record in Clari Copilot so calls can be linked to it.WriteCreate Deal
Create a CRM deal record in Clari Copilot so calls can be linked to it. Returns the stored deal with its Copilot id and the fields you sent. Use claricopilot_deal_create for a new deal. Use claricopilot_deal_update to change or upsert an existing one.
Inputs
crm_idstringrequired- ID of the deal in your source CRM or system. You use it later to get, update, or delete the deal. Example: 0015g00000XyZabAAB.
account_crm_idstring- CRM ID of the account the deal belongs to. Example: 0015g00000XyZabAAB.
amountstring- Deal amount, as a string. Example: 25000.
close_datestring- Expected or actual close date of the deal. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
created_datestring- Date the deal was created in the CRM. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
custom_fieldsarray- Extra CRM attributes to store on the deal, as a list of key/value pairs where both the key and the value are strings. Example: [{"key": "segment", "value": "Enterprise"}].
deal_namestring- Name of the deal. Example: Acme - 50 seats.
deal_reasonstring- Reason recorded for the deal outcome or stage. Example: Budget approved.
forecast_categorystring- Forecast category of the deal. Example: Commit.
last_contactedstring- Last time anyone contacted the customer about this deal. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
next_call_datestring- Date of the next scheduled call for this deal. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
owner_crm_idstring- CRM ID of the deal owner. Example: 0055g00000AbCdEAAZ.
probabilitystring- Win probability as a percentage string. Example: 60.
stagestring- Current deal stage from your CRM. Example: NEGOTIATION.
claricopilot_deal_updateUpdate a CRM deal in Clari Copilot, matched by its source CRM ID.WriteUpdate Deal
Update a CRM deal in Clari Copilot, matched by its source CRM ID. Only the fields you pass are sent. Returns the stored deal with its Copilot id and updated fields. Use claricopilot_deal_update to change an existing deal or sync it from your CRM. Use claricopilot_deal_create for a brand-new deal.
- Idempotent
Inputs
crm_idstringrequired- ID of the deal in your source CRM (the crm_id it was created with in Clari Copilot) to update. Example: 0015g00000XyZabAAB.
account_crm_idstring- CRM ID of the account the deal belongs to. Example: 0015g00000XyZabAAB.
amountstring- Deal amount, as a string. Example: 25000.
close_datestring- Expected or actual close date of the deal. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
created_datestring- Date the deal was created in the CRM. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
custom_fieldsarray- Extra CRM attributes to store on the deal, as a list of key/value pairs where both the key and the value are strings. Example: [{"key": "segment", "value": "Enterprise"}].
deal_namestring- Name of the deal. Example: Acme - 50 seats.
deal_reasonstring- Reason recorded for the deal outcome or stage. Example: Budget approved.
forecast_categorystring- Forecast category of the deal. Example: Commit.
last_contactedstring- Last time anyone contacted the customer about this deal. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
next_call_datestring- Date of the next scheduled call for this deal. Use an ISO 8601 date-time, for example 2024-01-01T00:00:00Z.
owner_crm_idstring- CRM ID of the deal owner. Example: 0055g00000AbCdEAAZ.
probabilitystring- Win probability as a percentage string. Example: 60.
stagestring- Current deal stage from your CRM. Example: NEGOTIATION.
claricopilot_account_deleteDelete a CRM account from Clari Copilot by its source CRM ID.DestructiveDelete Account
Delete a CRM account from Clari Copilot by its source CRM ID. Returns the last snapshot of the deleted account. Use claricopilot_account_delete only to remove a account permanently; this cannot be undone.
- Idempotent
Inputs
idstringrequired- ID of the account in your source CRM (the crm_id it was created with in Clari Copilot) to delete. Example: 0015g00000XyZabAAB.
claricopilot_contact_deleteDelete a CRM contact from Clari Copilot by its source CRM ID.DestructiveDelete Contact
Delete a CRM contact from Clari Copilot by its source CRM ID. Returns the last snapshot of the deleted contact. Use claricopilot_contact_delete only to remove a contact permanently; this cannot be undone.
- Idempotent
Inputs
idstringrequired- ID of the contact in your source CRM (the crm_id it was created with in Clari Copilot) to delete. Example: 0015g00000XyZabAAB.
claricopilot_deal_deleteDelete a CRM deal from Clari Copilot by its source CRM ID.DestructiveDelete Deal
Delete a CRM deal from Clari Copilot by its source CRM ID. Returns the last snapshot of the deleted deal. Use claricopilot_deal_delete only to remove a deal permanently; this cannot be undone.
- Idempotent
Inputs
idstringrequired- ID of the deal in your source CRM (the crm_id it was created with in Clari Copilot) to delete. Example: 0015g00000XyZabAAB.
No tools match.
Workflows
List recent processed calls
const calls = await actions.executeTool({ connector: 'claricopilot', identifier: 'user_123', toolName: 'claricopilot_calls_list', toolInput: { filter_status: ['POST_PROCESSING_DONE'], filter_time_gt: '2024-01-01T00:00:00Z', sort_time: 'desc', limit: 25, include_pagination: false, },});console.log(calls);calls = actions.execute_tool( connection_name='claricopilot', identifier='user_123', tool_name='claricopilot_calls_list', tool_input={ 'filter_status': ['POST_PROCESSING_DONE'], 'filter_time_gt': '2024-01-01T00:00:00Z', 'sort_time': 'desc', 'limit': 25, 'include_pagination': False, },)print(calls)Get a call transcript and AI summary
Pass a call id returned by claricopilot_calls_list.
const details = await actions.executeTool({ connector: 'claricopilot', identifier: 'user_123', toolName: 'claricopilot_call_details_get', toolInput: { id: '64f1c2a9e4b0a1b2c3d4e5f6' },});console.log(details);details = actions.execute_tool( connection_name='claricopilot', identifier='user_123', tool_name='claricopilot_call_details_get', tool_input={'id': '64f1c2a9e4b0a1b2c3d4e5f6'},)print(details)Sync a deal from your CRM
Clari Copilot identifies CRM records by the ID they have in your source CRM (crm_id). Only the fields you pass are sent.
const deal = await actions.executeTool({ connector: 'claricopilot', identifier: 'user_123', toolName: 'claricopilot_deal_update', toolInput: { crm_id: '0065g00000AbCdEAAZ', deal_name: 'Acme - 50 seats', stage: 'NEGOTIATION', amount: '25000', },});console.log(deal);deal = actions.execute_tool( connection_name='claricopilot', identifier='user_123', tool_name='claricopilot_deal_update', tool_input={ 'crm_id': '0065g00000AbCdEAAZ', 'deal_name': 'Acme - 50 seats', 'stage': 'NEGOTIATION', 'amount': '25000', },)print(deal)