Cofounder

Communicate and Sell

Reach customers. Give the company an inbox and phone number, post to social, keep the CRM current, and check your brand.

Reach customers from the company's own accounts. Your agent sends email, receives texts on a company phone number, posts and replies on social, and keeps the CRM up to date. Each section links to the full guide.

Set Up Email and Phone

Your agent gives the company an inbox and a phone number. It sends and reads email, and reads the texts people send to the number. Email covers the rest of email: reading and replying, drafts, campaigns to CRM contacts, your own mail domain, and email from your app.

Phone numbers cost money. Your agent buys a real number, billed every month, or reuses the one the company already has. Releasing the number deletes its message history, and a number bought later is a different one.

On prepaid credits, buying a new number needs an active company subscription. Start checkout with cofounder company billing subscribe, pay, and your agent tries again. Reusing or releasing a number doesn't need the subscription.

A new number can receive texts right away. Sending texts isn't supported.

Your agent can show the latest message from each number that has texted you, or one number's full history.

Keep the CRM Current

The built-in CRM holds accounts, contacts, deals, and an activity log. CRM covers records, enrichment, and finding prospects. MCP clients can also open the CRM as a board. See MCP Beyond Tools.

Run Ads, Read Analytics, and Research

Ads covers paid campaigns from account setup to results. Research covers quick web searches and longer research jobs.

Query your marketing data with cofounder analytics query / analytics_query. Pass multiple metrics in one flag, such as --metric views,likes; use the same syntax for --group-by and --insight-family. For visits to the marketing site, run cofounder analytics website-traffic get --range 30d (analytics_website_traffic_get). Add --purpose product to see the product app instead. Check freshness and fetched_at in the response: stale data is returned promptly while Cofounder refreshes it in the background, and refresh_queued confirms that the refresh was accepted.

To count your app's own events, such as signups or an activation event, run read-only SQL with cofounder analytics events query / analytics_events_query. It returns up to 1,000 rows:

cofounder analytics events query "select event, count() from events where timestamp > now() - interval 30 day group by event"

To turn a trend or comparison into something you can share, save an analytics report with cofounder analytics reports save / analytics_reports_save. The report is Markdown with up to 12 chart blocks, each holding one query and how to draw it: a number, line, bar, ranked list, pie, funnel, heatmap, or table. Try SQL queries with analytics events query first; pass --lookback-days to fill in {filters}. SQL that reads events needs {filters} in the WHERE clause of each SELECT that reads them, with lookback_days set, so it never scans every event the project holds. A block can use native instead of query for a funnel (funnel_steps), weekly retention (retention_weeks) or top traffic (traffic) read. Native blocks need lookback_days, take no {filters}, and can't use compare_vs: prior_period.

Every query has to run before the report saves. Reports go to marketing/reports/ in the Library and show in the Analytics Reports tab. Their charts show the data last read at once and reread any that is more than 15 minutes old, and Refresh rereads it all.

First check the report with cofounder analytics reports check / analytics_reports_check. It takes the same title, summary and content, runs every block as the save does, and writes nothing. For each block it returns facts computed from the data: a number's value and change (no percent when the compared value is under 20), a trend's last complete period, its change and direction, a ranked list's top share, or a funnel's conversion and biggest drop. A block that can't be drawn says why. The save that follows reuses the data the check read:

cofounder analytics reports check --title "Signups since launch" --summary "Signups doubled after launch week." --content "$(cat report.md)"

Write the analysis from those facts, and put each figure in the prose as a reference rather than typing it. Give a number block an id, then write {{id}} for its value, {{id.change}} for its change, and {{id.previous}} or {{id.target}} for what it's compared with. Each reference shows the live value; when that has moved since the report was written, hovering over it shows the value the analysis was written from. Set "tile": false on a number block to use it in prose without drawing it. The save refuses a reference that names no number block:

{{signups}} people signed up this month, {{signups.change}} on the month before.

```chart
{"id": "signups", "title": "Signups", "query": "select uniq(person_id) as signups from events where event = 'signed_up' and {filters}", "chart": {"kind": "number", "value": "signups", "compare_vs": "prior_period"}, "lookback_days": 30, "tile": false}
```

Then save it with the same arguments:

cofounder analytics reports save --title "Signups since launch" --summary "Signups doubled after launch week." --content "$(cat report.md)"

To update a saved report against newer numbers, save it again with its --file-id. The report is rewritten in place and keeps its link:

