KosmoKrator

marketing

ManyChat CLI for AI Agents

Use the ManyChat CLI from KosmoKrator to call ManyChat tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

6 functions 4 read 2 write API key auth

ManyChat CLI Setup

ManyChat can be configured headlessly with `kosmokrator integrations:configure manychat`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure manychat --set api_key="$MANYCHAT_API_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor manychat --json
kosmokrator integrations:status --json

Credentials

Authentication type: API key api_key. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
api_key MANYCHAT_API_KEY Secret secret yes API Key
url MANYCHAT_URL URL url no API Base URL

Call ManyChat Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call manychat.manychat_list_flows '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:manychat manychat_list_flows '{}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities 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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to ManyChat.

manychat.manychat_list_flows

Read read

List all flows (pages) in your ManyChat account. Returns flow IDs and names that can be used with get_flow.

Parameters
none

Generic CLI call

kosmo integrations:call manychat.manychat_list_flows '{}' --json

Provider shortcut

kosmo integrations:manychat manychat_list_flows '{}' --json

manychat.manychat_get_flow

Read read

Get details of a specific ManyChat flow (page) by ID. Returns the full flow configuration including nodes and content.

Parameters
page_id

Generic CLI call

kosmo integrations:call manychat.manychat_get_flow '{"page_id":"example_page_id"}' --json

Provider shortcut

kosmo integrations:manychat manychat_get_flow '{"page_id":"example_page_id"}' --json

manychat.manychat_send_message

Write write

Send a message via ManyChat to a subscriber on Instagram, Messenger, WhatsApp, or SMS. Requires a subscriber ID and message content.

Parameters
subscriber_id, message, message_type

Generic CLI call

kosmo integrations:call manychat.manychat_send_message '{"subscriber_id":"example_subscriber_id","message":"example_message","message_type":"example_message_type"}' --json

Provider shortcut

kosmo integrations:manychat manychat_send_message '{"subscriber_id":"example_subscriber_id","message":"example_message","message_type":"example_message_type"}' --json

manychat.manychat_list_tags

Read read

List all tags in your ManyChat account. Tags are used to segment subscribers and trigger automations.

Parameters
none

Generic CLI call

kosmo integrations:call manychat.manychat_list_tags '{}' --json

Provider shortcut

kosmo integrations:manychat manychat_list_tags '{}' --json

manychat.manychat_create_tag

Write write

Create a new tag in ManyChat. Tags help segment subscribers for targeted messaging and automation.

Parameters
name

Generic CLI call

kosmo integrations:call manychat.manychat_create_tag '{"name":"example_name"}' --json

Provider shortcut

kosmo integrations:manychat manychat_create_tag '{"name":"example_name"}' --json

manychat.manychat_get_current_user

Read read

Get the currently authenticated ManyChat user profile. Returns account details, plan info, and connected channels.

Parameters
none

Generic CLI call

kosmo integrations:call manychat.manychat_get_current_user '{}' --json

Provider shortcut

kosmo integrations:manychat manychat_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

manychat.manychat_list_flows

List all flows (pages) in your ManyChat account. Returns flow IDs and names that can be used with get_flow.

Operation
Read read
Schema command
kosmo integrations:schema manychat.manychat_list_flows --json
ParameterTypeRequiredDescription
No parameters.

manychat.manychat_get_flow

Get details of a specific ManyChat flow (page) by ID. Returns the full flow configuration including nodes and content.

Operation
Read read
Schema command
kosmo integrations:schema manychat.manychat_get_flow --json
ParameterTypeRequiredDescription
page_id string yes The flow (page) ID to retrieve.

manychat.manychat_send_message

Send a message via ManyChat to a subscriber on Instagram, Messenger, WhatsApp, or SMS. Requires a subscriber ID and message content.

Operation
Write write
Schema command
kosmo integrations:schema manychat.manychat_send_message --json
ParameterTypeRequiredDescription
subscriber_id string yes The ManyChat subscriber ID to send the message to.
message object yes The message payload to send. Can include text, buttons, cards, or other supported message types.
message_type string no The messaging channel: "instagram", "messenger", "whatsapp", or "sms". Defaults to the subscriber's primary channel.

manychat.manychat_list_tags

List all tags in your ManyChat account. Tags are used to segment subscribers and trigger automations.

Operation
Read read
Schema command
kosmo integrations:schema manychat.manychat_list_tags --json
ParameterTypeRequiredDescription
No parameters.

manychat.manychat_create_tag

Create a new tag in ManyChat. Tags help segment subscribers for targeted messaging and automation.

Operation
Write write
Schema command
kosmo integrations:schema manychat.manychat_create_tag --json
ParameterTypeRequiredDescription
name string yes The name for the new tag (e.g., "VIP Customer", "Newsletter Subscriber").

manychat.manychat_get_current_user

Get the currently authenticated ManyChat user profile. Returns account details, plan info, and connected channels.

Operation
Read read
Schema command
kosmo integrations:schema manychat.manychat_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.