One Factory Method backbone for Slack, Teams, Google Chat, and Webex at Espressive
Overview
Each enterprise chat channel — Slack, Microsoft Teams, Google Chat, Webex — started life as a bespoke integration. When fulfillment code branches on channel, you are maintaining N products that drift apart under deadline pressure.
Designed and implemented the Factory Method–based integration framework and the shared testing utilities that every channel adapter builds on.
Channel adapters normalize every inbound message into a common envelope; a Factory Method instantiates the right adapter per channel; fulfillment code operates on intents and entities and never branches on channel. Shared testing utilities give each new adapter the same conformance suite from day one.
Slack, Microsoft Teams, Google Chat, and Webex all run on one backbone, and each new channel costs less than the one before it. Zero critical vulnerabilities maintained across these enterprise integrations for two years.
Define the shared intent schema on day one and version it like an API — merging divergent intent definitions later is the expensive path. Build the adapter last: get the shared envelope and the testing story right first.
Lessons
Fulfillment code must not branch on channel. The adapter is the last thing you build, not the first — get the shared envelope and testing story right and each new channel gets cheaper.
Stack
Related writing
Talk shop
If you're hiring for similar backend, AWS, voice, or integration work — or just want to compare notes on architecture — reach out directly.