cofounder analytics reports save --file-id <file_id> --title "Signups since launch" --summary "Signups held after launch week." --content "$(cat report.md)"

To read a saved report's charts the way the report view does, pass the report's file id to cofounder analytics reports charts get / analytics_reports_charts_get; add --block with a block number (1 is the first chart block) to read only that one. Any company member can read them. A chart marked stale was read more than 15 minutes ago; add --refresh to read it again:

cofounder analytics reports charts get --file-id <file_id> --block 1 --refresh

To keep charts on the Analytics page's Custom tab, see Analytics Dashboard.

Read Visitor Sessions

List recent visitor sessions, then pass a returned session ID to see what that visitor did:

cofounder analytics sessions list --range 30d
cofounder analytics sessions get --session-id <session_id>

The MCP tools are analytics_sessions_list and analytics_sessions_get. Both default to the marketing site. Add --purpose product for the product app. Use --limit and the returned page.next_cursor as --cursor to continue through results.

The timeline comes from tracked events and works when replay recording is off. When a recording exists, open the returned replay_path in the analytics project to view the replay video. Replay recording is not turned on automatically for existing companies.

Post on Social

Connect the company's social accounts once, such as LinkedIn or TikTok. For each one, you sign in to the platform from a link your agent opens, and it waits until the account works. After that, your agent posts, schedules, and answers comments and messages from those accounts.

Social and Calendar also show posts made directly on supported platforms, labeled “Posted on” with the platform name. These posts are read-only in Cofounder. Post details include text and image or video attachments. Connecting an account starts a background import of available posts from the past 730 days and their analytics. Provider events keep it current afterward. An interrupted import resumes from its last completed page. Reconnecting starts a fresh, idempotent history import. Use a post's Cofounder ID with analytics_query to read its available metrics.

For a specific post made directly on a platform that is not yet in Cofounder, use analytics_query with query_type: "post_url", social_account_resource_id, and url. In the CLI, use cofounder analytics query --social-account-resource-id <resource_id> --url <post_url>. Facebook post URLs may use a Page ID or username, but metrics are returned only after the selected Page is verified as the author. Other uncached URLs must contain the selected account's username. Supported formats are X, Threads, TikTok, Bluesky, Facebook page posts, Reddit user posts, and LinkedIn posts. Short links and ownerless formats, including Instagram, YouTube, and Pinterest links, are rejected rather than assigned to an account by guesswork. Only a missing post triggers a sync, at most once per account every 15 seconds. If indexing is still pending, retry after 15 seconds. An account that needs reconnection must be reconnected before further analytics or post syncs can run.

Business-policy checks are rolling out and are not enabled for every company yet. Where enabled, a saved prohibited business or unsupported intended use blocks new posts, replies, messages, retries, and provider edits. Ordinary communication from verification-sensitive businesses remains allowed without ad verification. Missing business information alone does not block social publishing. You can still inspect results, cancel a post, or unpublish it. The error explains how to correct inaccurate business information or contact Support.

Use cofounder social accounts connect --platform instagram --expected-username yourhandle / social_accounts_connect with expected_username to refuse a different account. To reconnect an existing account, pass --resource-id <resource_id> / resource_id; Cofounder keeps its platform identity and Instagram login method. For Instagram, --instagram-login-method facebook_login requests Facebook authorization when connecting a new account.

If access expires or is revoked, social_accounts shows the account as needing action. Your agent requests a reconnect link for that resource and asks you to sign in and approve access. Check the connection_id from the connect call before using the account.

cofounder social accounts connections get --connection-id <connection_id>

The MCP tool is social_accounts_connections_get. A connected result returns the verified company resource IDs. If the old connection was removed, start a new connection. For Telegram, open the link and send the displayed code to the bot to connect the channel.

Check the same connection ID again while authorization is in progress. If Cofounder blocks a reconnect because a post is queued, cancel the queued post before trying again. Review and approve a new schedule after reconnecting. After an intentional disconnect, allow one hour before reconnecting.

Request specific permission areas with one comma-separated --scope flag, such as --scope posting,analytics, or the MCP scopes list. Available areas are posting, analytics, comments, messaging, and ads. Omit them to request full permissions. Platforms that do not support scope selection reject this option. A connected account with no posting permission can still use the permissions it has.

social_accounts reports whether each account can publish, which features are available, and when its provider state was last synchronized. Unavailable features explain whether to reconnect, grant permission, or wait for access. An account without posting permission can still prepare drafts. If the provider temporarily disables a platform, keep the connection and wait for access to return.

