KosmoKrator

email

Constant Contact CLI for Cron Jobs

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

6 functions 5 read 1 write Manual OAuth token auth

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

Command Shape

# Constant Contact CLI for Cron Jobs
kosmokrator integrations:configure constant_contact --set access_token="$CONSTANT_CONTACT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call constant_contact.constantcontact_list_contacts '{"limit":1,"cursor":"example_cursor","status":"example_status"}' --json

Discovery Before Execution

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

kosmo integrations:docs constant_contact --json
kosmo integrations:docs constant_contact.constantcontact_list_contacts --json
kosmo integrations:schema constant_contact.constantcontact_list_contacts --json
kosmo integrations:search "Constant Contact" --json
kosmo integrations:list --json

Useful Constant Contact CLI Functions

FunctionTypeParametersDescription
constant_contact.constantcontact_list_contacts Read limit, cursor, status List contacts from Constant Contact. Supports pagination and filtering by status (active, unconfirmed, opted_out, non_subscriber).
constant_contact.constantcontact_get_contact Read contact_id Get detailed information for a single Constant Contact contact by ID, including email, name, phone, address, and list memberships.
constant_contact.constantcontact_create_contact Write email, first_name, last_name, list_ids Create a new contact in Constant Contact. Requires an email address. Optionally set first name, last name, and assign to lists.
constant_contact.constantcontact_list_campaigns Read limit, cursor List email campaigns from Constant Contact. Supports cursor-based pagination.
constant_contact.constantcontact_list_lists Read none List all contact lists in Constant Contact. Returns list IDs, names, and membership counts. Use list IDs when creating contacts.
constant_contact.constantcontact_get_current_user Read none Get the authenticated user's Constant Contact account information, including name, email, and organization details.

Automation Notes

Related Constant Contact CLI Pages