Skip to main content
The Bevits MCP (Model Context Protocol) server connects your agent directly to your organization’s data as native tools. It can query customers, purchases, segments, tags, attributes, flows, campaigns, custom events, and webhooks — and, when you grant write access, create and update automations, recipes, templates, segments, campaigns (with preview-and-confirm sending), custom events, and webhooks.
Endpoint: https://api.bevits.com/mcp · Transport: Streamable HTTP · Authentication: OAuth 2.1 · Access: read and optional write filtered by your account permissions · 66 read tools + 68 write tools
The connection uses OAuth 2.1, so no API key is stored in the agent’s configuration. You sign in to Bevits in the browser, pick the organization, and approve access. The token is bound to a single organization. The mcp:read scope unlocks read tools; the mcp:write scope (the Create automations, emails and campaigns option on the authorization screen) unlocks the write tools your role allows (see Permissions by operation).

Connect in Claude (claude.ai and desktop app)

This is the no-terminal path. Claude reaches the Bevits server from Anthropic’s cloud, so all you need is the public endpoint address.
1

Open Customize → Connectors

In Claude, on the web or in the desktop app, go to Customize → Connectors.
2

Add a custom connector

Click +, then Add custom connector, and enter the URL of the Bevits remote MCP server:
Leave Advanced settings empty: the Bevits server publishes its own OAuth metadata, so no Client ID or Client Secret is needed. Click Add.
3

Connect your organization

Click Connect, sign in to Bevits in the browser, choose the organization, and approve access. To let the agent create automations or WhatsApp campaigns too, check Create automations, emails and campaigns; without it, the connection is read-only.
4

Turn the connector on in a chat

In the chat, open the + button, pick Connectors, and enable Bevits. Then just ask away — for example, “which email campaigns had the highest open rate?”
On Team and Enterprise accounts, an owner adds the connector under Organization settings → Connectors, and each person then clicks Connect to authenticate with their own Bevits account — everyone sees only the data of the organization they authorized. Menu names may change as Claude is updated; the custom connectors documentation always has the latest steps.

Connect in the terminal (Claude Code and Codex)

1

Add Bevits to your client

Run the command in your terminal. The exact commands are also available in Settings → MCP.
2

Authorize your organization

Start OAuth, sign in to Bevits in the browser, choose the organization, and approve access. Check Create automations, emails and campaigns if the agent will also create automations or WhatsApp campaigns; without it, the connection is read-only.
3

Confirm the connection

Check that the server is connected and that the tools were loaded: 66 read tools and, when writing is allowed, up to 68 write tools, depending on your account’s permissions.
Any client that supports MCP over Streamable HTTP with OAuth 2.1 can connect to the same endpoint. Claude Code and Codex are simply the documented paths.

What you can do

CRM and customers

Find customers by email, phone, tag, segment, or free-text search, and read contact details, tags, attributes, default address, and spending metrics.

Purchases and revenue

List and inspect orders, and aggregate revenue, average order value, and unique customers in one call — ranked by UTM, platform, status, or day.

Segments

Look up segments by name, see how large each one is, and list their customers sorted by last update or total spent.

Build segments and tags

Ask for an audience in the chat — such as customers with available giftback that expires this week — and get the segment ready and always up to date. It also edits segments and tags customers.

Sales recovery

Measure an abandoned-cart flow: recovery rate, recovered revenue, and conversions per message in the sequence.

Campaigns

Email campaigns with sent, delivered, opened, and clicked; WhatsApp and SMS campaigns with recipients, delivered, read, and failed per template.

Create automations

Describe a flow in the chat and get a ready draft in the editor, with trigger, conditions, waits, and messages. The flow is only activated after you review and confirm it.

Create and send WhatsApp campaigns

Request an Official WhatsApp campaign in chat with its template submitted to Meta, configure the audience, and schedule or send after reviewing the preview and confirming.

Set up the store with recipes

See what the store is missing and create ready-made automations (cashback, abandoned checkout, post-purchase, winback, VIP campaign, and custom-event flows). Everything starts paused and can be rolled back.

Emails and campaigns

Create email templates, import emails built in another tool, and prepare draft campaigns for your segments, in your brand.

Products, customer journey, and RFM

Browse the catalog with best sellers and categories, see everything a customer went through — flows, messages, coupons, and abandoned cart — and read the RFM segmentation with the size of each segment.

Stop flows and campaigns

Turn a flow off, cancel a WhatsApp campaign, or move a scheduled email campaign back to draft, right from the chat, after confirming which one.
Questions the agent can answer on its own once connected:
  • “Which UTMs drove the most sales in the last 7 days?”
  • “What is the recovery rate and recovered revenue of my abandoned-cart flow?”
  • “Which message in the recovery sequence converts best?”
  • “What was this month’s average order value compared to last month?”
  • “Who are the top 20 spenders in the VIP segment and what did they buy?”
  • “Which WhatsApp template had the worst delivery rate?”
  • “Is this customer subscribed? Which tags and attributes do they have?”
  • “Which flows are active and how many times has each one run?”
  • “Create a flow that reminds customers on WhatsApp when a boleto is still unpaid after 1 day.”
  • “Create a Black Friday WhatsApp campaign with the banner image, the customer’s name, and a button to the deals page.”
  • “What is my store missing? Set up the basic automations and show me the plan first.”
  • “Import this email I used to send from another tool and prepare a campaign for the Champions.”
  • “Create a segment with customers who have available giftback that expires in the next 7 days.”
  • “How many customers received giftback in the last 90 days and let it expire without using it?”
  • “Tag the 50 top-spending customers as VIP.”
  • “How did sales do in the last 30 days compared to the 30 before? How much did giftback bring in?”
  • “Who clicked the button in the Black Friday WhatsApp campaign?”
  • “How many emails from the last campaign bounced, and how many people unsubscribed?”
  • “Why didn’t Ana get the abandoned cart message yesterday?”
  • “Is my email domain verified? How many Official WhatsApp credits do I have left?”
  • “What happened with this customer? Which flows are they in, which messages did they get, and do they have cashback to spend?”
  • “How many customers are in each RFM segment? List the ones at risk.”
  • “Which are my 10 best-selling products? Create a segment with who bought the first one.”
  • “Cancel the Black Friday WhatsApp campaign and tell me how many messages already went out.”

Tool catalog

Read tools (readOnlyHint) are idempotent and never create, change, or delete data. Write tools only show up when the connection has the mcp:write scope and your account has the matching permission (see Permissions by operation). No tool accepts an organization ID — the scope always comes from the token.

Identity

Customers

Purchases

The order and payment events sent with bevits_send_event already record the sale, so bevits_create_purchase is optional: with the event’s order_id as external_id, both meet on the same purchase and the sale is never counted twice. Automations run on events, never on bevits_create_purchase. With a connected store, the store is the account’s sales source and bevits_create_purchase is refused (see Sales reported through the API).

