KosmoKrator

productivity

Salesloft CLI for AI Agents

Use the Salesloft CLI from KosmoKrator to call Salesloft tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Salesloft CLI Setup

Salesloft can be configured headlessly with `kosmokrator integrations:configure salesloft`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure salesloft --set access_token="$SALESLOFT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor salesloft --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token SALESLOFT_ACCESS_TOKEN Secret secret yes Access Token
url SALESLOFT_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call salesloft.salesloft_list_users '{"page":1,"per_page":1,"email":"example_email"}' --json
Provider shortcut
kosmo integrations:salesloft salesloft_list_users '{"page":1,"per_page":1,"email":"example_email"}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs salesloft --json
kosmo integrations:docs salesloft.salesloft_list_users --json
kosmo integrations:schema salesloft.salesloft_list_users --json
kosmo integrations:search "Salesloft" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

salesloft.salesloft_list_users

List Salesloft users with pagination and official filters.

Read read
Parameters
page, per_page, email
Generic call
kosmo integrations:call salesloft.salesloft_list_users '{"page":1,"per_page":1,"email":"example_email"}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_users '{"page":1,"per_page":1,"email":"example_email"}' --json

salesloft.salesloft_get_user

Get one Salesloft user by ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_user '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_user '{"id":"example_id"}' --json

salesloft.salesloft_list_people

List Salesloft people with pagination and common filters.

Read read
Parameters
page, per_page, email_address, account_id
Generic call
kosmo integrations:call salesloft.salesloft_list_people '{"page":1,"per_page":1,"email_address":"example_email_address","account_id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_people '{"page":1,"per_page":1,"email_address":"example_email_address","account_id":1}' --json

salesloft.salesloft_get_person

Get one Salesloft person by ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_person '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_person '{"id":"example_id"}' --json

salesloft.salesloft_create_person

Create a Salesloft person using an official person payload.

Write write
Parameters
payload
Generic call
kosmo integrations:call salesloft.salesloft_create_person '{"payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_create_person '{"payload":"example_payload"}' --json

salesloft.salesloft_update_person

Update a Salesloft person by ID.

Write write
Parameters
id, payload
Generic call
kosmo integrations:call salesloft.salesloft_update_person '{"id":"example_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_update_person '{"id":"example_id","payload":"example_payload"}' --json

salesloft.salesloft_delete_person

Delete a Salesloft person by ID.

Write write
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_delete_person '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_delete_person '{"id":"example_id"}' --json

salesloft.salesloft_list_accounts

List Salesloft accounts with pagination and common filters.

Read read
Parameters
page, per_page, domain
Generic call
kosmo integrations:call salesloft.salesloft_list_accounts '{"page":1,"per_page":1,"domain":"example_domain"}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_accounts '{"page":1,"per_page":1,"domain":"example_domain"}' --json

salesloft.salesloft_get_account

Get one Salesloft account by ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_account '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_account '{"id":"example_id"}' --json

salesloft.salesloft_create_account

Create a Salesloft account using an official account payload.

Write write
Parameters
payload
Generic call
kosmo integrations:call salesloft.salesloft_create_account '{"payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_create_account '{"payload":"example_payload"}' --json

salesloft.salesloft_update_account

Update a Salesloft account by ID.

Write write
Parameters
id, payload
Generic call
kosmo integrations:call salesloft.salesloft_update_account '{"id":"example_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_update_account '{"id":"example_id","payload":"example_payload"}' --json

salesloft.salesloft_delete_account

Delete a Salesloft account by ID.

Write write
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_delete_account '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_delete_account '{"id":"example_id"}' --json

salesloft.salesloft_list_cadences

List Salesloft cadences with pagination and filters.

Read read
Parameters
page, per_page, owned_by_user_id
Generic call
kosmo integrations:call salesloft.salesloft_list_cadences '{"page":1,"per_page":1,"owned_by_user_id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_cadences '{"page":1,"per_page":1,"owned_by_user_id":1}' --json

