KosmoKrator

sales

Zendesk Sell CLI for Cron Jobs

Use the Zendesk Sell CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Bearer token auth

Zendesk Sell CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. The Zendesk Sell CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Zendesk Sell CLI for Cron Jobs
kosmokrator integrations:configure zendesk-sell --set access_token="$ZENDESK_SELL_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call zendesk-sell.zendesk_sell_list_contacts '{"page":1,"per_page":1,"sort_by":"example_sort_by"}' --json

Discovery Before Execution

Agents and scripts can inspect Zendesk Sell docs and schemas before choosing a function.

kosmo integrations:docs zendesk-sell --json
kosmo integrations:docs zendesk-sell.zendesk_sell_list_contacts --json
kosmo integrations:schema zendesk-sell.zendesk_sell_list_contacts --json
kosmo integrations:search "Zendesk Sell" --json
kosmo integrations:list --json

Useful Zendesk Sell CLI Functions

FunctionTypeParametersDescription
zendesk-sell.zendesk_sell_list_contacts Read page, per_page, sort_by List contacts in Zendesk Sell. Returns paginated results sorted by the specified field. Use this to browse, search, or export contacts from the CRM.
zendesk-sell.zendesk_sell_get_contact Read id Get full details of a specific contact in Zendesk Sell by its ID. Returns all contact fields including email, phone, organization, and custom fields.
zendesk-sell.zendesk_sell_create_contact Write first_name, last_name, email, organization_id Create a new contact in Zendesk Sell. Provide at least a first name and last name. Optionally include email and organization ID to associate the contact with an existing organization.
zendesk-sell.zendesk_sell_list_deals Read page, per_page, status List deals in Zendesk Sell. Optionally filter by status (open, won, lost, abandoned). Returns paginated results.
zendesk-sell.zendesk_sell_get_deal Read id Get full details of a specific deal in Zendesk Sell by its ID. Returns deal value, status, associated contact and organization, pipeline stage, and custom fields.
zendesk-sell.zendesk_sell_list_leads Read page, per_page List leads in Zendesk Sell. Returns paginated results with lead details including contact info, status, and source.
zendesk-sell.zendesk_sell_get_current_user Read none Get the profile of the currently authenticated Zendesk Sell user. Use this to verify credentials and identify the connected account.

Automation Notes

Related Zendesk Sell CLI Pages