KosmoKrator

productivity

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.

Manychat CLI Setup

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

Install, configure, and verify
# 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 reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
api_key MANYCHAT_API_KEY Secret secret yes Account API Key
profile_api_key MANYCHAT_PROFILE_API_KEY Secret secret no Profile API Key
url MANYCHAT_URL URL url no API Base URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call manychat.manychat_get_page_info '{}' --json
Provider shortcut
kosmo integrations:manychat manychat_get_page_info '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs manychat --json
kosmo integrations:docs manychat.manychat_get_page_info --json
kosmo integrations:schema manychat.manychat_get_page_info --json
kosmo integrations:search "Manychat" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

manychat.manychat_get_page_info

Get Manychat page/account information.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_get_page_info '{}' --json
Shortcut
kosmo integrations:manychat manychat_get_page_info '{}' --json

manychat.manychat_get_current_user

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

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_get_current_user '{}' --json
Shortcut
kosmo integrations:manychat manychat_get_current_user '{}' --json

manychat.manychat_list_flows

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

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_list_flows '{}' --json
Shortcut
kosmo integrations:manychat manychat_list_flows '{}' --json

manychat.manychat_get_flow

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

Read read
Parameters
page_id
Generic call
kosmo integrations:call manychat.manychat_get_flow '{"page_id":"example_page_id"}' --json
Shortcut
kosmo integrations:manychat manychat_get_flow '{"page_id":"example_page_id"}' --json

manychat.manychat_list_tags

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

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_list_tags '{}' --json
Shortcut
kosmo integrations:manychat manychat_list_tags '{}' --json

manychat.manychat_create_tag

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

Write write
Parameters
name
Generic call
kosmo integrations:call manychat.manychat_create_tag '{"name":"example_name"}' --json
Shortcut
kosmo integrations:manychat manychat_create_tag '{"name":"example_name"}' --json

manychat.manychat_remove_tag

Remove a bot tag by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_remove_tag '{}' --json
Shortcut
kosmo integrations:manychat manychat_remove_tag '{}' --json

manychat.manychat_remove_tag_by_name

Remove a bot tag by name.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_remove_tag_by_name '{}' --json
Shortcut
kosmo integrations:manychat manychat_remove_tag_by_name '{}' --json

manychat.manychat_list_growth_tools

List growth tools.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_list_growth_tools '{}' --json
Shortcut
kosmo integrations:manychat manychat_list_growth_tools '{}' --json

manychat.manychat_list_custom_fields

List custom user fields.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_list_custom_fields '{}' --json
Shortcut
kosmo integrations:manychat manychat_list_custom_fields '{}' --json

manychat.manychat_create_custom_field

Create a custom user field.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_create_custom_field '{}' --json
Shortcut
kosmo integrations:manychat manychat_create_custom_field '{}' --json

manychat.manychat_list_bot_fields

List bot fields.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_list_bot_fields '{}' --json
Shortcut
kosmo integrations:manychat manychat_list_bot_fields '{}' --json

manychat.manychat_set_bot_field

Set a bot field by ID.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_set_bot_field '{}' --json
Shortcut
kosmo integrations:manychat manychat_set_bot_field '{}' --json

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.

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

manychat.manychat_send_content

Send content to a subscriber.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_send_content '{}' --json
Shortcut
kosmo integrations:manychat manychat_send_content '{}' --json

manychat.manychat_send_flow

Send a flow to a subscriber.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_send_flow '{}' --json
Shortcut
kosmo integrations:manychat manychat_send_flow '{}' --json

manychat.manychat_get_subscriber_info

Get subscriber info by ID.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_get_subscriber_info '{}' --json
Shortcut
kosmo integrations:manychat manychat_get_subscriber_info '{}' --json

manychat.manychat_find_subscriber_by_name

Find subscribers by name.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_find_subscriber_by_name '{}' --json
Shortcut
kosmo integrations:manychat manychat_find_subscriber_by_name '{}' --json

manychat.manychat_add_subscriber_tag

Add a tag to a subscriber.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_add_subscriber_tag '{}' --json
Shortcut
kosmo integrations:manychat manychat_add_subscriber_tag '{}' --json

manychat.manychat_remove_subscriber_tag

Remove a tag from a subscriber.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_remove_subscriber_tag '{}' --json
Shortcut
kosmo integrations:manychat manychat_remove_subscriber_tag '{}' --json

manychat.manychat_set_subscriber_custom_field

Set one subscriber custom field.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_set_subscriber_custom_field '{}' --json
Shortcut
kosmo integrations:manychat manychat_set_subscriber_custom_field '{}' --json

manychat.manychat_create_subscriber

Create a subscriber.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_create_subscriber '{}' --json
Shortcut
kosmo integrations:manychat manychat_create_subscriber '{}' --json

manychat.manychat_update_subscriber

Update a subscriber.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_update_subscriber '{}' --json
Shortcut
kosmo integrations:manychat manychat_update_subscriber '{}' --json

manychat.manychat_api_get

Call a documented GET endpoint.

Read read
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_api_get '{}' --json
Shortcut
kosmo integrations:manychat manychat_api_get '{}' --json

manychat.manychat_api_post

Call a documented POST endpoint.

Write write
Parameters
none
Generic call
kosmo integrations:call manychat.manychat_api_post '{}' --json
Shortcut
kosmo integrations:manychat manychat_api_post '{}' --json

Function Schemas

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

manychat.manychat_get_page_info 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_get_page_info --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_get_current_user 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_list_flows 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_list_flows --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_get_flow 1 parameters
Schema command
kosmo integrations:schema manychat.manychat_get_flow --json
ParameterTypeRequiredDescription
page_id string yes Flow namespace or ID to find in the getFlows response.
manychat.manychat_list_tags 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_list_tags --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_create_tag 1 parameters
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_remove_tag 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_remove_tag --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_remove_tag_by_name 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_remove_tag_by_name --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_list_growth_tools 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_list_growth_tools --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_list_custom_fields 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_list_custom_fields --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_create_custom_field 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_create_custom_field --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_list_bot_fields 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_list_bot_fields --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_set_bot_field 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_set_bot_field --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_send_message 3 parameters
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_send_content 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_send_content --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_send_flow 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_send_flow --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_get_subscriber_info 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_get_subscriber_info --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_find_subscriber_by_name 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_find_subscriber_by_name --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_add_subscriber_tag 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_add_subscriber_tag --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_remove_subscriber_tag 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_remove_subscriber_tag --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_set_subscriber_custom_field 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_set_subscriber_custom_field --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_create_subscriber 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_create_subscriber --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_update_subscriber 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_update_subscriber --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_api_get 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_api_get --json
ParameterTypeRequiredDescription
No parameters.
manychat.manychat_api_post 0 parameters
Schema command
kosmo integrations:schema manychat.manychat_api_post --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.