salesloft.salesloft_get_cadence

Get one Salesloft cadence by ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_cadence '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_cadence '{"id":"example_id"}' --json

salesloft.salesloft_list_cadence_memberships

List people currently or previously in Salesloft cadences.

Read read
Parameters
page, per_page, cadence_id, person_id
Generic call
kosmo integrations:call salesloft.salesloft_list_cadence_memberships '{"page":1,"per_page":1,"cadence_id":1,"person_id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_cadence_memberships '{"page":1,"per_page":1,"cadence_id":1,"person_id":1}' --json

salesloft.salesloft_create_cadence_membership

Create a Salesloft cadence membership using an official payload.

Write write
Parameters
payload
Generic call
kosmo integrations:call salesloft.salesloft_create_cadence_membership '{"payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_create_cadence_membership '{"payload":"example_payload"}' --json

salesloft.salesloft_list_tasks

List Salesloft tasks with pagination and filters.

Read read
Parameters
page, per_page, user_id, person_id, due_on
Generic call
kosmo integrations:call salesloft.salesloft_list_tasks '{"page":1,"per_page":1,"user_id":1,"person_id":1,"due_on":"example_due_on"}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_tasks '{"page":1,"per_page":1,"user_id":1,"person_id":1,"due_on":"example_due_on"}' --json

salesloft.salesloft_get_task

Get one Salesloft task by ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_task '{"id":"example_id"}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_task '{"id":"example_id"}' --json

salesloft.salesloft_update_task

Update a Salesloft task by ID.

Write write
Parameters
id, payload
Generic call
kosmo integrations:call salesloft.salesloft_update_task '{"id":"example_id","payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_update_task '{"id":"example_id","payload":"example_payload"}' --json

salesloft.salesloft_list_calls

List Salesloft call activities with pagination and filters.

Read read
Parameters
page, per_page, person_id, user_id
Generic call
kosmo integrations:call salesloft.salesloft_list_calls '{"page":1,"per_page":1,"person_id":1,"user_id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_calls '{"page":1,"per_page":1,"person_id":1,"user_id":1}' --json

salesloft.salesloft_create_call

Create a Salesloft call activity using an official call payload.

Write write
Parameters
payload
Generic call
kosmo integrations:call salesloft.salesloft_create_call '{"payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_create_call '{"payload":"example_payload"}' --json

salesloft.salesloft_list_emails

List Salesloft email activities with pagination and filters.

Read read
Parameters
page, per_page, person_id, user_id
Generic call
kosmo integrations:call salesloft.salesloft_list_emails '{"page":1,"per_page":1,"person_id":1,"user_id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_emails '{"page":1,"per_page":1,"person_id":1,"user_id":1}' --json

salesloft.salesloft_list_notes

List Salesloft notes with pagination and filters.

Read read
Parameters
page, per_page, person_id, account_id
Generic call
kosmo integrations:call salesloft.salesloft_list_notes '{"page":1,"per_page":1,"person_id":1,"account_id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_notes '{"page":1,"per_page":1,"person_id":1,"account_id":1}' --json

salesloft.salesloft_create_note

Create a Salesloft note using an official note payload.

Write write
Parameters
payload
Generic call
kosmo integrations:call salesloft.salesloft_create_note '{"payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_create_note '{"payload":"example_payload"}' --json

salesloft.salesloft_list_sequences

List call sequences from Salesloft. Returns sequences with their IDs, names, statuses, and metadata. Supports pagination and optional status filtering.

Read read
Parameters
limit, page, status
Generic call
kosmo integrations:call salesloft.salesloft_list_sequences '{"limit":1,"page":1,"status":"example_status"}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_sequences '{"limit":1,"page":1,"status":"example_status"}' --json

salesloft.salesloft_get_sequence

Get detailed information about a specific call sequence in Salesloft by its ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_sequence '{"id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_sequence '{"id":1}' --json

salesloft.salesloft_create_sequence