Segments

Tags and attributes

Flows and campaigns

Building automations

Creating WhatsApp campaigns

Sending

Templates and campaign drafts

Account, recipes, emails, and brand

Customers and settings

Analysis and whole-audience actions

Dashboard, reports, logs, and account status

Products, customer journey, and RFM

Stopping flows and campaigns

Custom events

Webhooks

Available filters

bevits_list_customers

bevits_list_purchases

bevits_get_purchase_stats

Takes exactly the same filters as bevits_list_purchases (UTM included), plus two parameters: The response carries the totals for the period (purchase_count, customer_count, revenue_in_cents, average_ticket_in_cents) and, when group_by is set, a groups list ordered by revenue — orders without that UTM show up as key: null. groups_truncated tells you when more groups exist beyond group_limit.
If the store has orders in more than one currency, currency comes back null and mixed_currencies is true: the totals are then a raw sum of different currencies. Split by currency (group_by: "currency") before comparing.
bevits_list_segments accepts q. bevits_list_segment_customers accepts every bevits_list_customers filter plus sort (updated or total_spent), and bevits_list_customer_purchases accepts every bevits_list_purchases filter. bevits_get_segment also returns the segment type (type: filters, static, rfm, or campaign_engagement) and, for filter segments, match and conditions in the same format bevits_create_segment and bevits_update_segment take (see Create and edit segments).
Dates must be ISO 8601 with an offset (for example 2026-01-01T00:00:00Z). Monetary values use integer cents across most tools (exceptions: fixed discount_value in create_coupon and order.total in webhooks — see Fundamentals).

Sales recovery metrics

bevits_get_flow_metrics answers the cart-recovery questions from the attribution Bevits already writes on every send: The window defaults to 30 days and is capped at 366; use since and until for another period. The numbers match the Performance mode inside the flow builder.
Attribution is last-touch, 7-day window, abandoned-checkout scope: only flows with an abandonment trigger (eligibility: "recovery") record conversions. Paid Nuvemshop and Shopify orders feed that attribution. Every other flow returns eligibility: "engagement_only" and should be read for deliverability only.

Create and activate automations

With writing allowed, the agent builds a flow from what you describe in the chat — for example, “remind customers on WhatsApp when a boleto is still unpaid after 1 day.” The flow is always saved as a draft and sends nothing. It only starts sending messages after you review it in the Bevits editor and confirm in the chat.
1

The agent reads the catalog

bevits_get_flow_builder_catalog lists triggers as platform.event (for example nuvemshop.order_created), showing whether each one is available to your store (available) and, when it isn’t, why (unavailable_reason). It also returns the accepted block types and a complete example.
2

It checks the chosen trigger's conditions

Called again with trigger, the same tool returns conditions.fields[]: each field (field, such as order.paymentMethod), its name (label), type (type), accepted operators (operators), allowed values (values), and notes (note).
3

It picks the templates

bevits_list_message_templates lists the WhatsApp (official and unofficial), email, and SMS templates, with the start of the text (preview), the WhatsApp approval status (status), and the customer data each variable renders (variables, such as {{1}} → first_name). Filter by channel with channel (whatsapp, whatsapp_unofficial, email, or sms). Templates synced from your Meta account come with variables_required: true: the send_whatsapp block says what each variable sends in that flow, with variables.
4

It validates and saves the draft

bevits_create_flow_draft with validate_only: true only checks the flow and returns the outline, saving nothing. The same call without validate_only then saves the draft.
5

You review it in the editor

The agent shares the editor link (html_url), the step-by-step outline (outline), and the warnings (warnings), such as a WhatsApp template still under review by Meta. Open the flow in Bevits and check every block.
6

You confirm and the agent activates it

Once you explicitly confirm in the chat, the agent calls bevits_activate_flow with the revision you reviewed. From then on, the flow sends real messages to your customers.
The MCP server instructs the agent never to activate a flow without your explicit confirmation in the chat. Review the flow in the editor before confirming: activation is the step that makes the flow send real messages.

Flow description

bevits_create_flow_draft takes a declarative description of the flow. Bevits builds the editor graph from it. Condition operators are equals, not_equals, greater_than, less_than, greater_than_or_equal, less_than_or_equal, contains, not_contains, starts_with, ends_with, is_empty, is_not_empty, includes, and not_includes. Which ones apply depends on the field type; the catalog lists the operators for each field. To check the customer’s tags, use the customer.tags field with includes or not_includes and the tag id (tag_...) as value. The condition looks at the tags when the block runs, so tags applied earlier in the same flow count. In the editor, it is Customer tags among the customer attributes. Example of an unpaid boleto reminder:
Another example: to follow up on an expired Pix, use the nuvemshop.order_cancelled trigger, a condition order.paymentMethod equals pix, another order.paymentStatus not equal to paid, and then the WhatsApp send. Don’t use voided: when the order is cancelled the payment still shows as pending and only becomes voided later. The response (object: "flow_draft") includes id (flw_...), status: "draft", revision, html_url, trigger, outline (the steps in plain language), warnings, and next_step. If the description has problems, the tool returns a validation_error listing all of them at once, each with its path, block key, and valid options, so the agent can fix everything in a single retry.

Review and activation

The revision (for example rev_...) identifies the exact content of the flow you reviewed. bevits_activate_flow requires it:
  • If the flow was edited after that revision, activation fails with conflict and returns the current revision. The agent must ask you to review again before retrying.
  • Activation runs the same checks as the Activate button in the editor. If something blocks it, such as an incomplete block or a template without a WhatsApp account set, the tool returns a validation_error listing the problems.
  • On success, the response is the flow with status: "active" and its revision.
bevits_get_flow also returns the flow’s current revision.

Permissions

  • Create automations, emails and campaigns appears on the authorization screen for members with at least one write permission (see Permissions by operation), and it starts unchecked: writing is only granted if you check it. It is confirmed on every authorization: when the agent asks for write access, the screen shows again even if you allowed it before. Read-only connections keep reusing your earlier approval.
  • The automation tools only show up when the token has mcp:write and you still have access to Automations. This is checked on every request.
  • Connections made before this option stay read-only until you reconnect and allow writing.
  • Through the REST API, the same operations are GET /v1/flow-builder/catalog, GET /v1/message-templates, POST /v1/flows, and POST /v1/flows/{flow_id}/activate. POST calls require an API key with the write scope and honor the Idempotency-Key header.

Edit existing flows

Besides creating flows, the agent reads and adjusts the ones you already have, including flows built in the editor.

Read a flow

bevits_get_flow_definition returns the flow (object: "flow_definition") in the same shape as the description bevits_create_flow_draft takes: Block keys stay the same from one read to the next.

Edit a draft

