Softech Blog
Web Application & SaaS Product Engineering

How to Build a Production SaaS Platform: Tenancy, Workflow, Billing and Operations

A practical architecture guide to production SaaS: organizations, permissions, workflow state, billing, integrations, audit and operations.

2 min read
SaaS product engineering architecture by Softech
Executive summary

The most important points from this article

A practical architecture guide to production SaaS: organizations, permissions, workflow state, billing, integrations, audit and operations.

Key takeaways
  • A production SaaS platform is a system of record, not a dashboard.
  • Billing and entitlements are product state, while payment providers are rails.
  • Integrations should be designed around idempotency, failure and reconciliation.
Key insights

Key observations and insights

The key observations summarizing the experience, decisions and outcomes described in the article.

A production SaaS platform is a system of record, not a dashboard.
Billing and entitlements are product state, while payment providers are rails.
Integrations should be designed around idempotency, failure and reconciliation.

Executive summary

A production SaaS platform is not a dashboard connected to a database. It is a system of record for organizations, users, permissions, domain state, workflows, billing, integrations and operations.

The dashboard is not the product. The product is the state machine behind it.

1. Start with the customer and ownership model

Define whether the customer is an individual, an organization, a location, a business unit or a hierarchy of accounts. That decision determines data ownership, invitations, roles, billing and reporting.

2. Separate identity from authorization

Authentication proves who the user is. Authorization decides what that user may do inside a specific organization and resource. Model memberships, roles and permissions explicitly instead of scattering role checks through UI code.

3. Make domain state explicit

Orders, inspections, bookings, documents or service cases need authoritative lifecycle states. A workflow should define legal transitions, who may trigger them, side effects and exception paths.

Organization → Membership → Role → Permission
                              ↓
Domain record → Workflow state → Audit event

4. Treat billing as product state

Plans, entitlements, trials, usage, invoices, payment status and access rules belong to the product model. The payment rail can be card, bank transfer, USDC through a managed provider such as CoinGate, or a custom on-chain flow. The SaaS should still own the commercial obligation, entitlement state, reconciliation and audit trail.

5. Design integrations for failure

A reliable integration is more than an API call. Verify incoming events, persist them, process idempotently, use queues where appropriate, retry safely and preserve enough context for support and reconciliation.

6. Add realtime only where business state needs it

Operational dashboards, dispatch, collaboration and live status can justify WebSockets or event streams. Realtime transport should not become a second source of truth.

7. Make AI subordinate to product rules

AI can classify, summarize, recommend and invoke controlled tools, but it should operate through the same permissions, business rules and audit layer as human actions.

8. Build operations into the product

Admin tools, audit history, telemetry, support context, retries and reconciliation are part of production architecture. They determine whether a product remains operable after the first release.

A practical architecture sequence

  1. Map organizations, actors and ownership.
  2. Define domain records and lifecycle states.
  3. Design permissions and workflow transitions.
  4. Model billing, entitlements and payment rails.
  5. Define integration failure semantics.
  6. Add observability and operator controls.
  7. Only then optimize the interface around real workflows.

FAQ

What makes a web application a SaaS platform?
Explicit organization and ownership models, authorization, product workflows, billing/entitlements, operational tooling and repeatable tenant onboarding.
Can a SaaS platform accept USDC?
Yes. The SaaS can keep invoices and entitlement state in its domain while using a managed provider such as CoinGate or a custom on-chain payment rail for settlement.
Continue reading

Related articles

Articles that expand the topic and add further practical context.

Author

Softech

Softech.app builds AI-native web apps, mobile apps, SaaS platforms, automation systems and modern digital products for companies.

Next step
Designing a production SaaS platform?
We map organizations, ownership, RBAC, workflows, billing, integrations and operations before the dashboard becomes the architecture by accident.