Each platform has a default account your agent uses unless you name another. Your agent checks what each account supports (settings, content and media limits, and where it can post) and can pick where an account posts. An account can't be disconnected while it has pending posts or a linked ads account, unless you force it.

Publish and Schedule Posts

Every post starts as a draft:

Draft → check → publish now or schedule.

TikTok for Business connections don't support AI disclosure on direct photo posts. If your media needs disclosure, use video or a TikTok developer-lane connection instead.

To schedule, your agent picks a set time or uses the posting queue: a list of posting slots shared by all the company's social accounts. Your agent can show the slots, suggest upcoming times, and change them. The real slot is picked when the post is scheduled.

After a post is drafted or scheduled:

  • Your agent can revise a draft or an eligible scheduled post, or cancel an eligible scheduled post.
  • A post that was rejected or failed can be retried. X posts can't be retried. Your agent checks what happened on X and submits again with a fresh approval.
  • Unpublishing takes down a live post. It needs confirmation and only works on platforms that allow it (not Instagram or TikTok).
  • Publish, schedule, revise, and reply results can include notices suggesting more specific wording. They don't mean the post failed.
  • To post the same content to an account again soon after, your agent explains why with repeat_reason (--repeat-reason). A new retry key alone doesn't count as a reason.

Keep an evergreen post in circulation by saving it with recycling to publish a fresh copy weekly or monthly. Connected accounts support recycling except YouTube and TikTok, and provisioned accounts reject it. On a published post, save recycling with enabled: false to stop repeats; to retime them without clearing existing stop limits, copy the current recycling settings (end_date, max_occurrences, content_variations) and change only the timing fields, leaving the post text unchanged.

Some accounts have activity allowances. When enabled, the trial caps allow up to three posts per social account and ten across the responsible account's companies without verified paid access in a rolling 24 hours, with at least 15 minutes between posts on the same account. Paid companies aren't charged to or limited by the trial pool. Current attribution, content, repeat-content, hold, and provider-safety checks still apply to every company. A post whose delivery isn't confirmed yet still counts in the trial pool, so your agent checks its status before retrying. The pool uses each company's current verified billing status. Recent activity can leave the pool when a company becomes paid, then count again if it returns to trial before that activity ages out of the 24-hour window. A plan change doesn't erase post history. Scheduling through the provider is off while allowances are enabled because delivery can't recheck current restrictions.

Answer the Social Inbox

The social inbox collects comments, conversations, and reviews across your accounts. It has six views: needs attention, commented posts, post comments, conversations, messages, and reviews. If some sources are missing, the result says why.

Search conversations by message text or contact identity. Each result shows up to three matching messages; a match count of zero means the contact's identity matched. Search returns at most 50 conversations per page and reports accounts it could not search. Reading leaves messages unread.

Facebook Page message requests have a separate, bounded shortlist. If it is truncated, narrow to one account. Instagram cannot list a separate requests folder. Replying to a request accepts it and sends the reply immediately.

  • Replies go out right away.
  • Your agent can archive a conversation or return it to the active inbox. Reading messages leaves them unread. Marking a conversation read is an explicit action after you view it or ask, and can send a seen receipt.
  • Facebook and Instagram conversations show which app owns the thread when that information is available. Your agent can take, request, release, or pass control. Requesting waits for the current owner to agree. Instagram Login connections cannot take or request control; they wait for the owner to pass it or reconnect through Facebook Login.
  • On a DM or Google Business review reply, your agent can retry safely within 24 hours. Facebook review replies work without that step. Comment replies have no such guarantee.
  • Moderation needs confirmation. A retry can act twice.
  • Sent messages show whether the platform delivered or rejected them, with the platform's error when it failed.
  • Your agent can report on the inbox: message volume, response time, a day-and-hour heatmap, and where messages came from, by day or platform.
  • Your agent can start a DM with someone who hasn't messaged you yet, for example an X handle. If a conversation already exists, the message is added to it.

Plan a Campaign

A social campaign is a dated plan of posts across accounts. Creating one doesn't write or schedule anything. Your agent links prepared posts to its slots, and publishing is still a separate step. The campaign shows each slot's post and whether it changed since it was linked.

Check Your Brand and Design

Your agent can show you the company's saved brand documents. It can also copy colors, type, and components from a live site into the Library. See Design.

Take Payments

Your agent can give the company a Stripe test account with cofounder payments setup --method sandbox --provider stripe. Pricing plans, refunds, and going live are in Payments.