Create a new call sequence in Salesloft with steps, owner assignment, status, and targets.

Write write
Parameters
name, steps, owner_id, status, targets
Generic call
kosmo integrations:call salesloft.salesloft_create_sequence '{"name":"example_name","steps":"example_steps","owner_id":1,"status":"example_status","targets":"example_targets"}' --json
Shortcut
kosmo integrations:salesloft salesloft_create_sequence '{"name":"example_name","steps":"example_steps","owner_id":1,"status":"example_status","targets":"example_targets"}' --json

salesloft.salesloft_list_rules

List automation rules from Salesloft. Returns rules with their IDs, names, conditions, and actions.

Read read
Parameters
limit, page
Generic call
kosmo integrations:call salesloft.salesloft_list_rules '{"limit":1,"page":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_list_rules '{"limit":1,"page":1}' --json

salesloft.salesloft_get_rule

Get detailed information about a specific automation rule in Salesloft by its ID.

Read read
Parameters
id
Generic call
kosmo integrations:call salesloft.salesloft_get_rule '{"id":1}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_rule '{"id":1}' --json

salesloft.salesloft_get_current_user

Get the profile of the currently authenticated Salesloft user. Useful for verifying credentials and identifying the connected account.

Read read
Parameters
none
Generic call
kosmo integrations:call salesloft.salesloft_get_current_user '{}' --json
Shortcut
kosmo integrations:salesloft salesloft_get_current_user '{}' --json

salesloft.salesloft_api_get

Call a relative Salesloft API GET path, such as "/v2/people". Absolute URLs are rejected.

Read read
Parameters
path, params
Generic call
kosmo integrations:call salesloft.salesloft_api_get '{"path":"example_path","params":"example_params"}' --json
Shortcut
kosmo integrations:salesloft salesloft_api_get '{"path":"example_path","params":"example_params"}' --json

salesloft.salesloft_api_post

Call a relative Salesloft API POST path. Absolute URLs are rejected.

Write write
Parameters
path, payload
Generic call
kosmo integrations:call salesloft.salesloft_api_post '{"path":"example_path","payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_api_post '{"path":"example_path","payload":"example_payload"}' --json

salesloft.salesloft_api_put

Call a relative Salesloft API PUT path. Absolute URLs are rejected.

Write write
Parameters
path, payload
Generic call
kosmo integrations:call salesloft.salesloft_api_put '{"path":"example_path","payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_api_put '{"path":"example_path","payload":"example_payload"}' --json

salesloft.salesloft_api_delete

Call a relative Salesloft API DELETE path. Absolute URLs are rejected.

Write write
Parameters
path, payload
Generic call
kosmo integrations:call salesloft.salesloft_api_delete '{"path":"example_path","payload":"example_payload"}' --json
Shortcut
kosmo integrations:salesloft salesloft_api_delete '{"path":"example_path","payload":"example_payload"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

