Motivation and problem statement
Customer conversations often arrive through services that use different event formats, identity schemes, attachment conventions, delivery receipts, and access rules. A shared inbox can make those conversations easier for a team to manage, but unifying the interface alone does not resolve the underlying systems problems.
This project focuses on the boundary between external messaging providers and a multi-user application. It asks how to preserve the meaning of a conversation as events pass through provider adapters, background processing, storage, and the shared inbox. The practical challenge is to avoid treating unlike provider events as if they had identical semantics.
Research questions
- Representation: What common message and conversation model can support several provider formats while retaining provider-specific identifiers, timestamps, attachments, and event types?
- Reliability: How should duplicate, delayed, out-of-order, or temporarily unavailable provider events be handled so that retries do not silently lose or multiply messages?
- Context: Which pieces of provider and customer context must be retained so that a team can understand and continue a conversation across channels?
- Isolation: How can a multi-tenant system ensure that conversations, identities, credentials, and live updates remain scoped to the correct organization?
- Evaluation: Which repeatable scenarios and measurements can compare integration completeness and recovery behavior across providers without exposing private conversation content?
Applied system context
The implementation context is Viomni, a multi-tenant CRM and omnichannel inbox developed by Sunrise IECO. The reviewed API codebase is structured as a Laravel modular monolith and documents MongoDB persistence, JWT authentication, and tenant-scoped API access. Its product modules include channel connections and inbox conversations alongside CRM records such as customers, leads, and orders.
The channel layer contains provider connector implementations and a shared inbound message contract. The source currently includes connector code for Facebook, Zalo, TikTok, Shopee, internal/web events, and an agent bridge for personal-channel devices. The code also marks Facebook and Zalo connectors as supporting message-history backfill. These are statements about code present in the reviewed project; they do not by themselves establish that every provider connection is currently approved, configured, or available in a production environment.
System model under study
The implementation suggests a pipeline that can be described and evaluated as a sequence of responsibilities. The exact behavior varies by provider and is one of the subjects to document.
Design concerns represented in the codebase
- Provider adapters: separate connector implementations parse incoming provider payloads and expose outgoing-send behavior where supported.
- Asynchronous ingestion: inbound processing is handled through queued jobs, separating webhook receipt from the heavier work of recording and enriching a message.
- Duplicate handling: the ingestion path includes idempotent processing keyed to provider message identity, with additional safeguards for some agent-delivered events.
- Reconciliation: Facebook and Zalo have code paths for retrieving message history, which can help examine gaps between live event delivery and later reconciliation.
- Outbound state: queued delivery, retries, resend behavior, and provider responses are represented in the outbound workflow; personal-channel delivery may depend on a connected agent being online.
- Tenant scope: tenant identifiers are carried into queued work and used to scope inbox data and real-time subscriptions.
This summary is based on a read-only inspection of project documentation and source code. It is an implementation description, not an audit of production configuration or a guarantee of runtime behavior.
Proposed research method
The next methodological step is to freeze a small, explicit evaluation protocol before making claims about quality. A useful protocol would combine source-level design documentation with controlled, repeatable event scenarios and report limitations for each provider.
- Define a channel capability matrix. Record which event types, identity fields, attachment types, receipts, outbound actions, and history APIs are available for each connector. Mark unsupported or unverified behavior plainly.
- Build a privacy-safe scenario set. Use synthetic or consented test accounts and generated conversation content. Include normal delivery, duplicate event, delayed event, reconnect, provider error, and history-reconciliation cases.
- Instrument outcomes. Record event receipt, normalization, persistence, conversation association, outbound result, and recovery outcome with timestamps and non-sensitive identifiers.
- Repeat and compare. Run each scenario multiple times per supported connector and report the sample size, environment, provider limitations, and missing data. Do not infer production-wide reliability from a small controlled sample.
- Publish a protocol and limitations. Document the version of the system, test setup, definitions, and exclusions so that another reviewer can understand what was and was not evaluated.
| Proposed measure | Operational definition | Interpretation limit |
|---|---|---|
| Event-to-record completeness | Share of eligible synthetic events represented in the stored conversation with required fields preserved. | Depends on the provider's event contract and the scenario set; not a measure of all real-world messages. |
| Duplicate suppression | Whether repeated delivery of the same provider event creates one logical message record. | Requires stable provider identifiers; content-based safeguards may have different trade-offs. |
| Recovery behavior | Whether a delayed or retried event is eventually reflected after a controlled interruption or reconciliation run. | Provider retention windows and API limits constrain recovery. |
| Context preservation | Presence of defined fields such as source, external message ID, event time, sender identity, and attachment references. | Field availability and semantics differ between channels. |
| Tenant isolation | Whether test events and real-time updates remain visible only in the test tenant that owns the connection. | Controlled tests cannot replace a full security assessment. |
These measures are proposals. No numerical results or completed comparisons are reported on this page.
Privacy, security, and responsible data handling
Messaging records can contain personal information. Any evaluation should minimize data collection and avoid publishing private conversation content, account credentials, access tokens, or customer identifiers. Prefer generated test conversations; if real accounts are necessary, obtain appropriate authorization and consent and remove or mask identifying information before analysis.
- Use dedicated test tenants and accounts for controlled scenarios.
- Do not include secrets, tokens, webhook signatures, or raw customer messages in public materials.
- Store only fields needed to evaluate a stated question and define a retention period for test data.
- Report security testing separately from functional evaluation and avoid implying that source-code inspection alone proves security.
Current status and planned work
The work began in June 2026 and is currently exploratory. The system provides an applied setting for defining the problem and inspecting integration design. A frozen protocol, completed comparative dataset, peer-reviewed publication, and independent evaluation are not claimed.
| Workstream | Status on this profile |
|---|---|
| Define the research questions and system boundary | In progress |
| Document provider capability differences and assumptions | Planned |
| Specify repeatable, privacy-safe test scenarios | Planned |
| Run and report measurements | Not reported |
| Release a paper, dataset, or independent review | Not claimed |
Future updates should identify the date, system revision, methods, and evidence behind any change in status. If the project produces results, the page should distinguish observed measurements from interpretation and include enough methodological detail for review.
Limitations
- Messaging providers control their APIs, permissions, event delivery, retention, rate limits, and product policies; these conditions can change.
- A common inbox model can simplify internal workflows but cannot erase channel-specific rules or guarantee identical behavior across providers.
- The current page summarizes one applied codebase. It does not compare the system with a representative sample of other platforms.
- Source code and feature presence do not establish deployment status, customer adoption, operational reliability, or research novelty.
- Any future quantitative findings will be limited by the scenario set, sample size, environment, and provider capabilities used.
Project contact
For questions about the scope or status of this project, contact hoang.tranhuy@evovi.vn.
Institutional and project-status disclosure
This project profile is hosted on Sunrise IECO’s company website and describes work in the context of its software system. It is not an official FPT University laboratory page and does not state or imply FPT University endorsement, supervision, or research affiliation. No academic title, institutional approval, publication, grant, or independent review is claimed here.
Whether this work qualifies for any particular academic program, research benefit, or non-commercial research offer must be determined by the relevant institution or program. This page provides project context; it is not evidence of eligibility.