bevits_update_flow_draft applies a batch of operations to a draft or inactive flow. The batch is saved as a whole or not at all, and editing never activates the flow. Each batch states the versions it is based on:
  • expected_node_versions: the node_version of every block whose fields change or that is removed ("trigger" for the trigger).
  • expected_graph_version: the graph_version, when the batch adds, removes, or relinks blocks, or changes the start.
If one of those blocks or the structure changed after the read (for example, you edited the same block in the editor), the whole batch comes back with conflict and nothing is saved. The agent reads the flow again and redoes the change on top of the current version. Changes to different blocks live side by side without conflicts.
Changed and new blocks go through the same checks as bevits_create_flow_draft; every other block stays exactly as it was. A block without connections doesn’t stop the draft from being saved: it shows up in warnings and is connected or removed before activation. Use validate_only: true to check without saving. The response (object: "flow_draft_update") has the updated flow with its new versions, changed, key_mapping (the key each new block has from now on), warnings, and next_step.

With the editor open

If the flow is open in the editor, the change shows up within seconds, without reloading the page. If you are editing at that moment, the editor lets you know and pauses autosave so neither change erases the other; click Load current version to continue. For the same reason, the editor’s Activate button only publishes the latest version of the flow.

Active flows

Active flows are protected: what is sending messages only changes after your review. To adjust an active flow, duplicate it with bevits_duplicate_flow and edit the copy, or deactivate it in the editor. Activation is still bevits_activate_flow, with the new revision and only after you confirm.

Rename and duplicate

  • bevits_rename_flow renames any flow. The name doesn’t change the revision.
  • bevits_duplicate_flow creates a draft copy with the same blocks and connections. The copy uses the same templates, without duplicating them, and is named after the original followed by ” (cópia)”, or the name you pass.
Through the REST API, the same operations are GET /v1/flows/{flow_id}/definition, POST /v1/flows/{flow_id}/draft, POST /v1/flows/{flow_id}/rename, and POST /v1/flows/{flow_id}/duplicate, with access to Automations.

Create WhatsApp campaigns

With writing allowed, the agent creates Official WhatsApp campaigns from what you ask in the chat — for example, “create a Black Friday campaign with the banner image, the customer’s name, and a button to the deals page”. Each campaign comes with a new template, which Bevits submits to Meta for review, and is saved as a draft. The tool never sends messages: once Meta approves the template, you pick the audience and send the campaign in Bevits.
1

You approve the copy

The agent shows you the copy of each campaign before creating it. Adjust anything you want in the chat.
2

The agent validates the campaign

bevits_create_whatsapp_campaign with validate_only: true checks the campaign and its template against Meta’s rules without saving anything or contacting Meta. If there are problems, the response lists all of them, and the agent fixes everything at once.
3

The agent creates the campaign

The same call without validate_only submits the template to Meta and saves the campaign as a draft. Each such call submits a new template, so the agent doesn’t repeat a call that succeeded.
4

Meta reviews the template

Approval usually takes a few minutes and can take up to 24 hours. The status shows on the campaign and in bevits_get_template_campaign and bevits_list_message_templates.
5

Set the audience and send

After Meta approves the template, configure the audience and send from Bevits using html_url, or in chat with bevits_set_whatsapp_campaign_audience, bevits_preview_whatsapp_campaign_send, and bevits_send_whatsapp_campaign (always after preview and explicit confirmation).
bevits_create_whatsapp_campaign only saves a draft and submits the template to Meta without sending messages. Any send from chat requires previewing and explicit confirmation first (see Send campaigns, tests, and sales).

Campaign description

Variables. In the text, variables are {{1}}, {{2}}… in sequence. A variable can’t open or close the text: always leave some text before the first one and after the last one. For each one, provide in variables:
  • example: the sample value Meta sees during review (required).
  • fill (optional): what each customer receives. { "type": "first_name" } uses the customer’s first name, with an optional fallback for customers without a name (for example "customer"); { "type": "fixed_text", "text": "..." } sends the same text to everyone. Without fill, you choose later in the Content step of the campaign editor.
Header. It can be:
  • Text: { "type": "text", "text": "..." }, up to 60 characters, in plain text (no emoji, formatting, line breaks, or variables).
  • Media: { "type": "image" | "video" | "document", "url": "https://..." }, with a public HTTPS URL of the file (JPEG or PNG image up to 5 MB, MP4 video up to 16 MB, PDF document up to 100 MB). The file is sent to Meta as the review sample and becomes the campaign media. For documents, filename sets the name customers see.
Buttons. Each button has a type: Button text is up to 25 characters, in plain text, without emoji. Example of a Black Friday campaign with an image, two variables, and a link button:

Response

The response (object: "whatsapp_campaign_draft") includes: When only validating (validate_only: true), the response has no id, html_url, template.id, or template.status. If the campaign has problems, the tool returns validation_error with all of them, each with the field path (for example template.variables). If Meta refuses the template on submission, the error includes Meta’s reason. If the template is rejected later, during review, Bevits shows the reason in the campaign editor; adjust the copy and create a new campaign.

Permissions

  • The tool only shows up when the token has mcp:write and you have access to the Official WhatsApp Campaigns area. This is checked on every request. Members who only have access to Automations see the automation tools, but not this one.
  • The store must have Official WhatsApp connected.
  • Through the REST API, the same operation is POST /v1/whatsapp-campaigns. It requires an API key with the write scope and honors the Idempotency-Key header.

Create campaign engagement segments

To build the audience of a new send from official WhatsApp campaigns that already went out, ask the agent something like: “Split who read or clicked the Black Friday campaigns and who received them and didn’t engage, leaving out who bought in November”.
  1. The agent finds the campaigns with bevits_list_template_campaigns.
  2. bevits_preview_campaign_engagement_segment returns the count, a sample and the split of the whole audience into engaged, received and didn’t engage, and didn’t receive. One preview already shows both lists.
  3. bevits_create_campaign_engagement_segment, with the same criteria, saves the segment and returns its link.
Criteria: Who engaged is frozen when the segment is created. The purchase window is checked again at every send, so whoever buys later leaves the audience.

Permissions

  • The preview tool is read-only. The create tool only shows up when the token has mcp:write and you have access to the Customers area and to the whole brand’s data (not only units).
  • In the REST API, the same operations are GET /v1/segments/campaign-engagement/preview and POST /v1/segments/campaign-engagement.

Create and edit segments

With writing allowed, the agent builds segments from what you ask for in the chat — for example, “create a segment with customers who have available giftback that expires in the next 7 days”. It uses the same conditions as the Customers filter screen: customer data and custom attributes, tags, purchased products, and coupons and cashback (giftback). The segment is ready to be picked as the audience of a WhatsApp or email campaign, and no message is sent.
1

The agent checks the catalog

bevits_get_segment_filter_catalog lists the customer fields and custom attributes (atr_...) with each one’s operators, the tag and product operators, the coupon statuses and sources, and the automations that issue coupons in your store (coupons.flows, with issues_cashback: true on the cashback ones). It also includes a complete example.
2

It shows the preview