To see what your agent has been doing, go to Watch It Run.

Commands

Email and Phone

MCPCLIAPI

Social Accounts

MCPCLIAPI

Provisioned social accounts are allocated from Cofounder's existing inventory; an allocation request does not buy an account from the provider. Provisioned social accounts are not available to every company yet. When enabled for a company, read GET /cofounder-cli/v1/company/social/provisioned-accounts/prices/{platform} for the current price revision, then submit POST /cofounder-cli/v1/company/social/provisioned-accounts/allocate with that revision and an idempotency key. Only fulfilled accounts are charged, using company credits for the one-time purchase and first month. Use GET /cofounder-cli/v1/company/social/provisioned-accounts/requests/{request_id}, GET /cofounder-cli/v1/company/social/provisioned-accounts, and GET /cofounder-cli/v1/company/social/provisioned-accounts/accounts/{resource_id}/billing to check status. Cancel renewal with POST /cofounder-cli/v1/company/social/provisioned-accounts/accounts/{resource_id}/billing/cancel; cancellation takes effect after the paid period and does not refund, remove the allocation, or change the provider account.

Allocated provisioned accounts appear alongside OAuth-connected accounts in social_accounts (with source: "provisioned") and use the same social_posts_save, social_posts_control, social_posts_list, social_posts_get, and social_queue tools routed by resource_id. Reads remain available after expiry, while writes require active paid access.

Provisioned TikTok posts accept settings.musicLink and settings.aiGenerated when creating a post; omit settings when editing an existing provisioned post. Connected TikTok accounts use musicSoundInfo and reject musicLink. For provisioned posts, delivery metrics include views, likes, and comments, and social_posts_list accepts published_after and published_before.

Use social accounts connect --platform <platform> to get a stable connection link; pass --resource-id <id> to reconnect an existing account. social accounts lists connected accounts and their shared queue schedule from saved data, refreshes stale data in the background, and accepts --sync to refresh from the platform first.

Use cofounder social accounts setup get --resource-id <account> before drafting to check the account's readiness, see where it posts, and find available LinkedIn Pages or Pinterest boards. For TikTok photo posts, pass --media-type photo. For Google Business locations, pass --search <name> to narrow the list. When updating the destination, set selected_option_id to the location's ID. If the location includes google_account_id, also send its id and label in selected_option and set selected_option.metadata.accountId to that google_account_id. Use social accounts update with --action default, destination, or disconnect to update an account; the disconnect action accepts --force when a linked ads account blocks it.

Read channel settings to find Discord channels and webhook identity, YouTube playlists, Bluesky default languages, or TikTok commercial music and location tags. Use --country-code for a TikTok music chart or --location-query to search for a place. Prefer clip.id from the music result when available. Use cofounder social channel-settings update to save a YouTube playlist preference or set a Bluesky language default. Include playlistId in each YouTube post's settings to add the video to that playlist. Use langs to choose languages for a single Bluesky post.

The MCP social_channel_settings tool and generated CLI read channel choices when no write fields are provided; its old get and set names remain call-only aliases. To save defaults, pass --platform youtube with --default-playlist-id, or --platform bluesky with --default-lang.

The same command sets Instagram and Facebook Messenger welcome copy. Pass --platform instagram with --ice-breakers <json> to set up to four {question, payload} prompts shown when someone starts a DM; an empty list clears them. Pass --platform facebook with --greeting <json> to replace the Messenger welcome text, one {locale, text} entry per locale, and --ice-breakers <json> to replace the prompts as {locale, call_to_actions} entries. One locale in each Facebook list must be default. Greeting text is limited to 160 characters, each question to 80, and a locale to four prompts. Reading with no write fields returns the current Instagram prompts and Messenger welcome copy with the other channel choices.

--action sync_history pulls in an account's available posts from the past 730 days and their stats. It works for connected accounts on platforms that report analytics. LinkedIn personal profiles import from analytics alone, without Zernio's live post refresh. The command returns an async import job, which the app shows as "importing" and flags if it fails; repeating the request while one is running returns the same job.

Create a Pinterest board with social pinterest-boards create and the account's resource ID. It accepts a name, an optional description, and privacy (PUBLIC or PROTECTED, default PUBLIC). The returned board ID can be used as settings.boardId when saving a Pin and does not change the account's default destination; use social accounts update --action destination to change that default. Repeating an identical request returns the existing board; a name the account already uses with a different description or privacy is rejected, with the existing board's ID and privacy when the board is already listed. After an uncertain create result, repeat the same request once.

