Technology

Eight AWS services, five stages, one record.

Loopform is designed to run on AWS. A WhatsApp pickup flows through Amazon API Gateway and AWS Lambda into Amazon S3 and DynamoDB, Amazon Bedrock checks the photo, and confirmed records reach the brand's ledger.

Deployed and tested

None yet. Loopform is in development and no part of this architecture is running for customers.

Configured, not yet tested

None yet.

Proposed

All eight services on this page. This is the design for the Lagos pilot and may change as we build.

Architecture

A WhatsApp pickup flows through AWS to the brand ledger.

Loopform proposed AWS architecture, five stages and eight servicesData collection: WhatsApp Cloud API → Amazon API Gateway. Receives collector messages and brand uploads over HTTPS. Secure storage: Amazon S3 and Amazon DynamoDB. S3 holds pickup photos and pack files; DynamoDB holds pickups and the ledger. Processing: AWS Lambda. Runs the chat steps, checks weights, writes confirmed records. AI intelligence: Amazon Bedrock. Drafts pack concepts, reads pickup photos, explains scores. Application: Amazon CloudFront, Amazon Cognito, Amazon SES. Serves the dashboard, handles sign-in, emails EPR reports. Proposed, not yet deployed. Data collectionSTAGE 1WhatsApp Cloud API → Amazon API GatewayReceives collector messages and brand uploads over HTTPSSecure storageSTAGE 2Amazon S3 and Amazon DynamoDBS3 holds pickup photos and pack files; DynamoDB holds pickups and the ledgerProcessingSTAGE 3AWS LambdaRuns the chat steps, checks weights, writes confirmed recordsAI intelligenceSTAGE 4Amazon BedrockDrafts pack concepts, reads pickup photos, explains scoresApplicationSTAGE 5Amazon CloudFront, Amazon Cognito, Amazon SESServes the dashboard, handles sign-in, emails EPR reportsWhatsApp Cloud API is Meta's service, not part of AWS. Proposed architecture, not yet deployed.
Services

What each service would do.

Proposed AWS services
ServiceRole in LoopformStatus
Amazon API GatewayReceives WhatsApp Cloud API webhooks and dashboard requests.Proposed
AWS LambdaRuns the chat flow, validates each pickup and writes confirmed records.Proposed
Amazon S3Stores pickup photos, pack design files and exported reports, encrypted at rest.Proposed
Amazon DynamoDBHolds collectors, pickups, confirmations and the EPR Ledger.Proposed
Amazon BedrockGenerates pack concepts, reads pickup photos and explains recyclability scores.Proposed
Amazon CognitoHandles sign-in and roles for brand, PRO and aggregator users.Proposed
Amazon SESEmails monthly EPR reports and pilot notifications.Proposed
Amazon CloudFrontServes the website and dashboard over HTTPS.Proposed
WhatsApp Business PlatformNot an AWS service. Meta's Cloud API carries the collector and hub messages into API Gateway.Proposed
How the model is bounded

Bedrock works from records, never instead of them.

The model only works from stored records and the inputs a user supplies. It can't change a confirmed weight.

  • Pack concepts are drafted from the brand rules and specs a user uploads.
  • Recyclability scores come from design rules; the model explains them in plain words.
  • Photo checks produce a confidence level. Low confidence routes the record to a person.
  • Message parsing turns chat replies into fields. A missing weight stays empty.

Choices behind the design

  • Serverless. Pickup volume is small and bursty during a pilot, so nothing runs idle.
  • WhatsApp as the front end. No app for collectors, no data-heavy upload.
  • Configurable report formats. Detailed EPR reporting rules may change; exports are templates, not hard-coded.
  • Model access inside AWS. Photos and pack files stay in our AWS account when Bedrock reads them.
  • Encryption at rest for photos, pack files and exported reports in S3.
Data model

What gets stored.

Brand & SKU

Brand rules, product specs, pack concepts and their estimates.

Collector

WhatsApp number, ID, the hubs they deliver to.

Pickup

Material, weight (or empty), photo, location or hub, AI confidence.

Confirmation

Which hub confirmed or rejected a pickup, and when.

Ledger entry

Confirmed kilograms by material, region, partner and period.

Audit event

Every confirmation, rejection, edit and export, with who and when.

How this data is protected

Talk to us about a pilot

If you are a Lagos brand, PRO or aggregator hub, we would like to hear how plastic recovery is recorded today.