bevits_preview_segment counts who matches the conditions right now (customer_count), how many can be reached on WhatsApp (whatsapp_reachable_count) and by email (email_reachable_count), and shows a sample of customers (sample, up to 20 with sample_size). Nothing is saved. If a condition has a problem, the response points to it with the valid options, and the agent fixes it and previews again.
3

It saves the segment

Once you have checked the numbers, bevits_create_segment saves the segment with a name, an optional description, and the same conditions, and returns its link (segment.html_url). If the name is already taken, Bevits adds a number at the end.

Conditions

match sets how the conditions combine: all (default) keeps customers who match every condition; any, those who match at least one. Each segment takes up to 30 conditions, and each one has a kind: The field operators depend on the field type, and the catalog lists each field’s operators: Monetary values are integers in cents, and dates are ISO 8601 with a timezone.

Coupons and cashback (giftback)

The coupon condition reads the coupons Bevits issued to each customer in automations, in AI customer service, and in in-store sales. status sets who is in: source sets which coupons count: Two optional windows narrow the audience: received_within_days only counts coupons issued in the last N days (up to 3650), and expires_within_days, together with has_available, only those that expire in the next N days (up to 365). Example of customers with available giftback that expires in the next 7 days who have spent at least 500.00 (50000 cents) in the store:
The same filter is in Bevits, under Customers → Filters → Coupons and cashback (see Custom segments).

Custom event condition

The event condition counts the custom events each customer sent, like the Custom event filter on the customers screen. Event names and property paths and types come from bevits_list_event_types (GET /v1/event-types). Each properties filter has a path (as bevits_list_event_types names it: order.total, or items[].sku for a value inside a list), a kind, an operator, a value and, for between, a value_to: Every kind also takes exists and not_exists, without a value. Reading a segment back returns the values as text. Example of customers who got at least 2 orders shipped by Correios in the last 30 days:
The same filter is in Bevits, under Customers → Filters → Custom event.

Always up to date

A filter segment is evaluated again whenever it is read or used in a send, so the campaign reaches whoever matches the conditions at send time. In an available giftback segment, customers who spend their giftback leave the audience on their own, and those who get a new one join, with nothing to rebuild.

Edit a segment

bevits_update_segment renames a segment, changes its description, or replaces the conditions of a filter segment (type: "filters"). To replace the conditions, the agent reads the segment with bevits_get_segment, which returns type, match, and conditions in the same format creation takes, and sends the full new list, not just what changed, after a preview. The change applies to every campaign that uses the segment, including scheduled ones, so the agent confirms with you before saving. RFM segments are kept up to date automatically by Bevits.

Add and remove customers

  • bevits_add_segment_customers adds up to 500 customers (cus_...) per call, like selecting customers and adding them to a segment on the Customers screen. In filter and static segments they stay whatever the conditions say; in campaign engagement segments, the segment’s purchase window still applies to them.
  • bevits_remove_segment_customers takes up to 500 customers out per call. In a filter segment, a removed customer stays out even if they still match the conditions; adding them again undoes the removal.
  • The response carries the updated segment, with customer_count, and how many customers changed (changed).

Tags

  • bevits_create_tag creates a tag with a name and an optional hex color (such as 9CA3AF). Tag names are unique in the store, so the agent checks bevits_list_tags first and reuses the tag that already exists.
  • bevits_update_customer_tags adds (action: "add") or removes (action: "remove") up to 20 tags on up to 500 customers at once, keeping their other tags. The response carries customers, tag_ids, and changed (links created or removed).
  • Segments that filter by these tags follow the change, and tags can also be used in flows (the update_tags block).
For “tag the 50 top-spending customers as VIP”, the agent lists the customers with bevits_list_customers and sort: "total_spent", creates the VIP tag if it doesn’t exist yet, and applies it to those customers.

Permissions

  • bevits_get_segment_filter_catalog and bevits_preview_segment are read-only. The tools that create and edit segments and tags only show up when the token has mcp:write and you have access to the Customers area and to the whole brand’s data (not only units). This is checked on every request.
  • In the REST API, the same operations are GET /v1/segment-builder/catalog, POST /v1/segment-builder/preview, POST /v1/segments, POST /v1/segments/{segment_id}, POST /v1/segments/{segment_id}/customers/add, POST /v1/segments/{segment_id}/customers/remove, POST /v1/tags, and POST /v1/customers/tags. The preview only needs the read scope; the others require an API key with the write scope and honor the Idempotency-Key header. POST /v1/segments and POST /v1/tags respond with 201.
  • GET /v1/segments/{segment_id} returns type, match, and conditions, and customer_count takes the conditions of filter segments into account.

Send campaigns, tests, and sales

Sending is always your decision. The agent follows the same protocol as flow activation:
  1. Preview. The agent calls the preview tool and shows everything that will go out: the content, the audience and how many can receive it, the timing, who sends it and, for WhatsApp, the credits needed and your balance. It also shares the link to review the campaign in Bevits.
  2. Confirmation. The agent asks you to confirm in the conversation that you reviewed the preview and want to send.
  3. Send. The agent sends with the revision of the preview you confirmed. If anything changed since (content, audience, timing, sender, template approval or balance), the send is refused, and the agent shows the current preview and asks you to confirm again.
Credits and template approval are checked again on the server right before dispatch, and repeating the same call with the same operation_id never sends twice.
  • Email: send_at with timezone schedules it; without them it goes now.
  • Official WhatsApp: choose the number with whatsapp_account_id and quiet hours with quiet_hours, or keep the campaign’s. Sending follows Meta’s daily limit waves, as in the app. Campaigns sent from the store’s own number (unofficial WhatsApp) are sent from the campaign screen in Bevits.
  • Tests: they only reach you or another active store member, never customers.
  • Unit sales: bevits_record_unit_sale records a sale (for a unit with unit_id, or online without it). With cashback_flow_id, the preview shows the cashback and the messages the automation will send.

Edit customers and settings

With writing allowed, the agent also keeps your customer base and your inbox settings tidy from the chat: it registers and fixes customers, keeps addresses and custom attributes up to date, maintains quick replies, teaches the AI agent, and adjusts the brand identity. None of these tools sends a message or starts an automation. The agent tells you exactly what will change and waits for your confirmation before changing a phone or email, unsubscribing someone, deleting anything, or editing what the AI agent knows.

Customers

  • bevits_create_customer takes the same fields as the customer of an event: external_id, tax_id, email, phone, name, attributes, and consent, with at least one of the first four. The phone goes in E.164 (+5511988887777) or without the country code, for a number in the store’s country. If one of those identifiers already belongs to a customer (looked up in that order), Bevits returns that customer as is, changing nothing; the answer is always the customer, as in bevits_get_customer, and a created_at earlier than the call shows they already existed. A new customer is created without marketing opt-in unless consent says otherwise, goes to the brand’s base and triggers the customer.created webhook. No automation starts.
  • bevits_update_customer changes only what you send: name, email, phone (null removes it, as long as the customer keeps an email or a phone), and attributes, an object with custom attribute values by name or id (atr_...), such as {"shoe_size": 38}. Send text for text attributes, a number for number, true/false for true/false, and an ISO 8601 date for dates. An email or phone that already belongs to another customer is refused. A new phone changes where WhatsApp and SMS messages to that customer go.
  • Segments that filter by these fields follow the change.

