KosmoKrator

other

Wealthbox CLI for Cron Jobs

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

9 functions 7 read 2 write Bearer token auth

Wealthbox 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 Wealthbox CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Wealthbox CLI for Cron Jobs
kosmokrator integrations:configure wealthbox --set access_token="$WEALTHBOX_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call wealthbox.wealthbox_list_contacts '{"page":1,"per_page":1,"search":"example_search"}' --json

Discovery Before Execution

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

kosmo integrations:docs wealthbox --json
kosmo integrations:docs wealthbox.wealthbox_list_contacts --json
kosmo integrations:schema wealthbox.wealthbox_list_contacts --json
kosmo integrations:search "Wealthbox" --json
kosmo integrations:list --json

Useful Wealthbox CLI Functions

FunctionTypeParametersDescription
wealthbox.wealthbox_list_contacts Read page, per_page, search List contacts from Wealthbox CRM. Returns a paginated list of contacts with their details. Use search to filter by name or email.
wealthbox.wealthbox_get_contact Read id Get a specific contact from Wealthbox CRM by their ID. Returns full contact details including name, email, phone, address, and custom fields.
wealthbox.wealthbox_create_contact Write first_name, last_name, email, phone, street, city, state, zip, type, tags Create a new contact in Wealthbox CRM. At minimum provide a first name or last name. You can also include email, phone, address, and other contact details.
wealthbox.wealthbox_list_tasks Read page, per_page, status List tasks from Wealthbox CRM. Returns a paginated list of tasks with their details including name, due date, status, and assignee.
wealthbox.wealthbox_create_task Write name, due_date, description, assignee_id, contact_id, priority Create a new task in Wealthbox CRM. Provide a task name and optionally a due date, description, and assignee.
wealthbox.wealthbox_list_opportunities Read page, per_page, status List opportunities (sales pipeline) from Wealthbox CRM. Returns a paginated list of opportunities with details like name, value, stage, and associated contact.
wealthbox.wealthbox_list_workflows Read page, per_page List workflows from Wealthbox CRM. Returns a paginated list of workflows with their steps, status, and associated contacts.
wealthbox.wealthbox_list_events Read page, per_page, start_date, end_date List calendar events from Wealthbox CRM. Returns a paginated list of events with their title, date, time, and associated contacts.
wealthbox.wealthbox_get_current_user Read none Get the currently authenticated Wealthbox user. Returns user profile information including name, email, and account details.

Automation Notes

Related Wealthbox CLI Pages