← All experience

Helio

Associate Software Engineer · Mindstorm Studios · Production rollout

ProductionClose

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.

4 live gamescovered by the Helpshift replacement
~39% lower running costcompared with Helpshift pricing
~45% of monthly closureshandled by the 30-day inactivity rule

Overview

The system

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.

ProductionLive across four games, replacing Helpshift.

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

My role

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.

I 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.
Others owned
  • 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.

Production
INSIDE EACH GAMESUPPORT STAFFDELIVERYAWS EC2 · DOCKER COMPOSEDATA AND PROVIDERSSQLlive eventsSLA alertsdeployGame clienthosts the widgetPlayer widgethelp, chat, articlesn8n bot workflowFAQ answers · handoffNext.js agent dashboardinbox, rules, reportsGitHub Actionsmerge to main · deployNginxTLS · routes REST and socketsNestJS support APIone domain, scoped per workspaceworkspace roles · CASLconversations · messagescontactsinboxes · widget configteams · round-robin poolSLA · rules enginehelp centerreportsbot contractsWebSocket gatewaylive chat to widget and staffScheduled jobs · @nestjs/scheduleSLA sweeps · inactivity closeRedisqueue backingNotification worker · BullMQSlack and email deliveryPostgreSQLschema I designedaccountsworkspacesconversationscontactsagentsruleshelp centerreportsSlackalertsEmail providernotificationsAWS infrastructurehosts and runs it all
  • Built or owned by me
  • Built by the wider team
  • Managed or third-party component
Helio architecture
INSIDE EACH GAMESUPPORT STAFFDELIVERYAWS EC2 · DOCKER COMPOSEDATA AND PROVIDERSSQLlive eventsSLA alertsdeployGame clienthosts the widgetPlayer widgethelp, chat, articlesn8n bot workflowFAQ answers · handoffNext.js agent dashboardinbox, rules, reportsGitHub Actionsmerge to main · deployNginxTLS · routes REST and socketsNestJS support APIone domain, scoped per workspaceworkspace roles · CASLconversations · messagescontactsinboxes · widget configteams · round-robin poolSLA · rules enginehelp centerreportsbot contractsWebSocket gatewaylive chat to widget and staffScheduled jobs · @nestjs/scheduleSLA sweeps · inactivity closeRedisqueue backingNotification worker · BullMQSlack and email deliveryPostgreSQLschema I designedaccountsworkspacesconversationscontactsagentsruleshelp centerreportsSlackalertsEmail providernotificationsAWS infrastructurehosts and runs it all

NestJS owns the support domain, PostgreSQL stores support data, and a Redis-backed worker delivers external notifications. Sanitized diagram: no production endpoints or screenshots.

Follow one path through it
Deep dives

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

Player widgetHelioBot workflowAgent dashboardOpen conversation, send messageSend conversation contextPost reply or request handoffRoute to eligible agent (when configured)Reply in the same conversationDeliver live update

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.

Data model, conceptually

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.

Four short walkthroughs
  1. 01

    Set up a game

    Provision a workspace, add staff with roles, teams and inboxes, then configure player intake and Help Center content.

  2. 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.

  3. 03

    Run support operations

    Rotation pool, SLA alerts, the 30-day inactivity rule, and reports for supervisors.

  4. 04

    Deploy and measure

    Compose behind Nginx on EC2, deploy on merge to main, k6 against populated workspaces.

One example, end to end

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.

The full product walkthrough
WorkflowWhat Helio exposesWhat to discuss
Provision a gameGlobal 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 accessGlobal 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 permissionsWorkspace 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 intakeInboxes, 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-servicePortals, 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 overA 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 caseCreate 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 coverageBot 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 queueConversation 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 escalateAdmin-defined rotation pool, automation and SLA policies, Slack integration.Initial assignment, escalation rules and external delivery stay distinct.
Resolve and follow upStatus changes, 30-day inactivity closure, SLA reporting and CSAT reports.Changing case state is separate from measuring service performance.
Report outside the inboxGrouped metrics, source breakdowns, heatmaps, SLA misses, CSAT, exports and external report contracts.Agent navigation, supervisor analytics and external reporting get distinct APIs.
Deploy and operateDocker Compose, Nginx, EC2, deploy on merge to main, a health endpoint and k6 scenarios.Own the operating path as part of the product.
API areas
  • 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

Why it is built this way

Nine choices that shaped the platform, and why.

1Decision record

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
2Decision record

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
3Decision record

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
4Decision record

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
5Decision record

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
6Decision record

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
7Decision record

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
8Decision record

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
9Decision record

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

What this project shows

Used in production at Mindstorm Studios.

Levels are the same ones used in Skills on the home page.

Outcomes

What changed

A vendor replaced across four live games, with the cost and closure effects stated and sourced.

4live games
~39%lower running cost than Helpshift pricing
~45%of monthly closures from inactivity automation
  • 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.
What I can say, and where it comes from
OutcomeSay thisSource
AdoptionReplaced Helpshift across four live games.Mindstorm Studios
EconomicsAbout 39% lower running cost than Helpshift pricing.Mindstorm Studios
Support operationsAbout 45% of monthly ticket closures came from inactivity automation.Mindstorm Studios
Teams10 to 15 agents per game workspace.Mindstorm Studios
Load testk6 scenarios used roughly five workspaces seeded with thousands of tickets each.Mindstorm Studios
The hard parts

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.