Social Posts

MCPCLIAPI

The old public-post lookup/search and queue get/set MCP names remain call-only aliases. Public search and lookup currently support X only. For a public-post lookup, pass --post-id; for search, pass --query instead.

Use social_queue before drafting to see the shared schedule, timezone, and upcoming slots. The preview does not reserve a slot. Omit write fields to read; provide --timezone with --slots to set weekly slots, or repeat --post-id to reorder a provisioned account's queue (provisioned accounts are not available to every company yet).

Use social_posts_save with dry_run=true in MCP, or --dry-run in the CLI, before saving to see the destination, normalized settings, blockers, and warnings. For example, pass --settings '{"organizationUrn":"urn:li:organization:12345"}' to check a LinkedIn Page post. The former check tool name remains a call-only alias and always runs as a dry run. Create a new draft if the reviewed destination needs to change.

For a Google Business location found through search, include its exact name as selectedLocationName alongside locationId in the post settings.

save returns a post and revision for each target, along with readiness checks and platform options. Use mode=draft for a local draft, mode=schedule with scheduled_at and timezone for delivery at a specific time, mode=queue for the account's next slot. If you want a person to review a new post before it goes out, save it as a draft. When editing, include the current post_id and revision_id; omitting mode preserves the current delivery state. Publish, cancel, retry, or unpublish through control. If the provider reports that a post is pending approval, manage it there. Pass --idempotency-key when saving. Dry runs can omit it.

Pass the post ID as the first positional argument to control:

cofounder social posts control <post-id> --action cancel --revision-id <revision-id> --idempotency-key <stable-key>

If delivery fails, use social_posts_get to find receipt.post_id, receipt.revision_id, and delivery_targets. Each target has its own status, account resource, and any known failure or published link. A post with status partial has mixed results. Retry the saved post rather than creating a new one:

cofounder social posts control <post-id> --action retry --revision-id <revision-id> --idempotency-key <stable-key>

Retry sends only confirmed failures and leaves published targets alone. For an overdue post with a known publishing job, retry can check delivery once the ten-minute grace period has passed. Unknown delivery alone does not permit a resend. Check the post again before starting a new retry, and reuse the same key if replaying a request. X posts that failed after reaching the platform still require fresh approval.

Social Inbox

MCPCLIAPI

Inbox list accepts --query <text> for provider-backed conversation search; results may include messages not yet stored locally. It also accepts --requests to list Facebook Page message requests; these can be scoped with --resource-id and cannot be combined. Inbox views are needs_attention, commented_posts, post_comments, conversations, messages, and reviews. messages also needs a conversation_id. Replying to a comment needs its --post-id. A new DM uses social_inbox_reply with --item-type new_message and exactly one of --participant-username <handle> or --participant-id <numeric id>; omit --item-id. It returns the item_id for subsequent replies. A DM or review reply is safe to retry only with --idempotency-key, which is off by default because review support differs by platform: a key is refused where the platform doesn't support it. Moderation uses social_inbox_update with --operation moderate and --confirmed.

Social Campaigns

MCPCLIAPI

save creates or updates a campaign and can pin prepared post IDs to the unique placements with matching account and scheduled local date. It does not publish or schedule posts.

With no write fields, the MCP tool and generated CLI list campaigns. Run cofounder social campaigns update --campaign-id <id> to return one detailed campaign in data with no next page. For a save, provide the campaign fields shown above; pass the existing campaign ID as body flag --id to update it. The query flag --campaign-id only selects a read and does not select the save target. The old list and save MCP names remain call-only aliases.

Social Automations

MCPCLIAPI

With only --resource-id and optional paging flags, the MCP tool and generated CLI list automations. For a save, provide --name, --keyword, and --is-active along with the account's --resource-id. To change only whether an automation sends, pass --action toggle with --automation-id and --is-active; its saved message content stays as it was. Pass --action delete with --automation-id to remove it. The old list and save MCP names remain call-only aliases. social_automations_logs_list reads the newest comments that triggered one automation, with each message's send status, the commenter, and any failure reason. Filter it with --status and page with --limit and --cursor. Automations send DMs on Instagram and Facebook, or public replies on supported platforms, when a comment matches one of their keywords. Saving with isActive=true authorizes those future messages; save with isActive=false to prepare without sending. Disconnecting an account pauses its active automations. Review them with the user after reconnecting and activate only the ones they want resumed.

Brand and Design

MCPCLIAPI