Meta Business Agent in Qontak

How MBA configuration will look, per lifecycle part — Onboard · Configure · Operate — on today's pages, with every new element mapped to the Meta API surface it handles.

Initiative: chatbot/meta-business-agent (ANCHOR v1.5, draft) · Wireframes grounded in the Meta MBA Platform docs, the MBA API Guide (Confluence 51248070777), and the current hub / hub-core / chatbot / chatbot-fe code · 21 Jul 2026 · DRI: Dimas Fauzi Hidayat

0 · Setupone-time, Qontak-side: BISU token · subscribe app · webhook fields
1 · Onboardeligibility → prepare → allowlist → ON, per number
2 · Configureknowledge · skills · connector tools
· Set liveSettings: agent ON (end of part 1)
3 · Operatestandby inbox · take-over · release
· Measureagent test + eval → refine (in part 3)

Meta's own lifecycle (MBA Platform API Guide §11). The three highlighted stages are the customer-facing parts wireframed below; Setup is invisible to the customer.

Existing today — reused as-is Existing · adapt for Meta — field shape needs mapping NEW to build — no counterpart today

The bigger picture — omnichannel for AI agents

Qontak's vision: the customer chooses which AI agent powers each channel — the Qontak AI Agent (Mekari AI) or Meta Business Agent — on the existing AI agents page (Bot automation ▸ AI agents), where agents already meet channels: one "Runs on" column and one provider field in the existing deploy-to-channel drawer, no new page. Knowledge, actions, testing, and the inbox are a shared shell; MBA is the first alternative provider, and future providers become one more option in that select plus a new sync target — not a redesign. Two topologies per number, no MBA-specific flow: MBA-primary (MBA answers, the flow is dormant, Qontak observes on standby) or flow-primary (the flow orchestrates and reaches MBA as a capability-gated hand-off node with a fallback port). (Vision note 21 Jul 2026; panels B and D of part 1.)

1 · Onboard — enable MBA on a WhatsApp number

Enable MBA on the existing WhatsApp Account details page (Settings ▸ Channel integration); choose the AI provider on the existing AI agents page (Bot automation); go live with an optional pilot allowlist. Order enforced: Eligibility → Onboarding → Configure → Allowlist → ON.

Onboard wireframe: channel account details page with new MBA section, provider choice on the existing AI agents page, and go-live drawer
Meta surfaces handled in this part
UI elementMeta API surfaceState
Eligibility row (badge + reason on the channel page)Eligibility — per-number check (EU WABA, excluded verticals, trust, conflicting product)NEW
"Connect Meta agent" → Prepared statusOnboarding — creates agent config + knowledge container (agent stays OFF)NEW
Webhook status chipsWebhook fieldsmessages · standby · messaging_handovers; subscribed by Qontak (Tech Provider, BISU token)NEW (backstage)
ToS calloutMBA Terms of Service — accepted in WhatsApp Manager (external step, deep-linked)NEW (external)
Provider choice — "Runs on" column + provider field in the existing AI agents page's deploy drawer— (Qontak abstraction; selects which sync target the channel uses)NEW · vision on existing page
Test allowlist in the go-live drawerAllowlist — restrict replies to pilot consumer numbersNEW
Agent settings summary (read-only) + visibility toggleSettings — persona · language · handoff/follow-up policy · enable (new conversations only); values authored in the existing AI agent builder and mapped on publishadapt
"Hand over to Meta Business Agent" node in the flow (flow-primary topology) — terminal hand-off with a fallback port; gated by NodeRegistry supported_channels + MBA-active per number, with a save-time lint on multi-channel flowsThread Controlrelease at the hand-off boundary; flow dormant until take-overNEW · vision (lands with Automation Flow Builder)

2 · Configure — what the agent knows and can do

One builder, two destinations. The existing Resources, AI agent Profile, and Actions pages stay the single source of truth; publishing syncs each field to its Meta endpoint. ~90% of the configuration surface is reused — the build is the sync layer, plus one genuinely new form (Business info).

Configure wireframe: resources with Meta sync toggles, profile to skills mapping, actions with Meta connector column, and field mapping table
Meta surfaces handled in this part
Qontak surface (existing)Meta API surfaceState
Resources · Text contentFAQs — Q&A pairsadapt (chunked into Q&A on publish)
Resources · External URLWebsites — Meta crawls the URLclean reuse
Resources · File / OCR uploadFiles — document ingestionclean reuse
— (no counterpart today)Business info — structured hours · locations · policiesNEW form
Profile · goals, tone, guidances, guardrailsSkills — system instructions / brand voiceadapt (mapper, no new inputs)
Actions · per-action expose toggleConnectors (Qontak-hosted gateway; credentials never sent to Meta) + Connector tools (name · description · input/output schema)adapt (schema derivation)
Backend events (no UI)Agent Event — proactive follow-ups on business eventsNEW backstage

3 · Operate — one inbox, whoever answers

MBA is the primary responder; Qontak runs on standby and sees everything. An agent takes over by simply replying, and hands back with Thread Control release. The same inbox interaction applies whichever AI provider drives the channel. Eval results loop back into Configure.

Operate wireframe: inbox with control banner and takeover/handback markers, webhook routing table, testing page with Meta run target and eval scores
Meta surfaces handled in this part
UI element / behaviourMeta API surfaceState
Standby copies + receipts rendered in the room; "Meta AI" room tagstandby webhook field — persist echoes so the inbox stays completeNEW processing, existing UI slots
Take-over (send a reply)messages webhook field takes effect — sending implicitly takes controlNEW control logic
Control banner + timeline markersmessaging_handovers — source of truth for who holds the roomNEW
"Return to Meta agent" actionThread Control (Cloud API) — action = release (only release functions today; pass reserved)NEW
Testing · "Run vs Meta agent" + eval columnAgent test (send questions) + Agent eval (score performance)adapt (existing suites, new target)