Botcake integration
Botcake is a chatbot and broadcast platform for Facebook, Instagram, WhatsApp and other messaging pages. For one connected page, agents can read customers, their tags and custom fields, set custom field values, list flows, sequences, keywords, ice breakers, the menu and message templates with their delivery statistics, send a flow or dynamic content to a customer, manage keyword rules, AI agents and the Default Reply settings, read message cost and AI usage, and run Meta Marketing Messages campaigns. Default Reply content blocks, media uploads and the account-level page and token listings are not exposed. Authentication is the page's API token (Settings > Integration > API in Botcake) plus the page id; every call acts on that page.
Say what should happen.
The workflow builds itself.
What you can do with Botcake
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Agent, 5 operations
create_ai_agentCreate ai agentPOSTCreates an AI agent for the page. Only name is required. The new agent does not reply to customers until it is made the default (update_default_reply_settings, default_assistant_id).get_ai_agentGet ai agentGETReturns one AI agent with its prompt sections, documented behavior settings and sample conversation. Use default as agent_id for the agent currently replying to customers.list_ai_agentsList ai agentsGETLists the page's AI agents, oldest first: id, name, description, model, whether locked and whether it is the default agent replying to customers.update_ai_agentUpdate ai agentPUTUpdates one AI agent. Only the fields sent change; settings are merged, instructions replaced as a whole. A locked agent is refused.update_default_ai_agentUpdate default ai agentPUTUpdates the page's default AI agent, the one replying to customers, without knowing its id. Only the fields sent change; settings are merged and instructions replaced whole. Changes go live for customers.
Statistic, 5 operations
get_broadcast_statisticsGet broadcast statisticsGETReturns delivery statistics of a broadcast: sent, delivered, failed, seen, clicked; WhatsApp Business pages also get orders, revenue and replies.get_flow_statisticsGet flow statisticsGETReturns delivery statistics of one flow: messages sent, delivered, seen and clicked, and recipients with a phone number.get_marketing_message_statisticsGet marketing message statisticsGETReturns marketing messages with Meta delivery insights (delivered, link clicks, spend, read rate, costs): one message when message_id is given, else a page of messages.get_sequence_statisticsGet sequence statisticsGETReturns, for each message of a sequence, its send schedule and how many times it was sent, delivered, seen and clicked.list_sequence_message_recipientsList sequence message recipientsGETLists the customers who received one message of a sequence, with whether it was delivered, seen and clicked, and their name and phone numbers (personal data).
Message, 4 operations
create_marketing_messageCreate marketing messagePOSTCreates a FREEFORM Meta marketing message campaign with a daily budget on the ad account. Created PAUSED unless status ACTIVE is sent; an active campaign spends real ad money.delete_marketing_messageDelete marketing messageDELETEDeletes a marketing message campaign from Meta and removes it from Botcake.get_marketing_messageGet marketing messageGETReturns one marketing message campaign with its fresh status from Meta.list_marketing_messagesList marketing messagesGETLists the page's Meta marketing message campaigns for an ad account, newest first, with fresh status from Meta and, with get_insights true, delivery insights.
Custom audience, 2 operations
create_custom_audienceCreate custom audiencePOSTCreates a marketing message custom audience on Meta; Botcake syncs its subscription tokens about 15 minutes later.list_custom_audiencesList custom audiencesGETLists the page's marketing message custom audiences for an ad account, newest first: name, status, size estimate and cached subscriber-token count.
Customer field, 2 operations
get_customer_fieldsGet customer fieldsGETReturns the custom field values stored on one customer (custom field id and value) and the customer's name (personal data).update_customer_fieldsUpdate customer fieldsPOSTSets custom field values on one customer, overwriting what each named field held.
Default reply, 2 operations
get_default_reply_settingsGet default reply settingsGETReturns the page's Default Reply settings (the reply sent when no other scenario matches): on or off, AI or composed reply, which AI agent, wait times, plus the page's AI agents.update_default_reply_settingsUpdate default reply settingsPOSTChanges Default Reply settings, for example turning it on or choosing the AI agent that replies. Only the fields sent change; updated_fields lists what actually changed.
Flow, 2 operations
list_flowsList flowsGETLists the page's flows (automated message scenarios) and flow folders: id, name, parent folder and whether a flow was removed. A flow id is the flow_id send_flow and update_keyword take.list_folder_flowsList folder flowsGETLists the flows and sub-folders inside one flow folder.
Sync from meta, 2 operations
sync_custom_audiencesSync custom audiencesPOSTStarts a background re-import of the page's custom audiences from Meta for one ad account and returns at once.sync_marketing_messagesSync marketing messagesPOSTStarts a background re-import of the page's marketing messages from Meta for one ad account and returns at once.
Ad account, 1 operation
list_ad_accountsList ad accountsGETLists the Meta ad accounts linked to the page for Marketing Messages. Their ids are the ad_account_id every other marketing message tool needs.
Create, 1 operation
create_keywordCreate keywordPOSTCreates a new, empty keyword rule with no flow attached and returns its id; attach a flow with update_keyword.
Custom field, 1 operation
list_custom_fieldsList custom fieldsGETLists the custom fields defined on the page: id, name, description and data type code.
Customer, 1 operation
list_customersList customersGETLists the page's customers: Botcake id, page-scoped psid, full name and collected phone numbers (personal data).
Get customers field, 1 operation
list_custom_field_valuesList custom field valuesGETLists the customers holding a value for one custom field, with their name and the value (personal data).
Get list tag, 1 operation
list_tagsList tagsGETLists the page's tags: Botcake id, name and the matching Pancake tag id.
Get tag statistic, 1 operation
get_tag_statisticsGet tag statisticsGETReturns, for each tag used in a time range, how many times it was attached to and removed from customers, with its name and color.
Ice breaker, 1 operation
list_ice_breakersList ice breakersGETLists the page's ice breakers (conversation starters shown to new customers) and the flow each one runs.
Info, 1 operation
get_customerGet customerGETReturns one customer by psid, including unsubscribed ones: name, phone numbers, ad ids, subscription and last-interaction times, whether the bot is off for them, and their tags (personal data).
Keyword, 1 operation
list_keywordsList keywordsGETLists the page's keyword rules: id, the flow each one runs and whether it is active.
Main menu, 1 operation
get_main_menuGet main menuGETLists the items of the page's persistent menu: label, type (flow or link) and the flow or URL it opens.
Message statistic, 1 operation
get_message_statisticsGet message statisticsGETReturns a daily breakdown of messages the page sent and what they cost, split by traffic type (broadcast, sequence, comment replies, inbox from comment, AI, marketing messages).
Message template, 1 operation
list_message_templatesList message templatesGETLists the page's WhatsApp message templates as stored in Botcake: name, category, language, review status and components.
Retrieve media url, 1 operation
get_media_urlGet media urlGETReturns the download URL (and, for an image, its dimensions) of a media file by its media id and MIME type.
Send content, 1 operation
send_contentSend contentPOSTSends messages built on the fly (text, media, gallery, WhatsApp template) to a customer, a real person. Over 24 hours after their last message, Meta's 24-hour rule allows only non-promotional content with message_tag (a template on WhatsApp).
Send flow, 1 operation
send_flowSend flowPOSTSends one of the page's flows to a customer, a real person who receives its messages. Over 24 hours after their last message, Meta's 24-hour rule allows only non-promotional tagged messages; a promotional flow breaks it. payload fills variables.
Send marketing content, 1 operation
send_marketing_messageSend marketing messagePOSTSends a real, billable Meta marketing message to one subscriber, identified by subscription_token or psid (exactly one).
Sequence, 1 operation
list_sequencesList sequencesGETLists the page's sequences (timed series of messages): id and name.
Status, 1 operation
update_marketing_message_statusUpdate marketing message statusPUTChanges a marketing message campaign's status on Meta. ACTIVE also activates its campaign and ad set, which starts spending the budget; PAUSED stops it.
Sync, 1 operation
sync_message_templatesSync message templatesGETRe-imports the page's WhatsApp message templates from Meta, then returns them.
Tool, 1 operation
list_toolsList toolsGETLists the page's Botcake tools: id, name, type and whether each is published.
Update, 1 operation
update_keywordUpdate keywordPOSTChanges which flow a keyword rule runs when it matches.
Usage, 1 operation
get_ai_usageGet ai usageGETReturns the page's AI cost in USD over a date range (up to 366 days), with message, conversation and token counts, broken down per model and per tool, by day or for the whole range.
Use Botcake from Claude Code, Cursor or Codex
Connect Botcake in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Botcake operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Botcake
- Create your workspace
Sign up free. Nothing to install.
- Connect Botcake once
Add your Botcake connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Botcake integration FAQ
What can you do with the Botcake integration?
LiveContext exposes 47 operations on Botcake, covering agent, statistic, message and custom audience.
