Helio
Associate Software Engineer · Mindstorm Studios · Production rollout
In-game support for four live games. I built and owned Helio, the in-house support platform that replaced Helpshift: players get help in the game, and support teams manage cases, rules and reporting in separate game workspaces.
Overview
One support platform for four live games, with each game running as its own workspace.
Mindstorm needed one system to run player support across games while giving each support team control over its own operations. Helio brought player chat and a Help Center, the agent inbox, routing, SLA alerts, automation and reporting into a single platform. My work spanned the support data model and NestJS backend, the Next.js dashboard, and deployment and load testing. I built around game workspaces and kept selected Chatwoot-compatible contracts for player chat and bot integrations. Behind those contracts, Helio has its own workspace permissions, assignment rules, notification worker and support reporting.
NestJS support APINext.js agent dashboardNotification worker on Redis and BullMQ
Built and owned by me end to end. Public API features with unclear individual attribution are credited to the platform. Who owned what
My part
I designed the whole database schema and the APIs, built the dashboard and the player widget inside each game, set up the Slack and email providers and the AWS infrastructure, and ran deployment and load testing. The bot workflow is the one place I contributed rather than owned.
- Database schema. Designed the complete PostgreSQL schema for the Helio architecture, covering accounts, workspaces, conversations, contacts, agents, rules and support configuration.
- APIs. Built the account-scoped NestJS APIs on top of that schema for conversations, contacts, agents and support configuration.
- The player widget. Built the help and chat widget that players use inside each game.
- Providers and infrastructure. Set up the Slack and email providers behind notifications, and the AWS infrastructure under the platform.
- Assignment and SLAs. Implemented admin-configurable round robin and an SLA and rules engine with Slack and email alerts.
- Notification service. Built and operated a Redis and BullMQ-backed notification service.
- The dashboard. Built the Next.js support dashboard as part of end-to-end ownership.
- Delivery. Automated Compose deployments behind Nginx on EC2, and load-tested multi-workspace datasets with k6.
- Bot workflow, in part. Contributed to an n8n workflow that answered FAQs from the workspace knowledge base and escalated uncertain cases.
- The game clients that host the widget
- The rest of the n8n bot workflow beyond my contribution
Architecture
Staff, players and automation enter through different interfaces. NestJS owns the support domain.
NestJS owns the support domain, PostgreSQL stores support data, and a Redis-backed worker delivers external notifications. Sanitized diagram: no production endpoints or screenshots.
Control of a game workspace
A platform operator creates an account, staff are added with roles, teams and inboxes, and an admin chooses who joins rotation. Authentication, permissions, scope and assignment eligibility are four separate questions.
A message is more than a POST
Validation, actor-specific handling for agents and bots, persistence, live presentation to the player, and separate external notifications.
A vendor replacement is an operations migration
Portal content, branding and widget configuration, then staff, routing, SLA rules, notifications and reports.
Player and bot flow
The widget opens or resumes a contact, creates or retrieves a conversation, and appends messages. REST gives history and read state; a compatible socket gives live updates.
Account and workspace are the game boundary. Users take part through workspace membership and roles. Teams and inboxes organize support. Contacts, conversations, messages, labels, custom attributes and attachment references model the case. This is a conceptual model of the resources, not the physical schema.
- 01
Set up a game
Provision a workspace, add staff with roles, teams and inboxes, then configure player intake and Help Center content.
- 02
Follow a conversation
A player opens or resumes a case, the bot answers or hands off, and an agent works from the same conversation.
- 03
Run support operations
Rotation pool, SLA alerts, the 30-day inactivity rule, and reports for supervisors.
- 04
Deploy and measure
Compose behind Nginx on EC2, deploy on merge to main, k6 against populated workspaces.
A fictional game, a synthetic issue. A player is missing a reward after an event. They open the Help Center and find a relevant article. If they still need help, the widget creates or resumes their contact and opens a conversation, and an interactive bot reply asks which event was affected. If the article cannot resolve it, the bot leaves the details in the same conversation and requests a handoff. A human agent receives the case through that workspace routing policy, sees the full history, and works with labels, attributes and attachments. An SLA alert can notify the responsible agent. If the case waits on the player and meets the inactivity rule, it can close after 30 days. Supervisors review service metrics and closure outcomes in reports.
A composite of documented capabilities. Helio does not grant rewards, issue refunds or run game actions.
| Workflow | What Helio exposes | What to discuss |
|---|---|---|
| Provision a game | Global account management, a platform-wide admin dashboard, and distinct workspace-level account operations. | Keep the platform owner scope separate from the scope used to run one game. |
| Give staff access | Global users, account membership, workspace users, agent roles, invitations, password reset and onboarding state. | Identity, membership, eligibility and onboarding are separate concerns. Who can log in and who can receive a ticket are different questions. |
| Set permissions | Workspace role definitions, teams, inbox members, and restore operations for selected resources. | Permissions, working groups and channel membership are separate control surfaces, with a recovery path for selected admin actions. |
| Configure player intake | Inboxes, inbox branding, a public player contact surface, and widget bootstrap from the Help Center. | Each game and inbox configures its entry point while the backend stays one shared implementation. |
| Publish self-service | Portals, categories, articles, logos and banners, localized public listings, article search and widget configuration. | A publishing surface with its own lifecycle. Players can reach help before they need a case. |
| Bring existing help over | A portal-scoped Helpshift import and a separate FAQ sync with run history. | Support content gets a migration path, and sync runs are inspectable. |
| Start or resume a case | Create or retrieve a contact, list or create conversations, read or send messages, move the read cursor, get unread count. | Contact identity, case history, message history and read state stay distinct. A live subscription adds updates; REST supplies history. |
| Add bot coverage | Bot management, inbox attachment and provisioning, runtime config and article access, enable, disable and reprovision. | Operating automation is separate from the runtime work of posting a reply, setting labels or escalating. |
| Work the queue | Conversation list and detail, sidebar counts, search, saved filters, contacts, labels, custom attributes and scoped attachments. | The queue view is separate from the conversation, and game-specific metadata is data, not new fixed API fields. |
| Route and escalate | Admin-defined rotation pool, automation and SLA policies, Slack integration. | Initial assignment, escalation rules and external delivery stay distinct. |
| Resolve and follow up | Status changes, 30-day inactivity closure, SLA reporting and CSAT reports. | Changing case state is separate from measuring service performance. |
| Report outside the inbox | Grouped metrics, source breakdowns, heatmaps, SLA misses, CSAT, exports and external report contracts. | Agent navigation, supervisor analytics and external reporting get distinct APIs. |
| Deploy and operate | Docker Compose, Nginx, EC2, deploy on merge to main, a health endpoint and k6 scenarios. | Own the operating path as part of the product. |
- Health and administration
- Inbox, teams, conversations and customer data
- Bot operations
- Help Center and player widget
- Automation and integration
- Reports
Documented in Swagger. WebSockets and background jobs sit outside that surface.
Decisions
Nine choices that shaped the platform, and why.
Preserve the integration contract while changing the backend
- Context
- Player and bot integrations need a stable way to identify a conversation, send a reply and receive updates.
- Decision
- Helio exposes selected Chatwoot-compatible player and bot contracts, including the widget subscription protocol and interactive bot replies.
- Why
- Compatibility helps at the edges, where SDKs, widgets and automation depend on stable identifiers and payloads. Workspace-specific behavior lives inside that boundary.
- Trade-off
- An ongoing commitment to message shapes, event semantics and client behavior.
- Skills
- NestJS · REST and OpenAPI · WebSockets
Separate workspace membership from permission to act
- Context
- Several games share the application, with platform admins and game-specific support teams.
- Decision
- Account-scoped resources, workspace roles and server-side policy checks, with staff, bot and player access paths kept distinct.
- Example
- The message controller separates caller authentication, resource access and operation-level permissions, with different validation for agent and bot replies.
- Trade-off
- Shared endpoints reduce contract duplication, but each caller still needs its own authorization and validation. Tenant scope matters in reports, attachments and live events.
- Skills
- PostgreSQL · CASL · NestJS · TypeScript and Zod
Let operators define who gets the next ticket
- Context
- People allowed to view an inbox may include supervisors and specialists, while initial rotation uses a smaller front-line pool.
- Decision
- Round robin over an admin-defined list of agents eligible for rotation.
- Example
- An inbox includes the supervisor for oversight while routing new cases to the designated front-line agents.
- Trade-off
- Ops controls the pool and must maintain it, and equal turns can still mean unequal workloads.
- Skills
- System design · NestJS
Separate SLA escalation from inactivity closure
- Context
- A ticket waiting on an agent and a ticket waiting on a player need different actions.
- Decision
- SLA alerts notify assigned agents, and a 30-day inactivity rule handles cases with no player reply.
- Outcome
- The inactivity rule accounted for roughly 45% of monthly closures.
- Trade-off
- Needs a precise definition of qualifying activity, and care with state changes near closure, such as a player replying while a job runs.
- Skills
- Workflow automation · Redis and BullMQ · NestJS
Keep notifications off the conversation request path
- Context
- Slack and email delivery depend on external providers, while conversation reads and writes are part of the agent workflow.
- Decision
- A Redis and BullMQ-backed worker for external alerts. Live player chat stays on its WebSocket path.
- Why
- Provider work has its own execution path and does not wait on the HTTP response.
- Trade-off
- Queues raise questions about retries, duplicate notifications and failures between saving data and enqueueing work.
- Skills
- Redis · BullMQ · Node.js
Keep bot handoff inside the conversation
- Context
- The workspace knowledge base answers common questions, and cases that need judgment should reach an agent with their context.
- Decision
- n8n runs the support workflow and the Helio conversation is the shared record. The bot posts interactive replies, updates attributes and signals handoff through the conversation API.
- Example
- A handoff attribute, or a transition to open, can start human assignment when configured.
- Trade-off
- Bots and staff need separately scoped access, and retries must not duplicate messages or state changes.
- Skills
- n8n · API integration · NestJS
Move the help content along with the support workflow
- Context
- The replacement also needed player-facing articles and a knowledge base the bot could use.
- Decision
- A portal-scoped Helpshift import, FAQ synchronization with run history, localized public articles and branding, and a bot article interface.
- Why
- Support content serves players directly and feeds automated answers. Tracked sync runs make content work visible.
- Trade-off
- A migration must reconcile content, localization and publishing status. This covers FAQ content, not historical tickets.
- Skills
- API design · integration design
Separate support views by the questions they answer
- Context
- Agents need an actionable queue, supervisors need SLA and satisfaction trends, and external consumers need a limited reporting API.
- Decision
- Separate contracts for conversation history, sidebar counts, search and filters, and reports: grouped metrics, heatmaps, CSAT, SLA misses, exports and external summaries.
- Trade-off
- Tailored views carry their own query and freshness needs, so each response has to choose how much data it holds.
- Skills
- PostgreSQL · REST API design
Deploy with Compose and test realistic data sizes
- Context
- The studio needed a deployment process its engineers could run and repeat for an internal production platform.
- Decision
- The Next.js and NestJS apps and the worker deploy with Docker Compose behind Nginx on EC2, automatically on merges to main. k6 runs against several populated workspaces.
- Evidence
- Roughly five test workspaces with thousands of tickets each.
- Trade-off
- A compact deployment keeps overhead low, while host recovery, migrations and deploy coordination stay with the team.
- Skills
- Docker · AWS EC2 · Nginx · CI/CD · k6
Skills and evidence
Used in production at Mindstorm Studios.
- NestJSCore professional stackBuilt the support API and structured conversation operations around authentication, resource access, policy checks and validated input.→ Decision 2 · Workspace permissions
- TypeScript and ZodCore professional stackActor-specific validation for bot and agent payloads under a shared conversation endpoint.→ Decision 1 · Player and bot contracts
- PostgreSQLCore professional stackDesigned the relational model for workspace-scoped support data across games.→ Decision 2 · Workspace permissions
- CASLHands-on professionalExpressed conversation actions through ability checks, including reply, private note and label operations.→ Decision 2 · Workspace permissions
- Redis and BullMQHands-on professionalBuilt a queued notification service for Slack and email delivery.→ Decision 5 · Notification delivery
- WebSocketsHands-on professionalWorked with a compatible player chat contract while exposing REST for history and read state.→ Decision 1 · Integration compatibility
- REST and OpenAPIHands-on professionalDocumented separate player, bot, Help Center, workspace and reporting surfaces.→ Architecture
- AWS, Docker and NginxHands-on professionalOperated automated deployments to EC2 with Compose and Nginx.→ Decision 9 · Deployment
- k6Hands-on professionalLoad-tested across roughly five populated workspaces with thousands of tickets each.→ Decision 9 · Outcomes
- n8nHands-on professionalContributed to the workspace FAQ and human escalation workflow.→ Decision 6 · Bot handoff
- Next.jsHands-on professionalBuilt the agent-facing support dashboard as part of end-to-end delivery.→ My part
Levels are the same ones used in Skills on the home page.
Outcomes
A vendor replaced across four live games, with the cost and closure effects stated and sourced.
- Replaced Helpshift across four live games, each as its own workspace.
- The 30-day inactivity rule closes stale cases without an agent, while supervisors keep visibility through reports.
- Rolled out with k6 load tests across multi-workspace datasets before launch.
| Outcome | Say this | Source |
|---|---|---|
| Adoption | Replaced Helpshift across four live games. | Mindstorm Studios |
| Economics | About 39% lower running cost than Helpshift pricing. | Mindstorm Studios |
| Support operations | About 45% of monthly ticket closures came from inactivity automation. | Mindstorm Studios |
| Teams | 10 to 15 agents per game workspace. | Mindstorm Studios |
| Load test | k6 scenarios used roughly five workspaces seeded with thousands of tickets each. | Mindstorm Studios |
Rollout
Four production games, the multi-workspace k6 setup and the documented API surface are three different things, and this page keeps them apart.
Cost
The comparison is running cost against Helpshift pricing, not engineering cost.
Content
The Helpshift import and FAQ sync move help content. Historical ticket migration is not claimed.