Workspace scopedNo send / no publishNo scrape / no spendOAuth + webhook ready

Social Connections

A compact connection cockpit for routing the same Sales Bot Brain through Instagram, Facebook Pages/Messenger, X, LinkedIn, email, and SMS. No provider calls, publishing, scraping, sends, or spend are active from this page.

Saved Meta connection

No saved Meta account found yet. Use Connect Meta and continue through Facebook to create the first read-only record.

not connected

Connection Readiness

Checking workspace session...

Records

5

Credential blocked

3

Workspace

local_workspace_preview

No-spend / no-send gates

Future reply flows must check approval queue status, workspace policy, consent/suppression, platform review, rate limits, audit logging, and an explicit send or publish action. Approved still does not mean sent.

Shared Sales Bot Routing

One CrewLogik Sales Bot Brain supplies the answer strategy. Each adapter translates inbound context, channel rules, reply format, consent checks, and approval state before anything can reach a customer-facing surface.

Brains

1

Adapters

6

Auto-send

0

1 owned preview adapter active

Website chat can answer locally. Social, email, and SMS stay draft or blocked.

Website chat

Owned website

/api/website-chat/public
Auto-reply allowed on owned widget
Working locallyLead Inbox + CRM

Instagram DMs and comments

Meta / Instagram Professional

/api/social/webhooks/meta
Draft replies only
OAuth and app review neededSocial Inbox + Lead Inbox

Facebook Page and Messenger

Meta / Facebook Pages

/api/social/webhooks/meta
Draft replies only
Page OAuth neededSocial Inbox + Lead Inbox

X DMs and mentions

X / Twitter

/api/social/webhooks/x
Draft replies only
Developer access neededSocial Inbox + Lead Inbox

LinkedIn messages and page engagement

LinkedIn

/api/social/webhooks/linkedin
Blocked until credentials
Future adapterSocial Inbox + CRM

Email and SMS

Resend / Twilio

/api/messaging/webhooks
Draft replies only
Sender credentials neededInbox + CRM

Product decision: keep one workspace Sales Brain per product. Channel adapters only handle identity, webhook shape, consent, reply windows, formatting, approval state, and future provider-specific delivery.

Webhook readiness checklist

Public HTTPS app URL configured before provider verification.
Per-provider verify tokens and webhook secrets stored server-side only.
OAuth callbacks implemented with state validation and workspace binding.
Inbound events saved as drafts or inbox items, never auto-replied.
Outbound actions remain disabled until approval, policy, audit, and rate-limit gates exist.
App review and platform permission approval completed before live account access.

Channel Status

Connection records are ready to model OAuth, webhook intake, routing, and approval gates only.

0 external actions enabled

Instagram Professional setup cockpit

Webhook not verified

Connects through Meta OAuth for read-only account discovery. Messaging, publishing, and webhook intake still require app review, token vaulting, and approval-gated live endpoints. This cockpit is a dry-run contract for credentials, OAuth callbacks, webhook events, inbox routing, approvals, and future workers.

Readiness

67%

Dry-run queue

Enabled

OAuth callback

/api/social/oauth/meta/callback

Webhook endpoint placeholder

https://opthira.com/api/social/webhooks/meta

Provider docs

Connect Facebook + Instagram

Opens Meta login and saves the owner Meta account first. Facebook Page and linked Instagram access unlock after Meta accepts the advanced Page/Instagram permissions.

Setup stages

1

Workspace record

ready

Connection shell is tenant-scoped and can be linked to campaigns, inbox items, approvals, and future workers.

2

Credential placeholders

ready

Required environment placeholders are present.

3

OAuth setup

ready

OAuth route can start a signed workspace-bound provider connect flow.

4

Webhook verification

blocked

Webhook endpoint is a readiness contract and does not ingest live events.

5

Approval gates

ready

Draft, send, publish, scrape, and spend gates are locked for every platform.

Webhook event contracts

https://opthira.com/api/social/webhooks/meta

instagram.message.received
inboundlead_inbox
workspace_idplatform_account_idsender_idmessage_idreceived_at

Create inbox item only; never auto-reply.

instagram.comment.received
inboundapproval_queue
workspace_idmedia_idcomment_idcommenter_idreceived_at

Generate optional reply draft for approval only.

instagram.messaging.permission_revoked
complianceaudit_log
workspace_idplatform_account_idrevoked_at

Disable future outbound drafts for the connection.

Inbox handoff

Source
Instagram DM/comment intake
Record
social_conversation_thread
Draft destination
Lead Inbox reply draft and Approval Queue item

Approval gates

Human approval required

enforced

No Instagram reply or post can leave draft state without approval.

24-hour/context window review

pending

Future live sends must verify the platform response window before sending.

Claims and offer review

enforced

Product Brain approved/prohibited claims must be checked before draft handoff.

Future worker handoff

social.instagram.intake.dry_run

contract readydry-run only
  • Meta app review
  • webhook signature verification
  • token vault
  • approval send endpoint