Platform Data Architecture — AI Bizlutions
Last Updated: May 7, 2026
AI Bizlutions is a SaaS CRM and social marketing platform (Tech Provider) that manages Meta Platform integrations on behalf of customers. Each customer connects their own Facebook Page and/or Instagram Professional account via OAuth. Platform Data is processed only at the customer's direction and stored with strict tenant isolation.
| Source | API Endpoint | Data Collected |
|---|---|---|
| Facebook Login | Graph API /oauth/access_token | User access token, user ID |
| Facebook Pages | Graph API /me/accounts | Page ID, page name, page access token, category |
| Instagram Business | Graph API /me?fields=instagram_business_account | Instagram user ID, username |
| Facebook Profile | Graph API /me?fields=id,name,email | Meta user ID, display name, email |
User Browser (React SPA)
|
| HTTPS (TLS 1.2+)
v
AWS API Gateway (us-east-2)
|
| Internal AWS network
v
AWS Lambda Functions (Node.js 20.x)
|
|--- integrations.ts: OAuth token exchange, credential storage
|--- socialPostingService.ts: Graph API publish calls
|--- facebookTokenService.ts: Token refresh
|--- gdpr-delete.ts: Cascade deletion + token revocation
|
|--- [Outbound HTTPS] --> graph.facebook.com (Graph API v23.0)
|
v
AWS DynamoDB (us-east-2, encryption at rest via AWS-managed keys)
|
|--- credentials table: Stores encrypted OAuth tokens
| (AES-256-GCM via TOKEN_ENCRYPTION_KEY)
| Partition: credentialId (one per customer)
|
|--- social table: Stores post content + metadata
| Partition: customerId (tenant-isolated)
|
|--- activity-logs table: Audit trail (90-day TTL)
| Partition: customerId + timestamp SK
|
AWS S3 (us-east-2, SSE-S3 encryption at rest)
|--- {customerId}/... — Media uploads (tenant-isolated by key prefix)
customerId as the partition key{customerId}/ — cross-tenant access prevented by key prefix validationWhen a user requests account deletion (DELETE /api/auth/account):
Meta data deletion callback (POST /api/integrations/facebook/deauthorize):
| Provider | Purpose | Data Shared | Agreement |
|---|---|---|---|
| Amazon Web Services (AWS) | Cloud hosting, compute, storage, database | All Platform Data (encrypted at rest) | AWS Service Terms + DPA |
| Google (Gemini AI) | AI text/image generation | Sanitized prompts only (PII redacted before transmission) | Google Cloud ToS |
No Platform Data is sold, licensed, or shared with any party beyond the above service providers.