LogiFlow AI: Logistics Operations & WhatsApp CRM Engine
Unifying ERP data, customer emails, and rate sheets into an automated AI freight quotation and WhatsApp operational workflow pipeline.
Project Overview
Freight forwarders receive hundreds of rate requests daily across messy email threads and WhatsApp groups. Quoting requires calculating ocean freight, bunker adjustment factors, terminal handling charges, and customs clearance tariffs across multiple carriers. LogiFlow AI automated this entire workflow using an AI quotation engine and WhatsApp task execution.
Engineering Challenges & Bottlenecks
- Unstructured Customer Inquiries: Inquiries arrive with incomplete port codes, mixed container specifications, and vague cargo descriptions.
- Complex Carrier Tariff Matrices: Carrier rate sheets change weekly across Excel spreadsheets, Zybo ERP tables, and carrier PDFs.
- Slow Operational Turnaround: Field agents and warehouse staff rarely check desktop email while moving cargo.
Architecture & Solutions
- Multi-Channel Ingestion Pipeline: Utilized Microsoft 365 Graph API and Meta WhatsApp Webhooks to parse incoming RFQs with structured LLM entity extraction.
- pgvector Semantic Tariff Search: Stored carrier contracts and surcharges as embeddings in PostgreSQL with pgvector, retrieving the best valid rate in milliseconds.
- Interactive WhatsApp Action Buttons: Dispatched quotation approvals and driver pickup confirmations as interactive WhatsApp messages with one-tap action buttons.
- Zybo ERP Webhook Sync: Synchronized confirmed shipments and invoice statuses directly into Zybo ERP with zero manual data entry.
Key Engineering Contributions
- Designed the overall n8n workflow architecture and FastAPI microservice endpoints.
- Engineered the pgvector database schema and embedding generation pipeline in PostgreSQL.
- Integrated Microsoft Graph API for email ingestion and Meta WhatsApp Cloud API for automated dispatch.
Key Results & Performance Metrics
Core Technology Stack
High-concurrency microservice handling LLM orchestration and parsing.
Vector database for semantic tariff matching and tariff storage.
Orchestration workflows connecting ERP, email, and databases.
Interactive customer messaging and field staff task execution.
Looking to Deploy a Similar Solution?
This architecture is available as a customizable, white-label commercial software solution. Explore features, deployment timelines, and turnkey pricing.
View Logistics Engine ProductNeed Senior Mobile & System Architecture for Your Next Initiative?
I help ambitious organizations architect, build, and deploy production-grade mobile platforms and high-throughput backend services.