KosmoKrator

other

Outreach CLI for Shell Scripts

Use the Outreach CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write Manual OAuth token auth

Outreach CLI for Shell Scripts

Call integration functions from shell scripts with stable JSON input and output.

Use shell scripts for small local automations that need one or more integration calls. The Outreach CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Outreach CLI for Shell Scripts
kosmokrator integrations:configure outreach --set access_token="$OUTREACH_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call outreach.outreach_list_prospects '{"page_size":1,"page_number":1,"sort":"example_sort","filter":"example_filter"}' --json

Discovery Before Execution

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

kosmo integrations:docs outreach --json
kosmo integrations:docs outreach.outreach_list_prospects --json
kosmo integrations:schema outreach.outreach_list_prospects --json
kosmo integrations:search "Outreach" --json
kosmo integrations:list --json

Useful Outreach CLI Functions

FunctionTypeParametersDescription
outreach.outreach_list_prospects Read page_size, page_number, sort, filter List prospects in Outreach with optional filtering, sorting, and pagination. Returns prospect records including names, emails, and company info.
outreach.outreach_get_prospect Read id Get a single prospect from Outreach by ID. Returns full prospect details including contact info, custom fields, and related data.
outreach.outreach_create_prospect Write first_name, last_name, emails, company Create a new prospect in Outreach. Provide first name, last name, emails, and optional company to add a contact to your prospect database.
outreach.outreach_list_sequences Read page_size, page_number List sales sequences in Outreach with optional pagination. Returns sequence details including name, status, and creation date.
outreach.outreach_get_sequence Read id Get a single sales sequence from Outreach by ID. Returns full sequence details including steps, settings, and associated metadata.
outreach.outreach_list_accounts Read page_size, page_number List accounts (organizations) in Outreach with optional pagination. Returns account details including name, domain, and company information.
outreach.outreach_get_current_user Read none Get the currently authenticated Outreach user. Returns user profile details including name, email, and role.

Automation Notes

Related Outreach CLI Pages