Addresses

  • bevits_list_customer_addresses returns the ids (adr_...) the other address tools take.
  • bevits_create_customer_address takes street, number, city, state, country, and zip_code, plus the optional neighborhood, complement, type_of_address, recipient_name, and phone_number. is_default: true makes it the only default address.
  • bevits_update_customer_address changes only the fields you send, and bevits_set_default_customer_address picks the default address.
  • bevits_delete_customer_address deletes the address. Past orders keep their data.

Unsubscribe

bevits_unsubscribe_customer records that a customer doesn’t want to receive marketing anymore: Unsubscribing is final, so the agent only does it when the customer asked, and after your confirmation. changed: false means the customer had already opted out.

Opt-in

bevits_subscribe_customer records that a customer agreed to receive marketing, for stores that collect consent themselves (a checkbox at checkout, a form) and didn’t send it when the customer was created: A channel with a recorded opt-out (through bevits_unsubscribe_customer, an unsubscribe link, or a WhatsApp reply) is refused with 409 and code: "customer_unsubscribed": only the customer can opt back in. With all, if either channel was opted out, nothing changes. changed: false means the customer was already subscribed.

Custom attributes

  • bevits_create_attribute creates an attribute with name, type (string, number, boolean, or date), and description. The name is saved in lowercase, with underscores instead of spaces and no accents, and is unique in the store. Fill it in per customer with bevits_update_customer and use it in segment conditions.
  • bevits_update_attribute changes name, type, or description. Segments and message variables that use the attribute follow the new name, so the agent confirms with you first.
  • Deleting attributes is done in Bevits, under Customers → Attributes.

Quick replies

Quick replies are the ready texts your team inserts in inbox conversations by typing / and the shortcut. bevits_create_quick_reply takes a shortcut (letters, numbers, and underscores, unique in the store), the content, and the optional emoji, category (general, sales, support, or faq), image_url, and up to 3 buttons (url, quick_reply, call, or copy, with a label of up to 20 characters). bevits_update_quick_reply changes only what you send (null clears the emoji, image, or buttons), and bevits_delete_quick_reply deletes it. A quick reply is never sent by itself: your team picks it in a conversation.

What the AI agent knows

The AI agent uses the knowledge in Settings → Chat → AI to answer customers: each entry has a situation (for example, “customer asks about exchanges”) and the response the agent should give.
  • bevits_list_ai_knowledge_entries lists the entries, newest first.
  • bevits_create_ai_knowledge_entry, bevits_update_ai_knowledge_entry, and bevits_delete_ai_knowledge_entry add, correct, and remove entries.
  • Changes take effect in the AI agent’s next replies to real customers, so the agent shows you the exact text and saves only after you confirm.
  • The AI agent must be set up in Bevits first.

Brand identity