salesloft.salesloft_list_users 3 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_users --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
email string no Filter by email.
salesloft.salesloft_get_user 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_user --json
ParameterTypeRequiredDescription
id string yes User ID.
salesloft.salesloft_list_people 4 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_people --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
email_address string no Filter by email address.
account_id integer no Filter by account ID.
salesloft.salesloft_get_person 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_person --json
ParameterTypeRequiredDescription
id string yes Person ID.
salesloft.salesloft_create_person 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_create_person --json
ParameterTypeRequiredDescription
payload object yes Person creation payload.
salesloft.salesloft_update_person 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_update_person --json
ParameterTypeRequiredDescription
id string yes Person ID.
payload object yes Person update payload.
salesloft.salesloft_delete_person 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_delete_person --json
ParameterTypeRequiredDescription
id string yes Person ID.
salesloft.salesloft_list_accounts 3 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_accounts --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
domain string no Filter by domain.
salesloft.salesloft_get_account 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_account --json
ParameterTypeRequiredDescription
id string yes Account ID.
salesloft.salesloft_create_account 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_create_account --json
ParameterTypeRequiredDescription
payload object yes Account creation payload.
salesloft.salesloft_update_account 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_update_account --json
ParameterTypeRequiredDescription
id string yes Account ID.
payload object yes Account update payload.
salesloft.salesloft_delete_account 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_delete_account --json
ParameterTypeRequiredDescription
id string yes Account ID.
salesloft.salesloft_list_cadences 3 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_cadences --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
owned_by_user_id integer no Filter by owner user ID.
salesloft.salesloft_get_cadence 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_cadence --json
ParameterTypeRequiredDescription
id string yes Cadence ID.
salesloft.salesloft_list_cadence_memberships 4 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_cadence_memberships --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
cadence_id integer no Filter by cadence ID.
person_id integer no Filter by person ID.
salesloft.salesloft_create_cadence_membership 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_create_cadence_membership --json
ParameterTypeRequiredDescription
payload object yes Cadence membership payload.
salesloft.salesloft_list_tasks 5 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_tasks --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
user_id integer no Filter by assigned user.
person_id integer no Filter by person.
due_on string no Filter by due date.
salesloft.salesloft_get_task 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_task --json
ParameterTypeRequiredDescription
id string yes Task ID.
salesloft.salesloft_update_task 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_update_task --json
ParameterTypeRequiredDescription
id string yes Task ID.
payload object yes Task update payload.
salesloft.salesloft_list_calls 4 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_calls --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
person_id integer no Filter by person.
user_id integer no Filter by user.
salesloft.salesloft_create_call 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_create_call --json
ParameterTypeRequiredDescription
payload object yes Call activity payload.
salesloft.salesloft_list_emails 4 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_emails --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
person_id integer no Filter by person.
user_id integer no Filter by user.
salesloft.salesloft_list_notes 4 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_notes --json
ParameterTypeRequiredDescription
page integer no Page number.
per_page integer no Items per page.
person_id integer no Filter by person.
account_id integer no Filter by account.
salesloft.salesloft_create_note 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_create_note --json
ParameterTypeRequiredDescription
payload object yes Note payload.
salesloft.salesloft_list_sequences 3 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_sequences --json
ParameterTypeRequiredDescription
limit integer no Maximum number of sequences to return per page (default: 25).
page integer no Page number for pagination (default: 1).
status string no Filter sequences by status (e.g., "active", "paused").
salesloft.salesloft_get_sequence 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_sequence --json
ParameterTypeRequiredDescription
id integer yes The sequence ID.
salesloft.salesloft_create_sequence 5 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_create_sequence --json
ParameterTypeRequiredDescription
name string yes Name of the call sequence.
steps array no Array of step definitions for the sequence. Each step defines an action (e.g., call, email).
owner_id integer no ID of the user who will own this sequence.
status string no Initial status of the sequence (e.g., "active", "paused").
targets array no Array of target people or account IDs to add to the sequence.
salesloft.salesloft_list_rules 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_list_rules --json
ParameterTypeRequiredDescription
limit integer no Maximum number of rules to return per page (default: 25).
page integer no Page number for pagination (default: 1).
salesloft.salesloft_get_rule 1 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_rule --json
ParameterTypeRequiredDescription
id integer yes The rule ID.
salesloft.salesloft_get_current_user 0 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
salesloft.salesloft_api_get 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_api_get --json
ParameterTypeRequiredDescription
path string yes Relative Salesloft API path.
params object no Query parameters.
salesloft.salesloft_api_post 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_api_post --json
ParameterTypeRequiredDescription
path string yes Relative Salesloft API path.
payload object no JSON body.
salesloft.salesloft_api_put 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_api_put --json
ParameterTypeRequiredDescription
path string yes Relative Salesloft API path.
payload object no JSON body.
salesloft.salesloft_api_delete 2 parameters
Schema command
kosmo integrations:schema salesloft.salesloft_api_delete --json
ParameterTypeRequiredDescription
path string yes Relative Salesloft API path.
payload object no Optional JSON body.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.