marketing
ManyChat CLI for Cron Jobs
Use the ManyChat CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 4 read 2 write API key auth
ManyChat 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 ManyChat CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# ManyChat CLI for Cron Jobs
kosmokrator integrations:configure manychat --set api_key="$MANYCHAT_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call manychat.manychat_list_flows '{}' --json Discovery Before Execution
Agents and scripts can inspect ManyChat docs and schemas before choosing a function.
kosmo integrations:docs manychat --json
kosmo integrations:docs manychat.manychat_list_flows --json
kosmo integrations:schema manychat.manychat_list_flows --json
kosmo integrations:search "ManyChat" --json
kosmo integrations:list --json Useful ManyChat CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
manychat.manychat_list_flows | Read | none | List all flows (pages) in your ManyChat account. Returns flow IDs and names that can be used with get_flow. |
manychat.manychat_get_flow | Read | page_id | Get details of a specific ManyChat flow (page) by ID. Returns the full flow configuration including nodes and content. |
manychat.manychat_send_message | Write | subscriber_id, message, message_type | Send a message via ManyChat to a subscriber on Instagram, Messenger, WhatsApp, or SMS. Requires a subscriber ID and message content. |
manychat.manychat_list_tags | Read | none | List all tags in your ManyChat account. Tags are used to segment subscribers and trigger automations. |
manychat.manychat_create_tag | Write | name | Create a new tag in ManyChat. Tags help segment subscribers for targeted messaging and automation. |
manychat.manychat_get_current_user | Read | none | Get the currently authenticated ManyChat user profile. Returns account details, plan info, and connected channels. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.