bevits_update_brand_kit changes only the fields you send, with the same checks as the brand identity screen: colors (primary, background, surface, text, and muted, as #rrggbb), fonts (heading and body), locale, voice_tone, vocabulary (replaces the list, up to 30 words), links (store, contact, instagram, tiktok, and facebook, as http(s) links; null removes one), and footer_note. The logo stays the one in Settings → Store. An agent edit is not a review: reviewed_at stays as it was, and the agent asks you to review the brand identity in Settings → Store → Brand identity. New emails use the new identity; existing ones keep their look.

Delete a segment

bevits_delete_segment deletes a segment only when nothing still depends on it. While a draft, scheduled, sending, or paused email or WhatsApp/SMS campaign targets the segment, the deletion is refused with conflict and the list of those campaigns, so you can change their audience first. Campaigns already sent don’t block it. RFM segments are kept by Bevits and can’t be deleted. Customers are never deleted with the segment.

Permissions

The tools show up when the token has mcp:write and your account has the matching permission (see Permissions by operation). Reading the AI agent’s knowledge requires the same permission as editing it. Through the REST API, the same operations are POST /v1/customers, POST /v1/customers/{customer_id}, GET and POST /v1/customers/{customer_id}/addresses, POST /v1/customers/{customer_id}/addresses/{address_id}, POST /v1/customers/{customer_id}/addresses/{address_id}/default, POST /v1/customers/{customer_id}/addresses/{address_id}/delete, POST /v1/customers/{customer_id}/unsubscribe, POST /v1/customers/{customer_id}/subscribe, POST /v1/attributes, POST /v1/attributes/{attribute_id}, GET and POST /v1/quick-replies, POST /v1/quick-replies/{quick_reply_id}, POST /v1/quick-replies/{quick_reply_id}/delete, GET and POST /v1/ai-knowledge-entries, POST /v1/ai-knowledge-entries/{knowledge_id}, POST /v1/ai-knowledge-entries/{knowledge_id}/delete, POST /v1/brand-kit, and POST /v1/segments/{segment_id}/delete. Writes require an API key with the write scope and honor the Idempotency-Key header.

Recipes, emails, and brand identity

Besides custom flows, the agent can set up the store from ready-made recipes, create and import emails, and prepare campaigns. It reads what the store already has, shows the plan, and creates everything paused: nothing is sent until you review and activate it in Bevits.

Recipes

1

The agent reads the account context

bevits_get_account_context shows the store, the connected channels, the existing flows, and the segment sizes. In flows.coverage it sees which standard automations the store already has and suggests only the missing ones.
2

It shows the plan before creating

bevits_create_flows_from_recipes with validate_only: true returns the plan: the flows and their steps, the emails, the WhatsApp texts, and the campaign, plus warnings such as an unverified email domain, WhatsApp not connected, or a brand identity not reviewed yet. Nothing is saved at this step. Pass locale (pt-BR, es, es-AR, or en) for the language of the copy, or leave the brand identity’s, and platform (nuvemshop, shopify, or woocommerce) when the organization has more than one store connected. In an organization without a store integration that reports its sales through the API, platform: "api" (the default in that case) builds post-purchase on the payment_confirmed event and abandoned-checkout on cart_abandoned when the organization sends it, otherwise on checkout_started; cashback and winback need a connected store, because they issue coupons.
3

It creates everything paused

Once you approve the plan, the same call without validate_only creates the flows inactive, the emails and WhatsApp texts, and the campaigns as drafts. The response includes the deployment (deployment, with an rdp_... id) and each created item with its html_url. Nothing is sent.
4

You review and activate

Open the flows and the campaign in Bevits and adjust anything you want. To activate a flow from chat, the agent gets the revision with bevits_get_flow and calls bevits_activate_flow only after you confirm. Draft campaigns can be sent in Bevits or from chat after previewing and explicit confirmation.
5

Or undo it

bevits_rollback_recipe_deployment deletes everything the deployment created and keeps templates that another flow or campaign also uses (kept). The undo is refused with conflict when a flow was activated or already sent messages, or a campaign left draft.
Pass an operation_id (for example, a UUID) when creating and reuse the same value if you need to retry: the retry returns the deployment already created, without plan, instead of creating everything again. Once the deployment is undone, the same operation_id creates it again.

Emails and campaigns

  • bevits_create_email_template creates a template from a Bevits email editor document (document), with name and subject. It shows up in Email templates and can be edited as usual. If a block cannot be built, the response lists the problem in compile_errors.
  • bevits_create_email_campaign_draft creates a draft campaign for a template (email_template_id, etp_...) that no other campaign uses and up to 20 segments (segment_ids, seg_...). This tool only saves the draft; to schedule or send from chat, use the send tools with preview and confirmation (see Send campaigns, tests, and sales).
  • To bring in an email from another tool, the agent calls bevits_import_email_html with the HTML, the language (pt-BR, en, or es), and optionally the subject (the subject line the customer sees; name is only the internal name). Without subject, a new template uses name as its subject and an existing one keeps its current subject. It then follows the conversion with bevits_get_email_import until state is no longer running, and, once it finishes, saves the result with bevits_apply_email_import. quality tells how faithful the editable copy is to the original (editable, review, or fallback). The import creates a new template or replaces the content of an existing one (email_template_id). Each organization can start up to 20 imports per hour.
  • bevits_upload_brand_asset stores an image in Bevits and returns the url to use in emails. Send either url or data_base64, never both.

Brand identity

Generated emails and texts use the organization’s brand identity: colors, fonts, language, voice, vocabulary, links, and footer. The logo is the same as in Settings → Store. Bevits builds a suggestion from the store’s website, and you review and save it in Settings → Store → Brand identity. The agent reads it with bevits_get_brand_kit; while reviewed_at is null it is only a suggestion, and the recipe plan warns about it.

Permissions by operation

Each write tool only shows up when the connection has mcp:write and your account has every permission it requires. Permissions are checked on every request: a change to your role or permissions applies on the next call, without authorizing again. By default, only owners and admins manage templates and campaigns. Through the REST API, the same operations are GET /v1/account-context, GET /v1/brand-kit, GET and POST /v1/recipe-deployments, GET /v1/recipe-deployments/{deployment_id}, POST /v1/recipe-deployments/{deployment_id}/rollback, POST /v1/email-templates, POST /v1/email-campaigns, POST /v1/email-imports, GET /v1/email-imports/{email_import_id}, POST /v1/email-imports/{email_import_id}/apply, and POST /v1/brand-assets. Write calls require an API key with the write scope and respond with 200. An API key is an organization credential, so the permission table above does not apply to it. The Idempotency-Key header is optional: a retry with the same key within 24 hours returns the original response (with Idempotent-Replayed: true), and the same key with a different body is rejected with conflict.

Retry without duplicates

Every write tool takes an optional operation_id, such as a UUID. The agent generates a new value for each call and reuses it only to retry that same call, for example when the connection drops halfway. The retry returns the first result instead of creating everything again, and the same operation_id with a different body is rejected with conflict. It lasts 24 hours, and calls with validate_only: true don’t use it up. Over the REST API, the Idempotency-Key header has the same effect.

Templates and campaign drafts

These tools create and edit templates and drafts for review without sending messages. Sending or scheduling happens in Bevits or through the dedicated send tools after preview and confirmation (see Send campaigns, tests, and sales). Every response includes the html_url of the review screen and, in next_step, what comes next.

Templates for automations

  • Official WhatsApp (bevits_create_whatsapp_template): the agent shows you the copy, calls the tool with validate_only: true, fixes everything it reports, and only then submits the template to Meta. Each call without validate_only submits a new template, so a successful call is never repeated. Body variables are {{1}}, {{2}}… in order, and each one has an example for Meta (example) and what each customer receives (value): a field such as {{first_name}} or {{coupon_code}}, or text mixing fields, such as {{coupon_code}} until {{expiration_date}}. Link buttons use a URL field ({{abandoned_checkout_url}}, {{tracking_url}}…) or a fixed link, and Bevits counts the clicks. The copy-code button takes {{coupon_code}} or a fixed code. The default category is utility; coupons and promotions are marketing. Approval usually takes minutes and can take up to 24 hours; follow it with bevits_list_message_templates.
  • Unofficial WhatsApp and SMS: these templates are created and edited in the Bevits template editor, and the agent finds them with bevits_list_message_templates.
  • Use the template id (wtp_... or stp_...) as template_id in bevits_create_flow_draft.

Edit emails

  1. bevits_get_email_template returns the editor document (document), the name, the subject, and the revision.
  2. bevits_update_email_template takes the revision that was read and what to change: the full document, name, or subject. The document goes through the same validation as bevits_create_email_template.
  3. If someone edited the email in the editor in the meantime, the call returns conflict with the current revision: the agent reads it again and redoes the change on top of the new version, without erasing anyone’s work.
The email of a campaign that was sent or is sending stays as it was sent (locked: true). To reuse it, duplicate the campaign.

Campaign drafts

  • bevits_create_whatsapp_campaign_from_template creates a draft official campaign with an approved template (template_id, wtp_...), with no new Meta review. If the id isn’t an approved template, the error lists the store’s approved ones.
  • bevits_set_whatsapp_campaign_audience and bevits_set_email_campaign_audience set the audience: everyone, or segments with segment_ids. Official campaigns go to one segment; unofficial and email campaigns take up to 20.
  • bevits_update_whatsapp_campaign_draft adjusts the content. For an official campaign: variables (first name or fixed text in each {{n}}), buttons (destination of each link button and code of each copy-code button, by position), and header_media (https URL of the image, video, or PDF when the template has header media). Whatever isn’t sent stays as it was. For an unofficial campaign: texts, with the message or up to 5 A/B variations split evenly; campaigns use {{first_name}}.
  • bevits_update_email_campaign_draft renames a campaign or changes the template it sends.
  • bevits_duplicate_whatsapp_campaign and bevits_duplicate_email_campaign copy any campaign as a draft; the schedule isn’t copied.
  • Only drafts change. If the campaign already left draft, the response says where it is; to change it, duplicate it.

Resend to non-openers

  1. bevits_create_email_non_openers_segment starts building the segment of customers who received the campaign and didn’t open it. Bounces and complaints are left out.
  2. bevits_get_email_non_openers_segment follows it until state is completed and returns the segment_id.
  3. bevits_duplicate_email_campaign with that segment_id creates the resend as a draft, named “(reenvio)”. You review and send it in the app.
Through the REST API, the same operations are POST /v1/whatsapp-templates, GET and POST /v1/email-templates/{email_template_id}, POST /v1/whatsapp-campaigns/from-template, POST /v1/whatsapp-campaigns/{campaign_id}/audience, /draft, and /duplicate, POST /v1/email-campaigns/{email_campaign_id}/audience, /draft, /duplicate, and /non-openers, and GET /v1/email-non-openers/{run_id}. Writes require an API key with the write scope and accept the Idempotency-Key header.

Audit, cashback ROI, and whole audiences

Some questions are faster to answer with the agent than screen by screen: what needs attention in your automations, how much cashback is bringing in, how much two audiences overlap, and how to tag a whole audience at once.

Automation audit

bevits_audit_automations reviews the store in one call and returns what needs attention, from most severe (critical) to informational (info). Each item says what it is (title), why it matters (detail), the link to open it in Bevits (html_url), and the suggested next tool (suggested_next_tool). The audit checks:
  • Active flows using Official WhatsApp templates that are rejected, paused, under review, or deleted.
  • Scheduled campaigns with a template that isn’t approved, and campaigns paused because Meta changed the template’s category.
  • Flows where most coupons expire unused, among the coupons issued in the last 90 days (coupon_window_days).
  • Active flows with no sends in the last 14 days (no_sends_days).
  • Flows with many failed sends in the last 7 days (failure_window_days).
  • Scheduled or draft campaigns whose segments are empty right now.
Example: “Audit my automations and tell me what to fix first.”

Cashback ROI

bevits_get_cashback_roi shows, per automation, the results of the coupons issued in the period (since and until; by default the last 90 days, up to 366 days):
  • coupons_issued, coupons_redeemed, and redemption_rate;
  • revenue_in_cents: revenue from the purchases that used those coupons, counting each purchase once;
  • coupons_expired_unused, expiration_rate, and coupons_available;
  • cashback: how many coupons were generated by a purchase, the value granted (granted_value_in_cents), and the value redeemed (redeemed_value_in_cents). Percentage and free-shipping cashback is counted in unvalued.
Cashback generated by sales in physical stores appears as source: "in_store", and coupons issued outside an automation as source: "other". Amounts follow the store’s reporting currency, as in the app, and the definitions match the coupon filter: a coupon is used when it is linked to a purchase or marked as used. Example: “Which cashback automation brought the most revenue in the last 3 months, and how much cashback expired unused?”

Compare audiences

bevits_compare_segments takes 2 to 5 audiences in audiences. Each one is a saved segment ({"segment_id": "seg_..."}) or conditions in the same format as bevits_preview_segment ({"match": "all", "conditions": [...]}), with an optional label. For each pair, the response includes both, only_a, only_b, the shares, and a sample of customers in both (sample_size, default 3), plus union_count (in at least one) and in_all_count (in all). Saved segments count the way campaign sends do: conditions are evaluated now, customers added by hand are in, and removed customers stay out. Example: “How many customers in the VIP segment already have giftback available?”

Tags on a whole audience

bevits_tag_segment_customers adds (action: "add") or removes (action: "remove") up to 20 tags on every customer of a segment (segment_id) or of a set of conditions (match and conditions).
  1. The agent calls it with validate_only: true and shows how many customers are in the audience (audience_count) and how many will change (to_change).
  2. After you confirm, it calls again with the revision from that validation. If the audience changed in the meantime, the call is rejected with the new numbers, and the agent checks with you again.
  3. Each call applies to up to 10,000 customers (max_customers_per_call). For larger audiences, remaining shows how many are left, and the agent validates and continues until it reaches zero.
Customers who already have the tag (or don’t, when removing) don’t change, and their other tags stay. Nothing is sent. Example: “Add the Black Friday tag to everyone with cashback available.”

Audience suggestions

bevits_get_account_context also returns audience_suggestions: audiences worth acting on now, such as customers with cashback expiring in the next 7 days, customers with cashback available, and customers who let a cashback received in the last 60 days expire. Each suggestion comes with its count and the conditions ready for bevits_preview_segment and bevits_create_segment.

Permissions

  • bevits_audit_automations, bevits_get_cashback_roi, and bevits_compare_segments are read tools.
  • bevits_tag_segment_customers only appears when the token has mcp:write and you have access to Customers and to the whole brand’s data, like the other tag tools. It accepts operation_id.
  • Over the REST API: GET /v1/automations/audit, GET /v1/analytics/cashback-roi, and POST /v1/segment-builder/compare, with the read scope, and POST /v1/segment-builder/tag-customers, with the write scope and the optional Idempotency-Key header.

Dashboard, reports, and logs

With these tools the agent answers “how is the store doing?” and looks into a send without you opening any screen. Everything is read-only: nothing is sent, changed, or bought.

Dashboard

bevits_get_dashboard_summary returns the same numbers as Home for period (24h, 7d, 30d, 60d, 90d, or 12m, default 30d), always ending now in the store’s time zone: Amounts are in cents of the store’s reporting currency (currency), converted with the rate of each purchase day. recent_limit (default 5, maximum 20) sets how many recent recovered carts and giftback sales the response includes.

Campaigns

  • bevits_get_whatsapp_campaign_clicks measures the link buttons of WhatsApp Official campaigns: human clicks, clicks flagged as bots, customers who clicked, and the click rate over delivered messages. The list of who clicked is paginated: pass clickers.next_cursor as cursor for the next page. Clicks are kept for 180 days.
  • bevits_get_email_campaign_metrics shows the delivery of an email campaign: bounced, complained (marked as spam), unsubscribed, rejected, the rates, and clicks per link.
  • bevits_get_email_metrics adds up every email from the store’s sending domain, campaigns and automations, over range (1_day, 1_week, 1_month, 6_months, or 1_year, default 1_month).

Logs

bevits_list_message_logs lists the most recent messages first. Each item gives the channel, whether it came from a flow or a campaign, the status, when it was sent, delivered, read, and clicked, the failure reason for campaigns, and, for abandoned cart automations, whether it recovered the sale (converted_at). For a WhatsApp message, the message_id in the response leads to bevits_get_whatsapp_message_events, which shows every event Meta reported and the error when the message failed. bevits_list_link_clicks lists the clicks from the last 7 days by default, with filters by channel, template_campaign_id, or flow_id. Bot clicks are left out unless include_bots is true. bevits_list_flow_executions lists the runs of an Instagram automation: one per comment or message that started it, with the status and stop reason. In these tools, the next page comes in next_cursor: pass it as cursor with the same filters. The cursor keeps the moment of the first page, so reading never skips or repeats items.

Account status

bevits_get_account_status shows the store platforms (Nuvemshop, Shopify, WooCommerce, Bling, and Wbuy) with when they were connected and their last sync, the email domains with their verification status, the Official WhatsApp accounts and unofficial WhatsApp numbers with their connection status, and the Official WhatsApp credit balance. Tokens, keys, and passwords never leave Bevits. Buying credits and connecting accounts stay in the app.

Permissions

These reads follow the same rules as the app screens and require access to the whole brand’s data (not only units): Through the REST API, the same reads are GET /v1/dashboard/summary, GET /v1/template-campaigns/{template_campaign_id}/clicks, GET /v1/email-campaigns/{email_campaign_id}/metrics, GET /v1/email-metrics, GET /v1/logs/messages, GET /v1/logs/whatsapp-message-events, GET /v1/logs/clicks, GET /v1/flows/{flow_id}/executions, and GET /v1/account-status, with an API key with the read scope.

Products, customer journey, and RFM

These read tools answer questions about the catalog, about one customer, and about the RFM segmentation in a single call. They change nothing and never send messages.

Product catalog

  • bevits_list_products filters by q (title or name), category_id (pct_...), status (active or draft), platform, and store_product_id (the product ID on the store), and sorts with sort: updated (default), best_selling (units sold), top_revenue, or name. It uses the same cursor pagination as the other lists.
  • Each product brings segment_product_id, the value for a “bought this product” segment condition, and its categories with segment_category for “bought in this category”. So the agent goes from “who bought my best seller” straight to a segment that stays up to date.
  • bevits_list_product_categories accepts q and keeps the parent category of each match.

Customer journey

bevits_get_customer_journey takes a customer_id (cus_...) and returns: Coupon statuses follow the same rules as the segment coupon filter: available means unused and not expired, used means it was redeemed, and expired means the expiration date passed without use. If the flow history can’t be read at that moment, flows.available comes back as false and the rest of the journey still answers.

RFM

bevits_get_rfm returns the same numbers as the RFM page: the parameters (recency in days since the last purchase, frequency in orders, and spend in cents, each with a lower and an upper limit), the date of the last calculation, and for each segment — Champions, Loyal, Recent, Needs attention, At risk, Inactive, and Not classified — the number of customers, their share of the base, and segment_id. Use segment_id with bevits_list_segment_customers to list who is in a segment, or pick the segment as a campaign audience.

Permissions

  • The five tools are read-only. Like the RFM page and the customer’s flow history in the app, they need access to the whole brand’s data (not only units); for a member limited to units, they answer with permission_denied.
  • In the REST API, the same operations are GET /v1/products, GET /v1/products/{product_id}, GET /v1/product-categories, GET /v1/customers/{customer_id}/journey, and GET /v1/rfm, with the read scope.

Stop flows and campaigns

When something needs to stop, ask in the chat: a flow that should no longer run, a WhatsApp campaign going out with the wrong offer, or an email campaign whose date changed. The agent confirms with you which flow or campaign it is (name and id) and stops it. It only uses these tools when you ask. All three can be repeated safely: a flow that is already off or a campaign that already stopped is returned unchanged, without changes.

WhatsApp campaign cancellation

The response (whatsapp_campaign_cancellation) brings:
  • outcome: cancelling when the cancellation started; already_cancelled, already_finished, or not_started (a draft) when there was nothing left to stop.
  • sent_count: how many messages had already gone out.
  • message: a short summary to show you.
  • campaign: the campaign, as bevits_get_template_campaign returns it.
The cancellation completes within a few seconds; bevits_get_template_campaign shows the final status. To send the same message again later, create a new campaign in Bevits.

Email campaign scheduling

A scheduled campaign goes back to draft while it waits for its date. Once sending starts, it runs to the end, and the agent tells you so. Through the REST API, the same operations are POST /v1/flows/{flow_id}/deactivate, POST /v1/whatsapp-campaigns/{template_campaign_id}/cancel, and POST /v1/email-campaigns/{email_campaign_id}/unschedule, with an API key that has the write scope.

Pagination

The customer, purchase, segment, tag, attribute, flow, and campaign list tools use cursor pagination. bevits_list_recipe_deployments returns the 50 most recent deployments, and bevits_list_message_templates returns every template at once. Pagination works like this:
  • limit — items per page. Defaults to 25, maximum 50.
  • starting_after — ID of the last item on the previous page.
  • The response carries data, has_more, and next_cursor when more pages exist.
The agent keeps reading by passing next_cursor as starting_after. Because the page size is capped, “give me everything” questions make the agent paginate many times; use filters to get faster answers.

Security and limits

Writing under your control

Without the mcp:write scope, the agent only reads. With it, the agent runs only the actions your role allows. Flow activations, campaign sends or schedules, and unit sale records require previewing and explicit confirmation with revision checks, and the agent never deletes customers or orders.

Scoped to one organization

The token carries the organization chosen at sign-in. No tool accepts an organization ID, so another account can never be queried.

No key in the config

Authentication is OAuth 2.1 with a local callback. No Bevits API key is written to the agent’s configuration files.

Rate limit

Calls are limited per client, token, and operation (120 per minute by default). Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and Retry-After.
Only owners and administrators can open the MCP settings page and authorize the connection. Review who has access to the machine the agent runs on: anyone using the connected agent sees the same data you do and, with writing allowed, can create and activate automations, create WhatsApp campaigns, build segments, and tag customers.
Connecting an assistant requires access to the whole brand in Bevits, since it reads customers, purchases, and totals across the brand. Access is checked on every call: if it changes on the Team page, the change applies from the agent’s next response.

Errors

When a tool fails, the agent receives a structured error with a code and, when available, request_id and retry_after.
When contacting support, include the request_id from the error — it points to the exact call.

Troubleshooting

The agent does not list the tools. Confirm the server shows as connected (claude mcp list or codex mcp list) and run the OAuth authorization again.
I connected the wrong organization. Remove the server from the client, add it again, and pick the correct organization on the sign-in screen.
The authorization screen says my access is limited to units. Connecting assistants requires access to the whole brand. Ask an owner or admin to adjust your access on the Team page, then authorize again.
The agent can’t create automations. Connections made before the write option, or authorized with Create automations, emails and campaigns unchecked, are read-only. Run the OAuth authorization again (in Claude, disconnect and reconnect the connector; in the terminal, use /mcp or codex mcp login bevits) and check the option. If it doesn’t appear, your account has none of the write permissions in this organization.
The agent creates automations but not WhatsApp campaigns. The campaign tool requires access to the Official WhatsApp Campaigns area. Ask an owner or administrator to grant that area to your account. You don’t need to authorize again; if the tool doesn’t show up, reload the connector or start a new conversation.
The agent doesn’t show the recipes or the email tools. They require permission to manage templates and campaigns, which only owners and admins have by default. Ask one of them to grant these permissions to your account; then reload the connector or start a new conversation.
I need another write operation or integration. Over MCP, writing covers CRM, segments, tags, automations, recipes, templates, campaigns (creation, confirmed sends, and cancellation), custom events, and webhooks — always filtered by your permissions. For backend-to-backend integrations or other workflows, use the REST API or contact support.