u/tunisiangurl

▲ 5 r/Retool+1 crossposts

Scaling Retool apps when single-page architecture hits its limit

Single-page Retool apps work great until program count grows and each accumulates hundreds of fields. Page weight compounds. Query execution slows. Switching between contexts feels heavy.

I work at Stackdrop, a Retool-certified partner in EMEA, and we ran into this with an insurance underwriting workbench. The original build loaded every component and query regardless of which program an underwriter was using. At five programs, it felt fine, but at fifteen, it became unusable.

The fix was not query optimization or caching. Those help at the margins. The structural problem was the architectural scope.

We moved to a multi-page architecture split into two stages: submission writeup and pricing coverage. Each stage only loads the components and queries it actually needs. The writeup stage surfaces conditional fields based on business line selection. Cyber submissions pull Bitsight scores and cloud provider data. D&O submissions pull equity history and asset records. Irrelevant fields stay hidden, which trims payload size and matches how underwriters actually move through a submission.

The pricing stage uses a four-variable filter to isolate one of fifteen programs. Program-specific schemas trigger through numbered buttons instead of conditional hide-show logic inside one heavy page. Global inputs establish baseline pricing that underwriters can adjust before committing. A JavaScript query handles modifier re-rating by updating the state of each coverage option and recalculating prices in real time.

The migration happened program by program. Each program became a self-contained module, tested independently, and released sequentially. The legacy interface stayed live as the source of truth until each new module passed validation. Underwriters kept working throughout. No cutover moment. No downtime.

Two technical patterns that made this work:

  • Query scoping at the page level instead of the component level reduced initial load time by limiting database calls to what the current stage actually requires
  • State management for modifiers used a single source of truth that cascades changes across all dependent options without manual re-entry

Has anyone else migrated a live Retool app from single-page to modular architecture? What patterns worked for keeping the system stable during the transition? (Let me know if you want to know more about this use case, we wrote about it in detail)

reddit.com
u/tunisiangurl — 2 days ago
▲ 3 r/Retool

I work at Stackdrop, a certified Retool development agency based in EMEA.

We recently shipped a fraud risk-scoring system for an edtech platform and wanted to share the architecture in case it's useful for anyone building something similar.

The before-state: The trust and safety team was reviewing roughly 10,000 school accounts manually, across simple Retool apps (one page, two or three queries each) and Jira tickets. No consolidated view, no score, no ranked list of which accounts needed attention first.

The workflow structure:

The system ingests data daily from multiple sources: the platform's own data warehouses, Stripe (identity verification), Chargebee (billing and subscription events), SIFT (user-level risk signals), fraud detection services, and the team's Jira ticket history, where prior reviews are logged.

The scoring algorithm evaluates each school across five indicator categories simultaneously, producing a daily risk profile per school, not just a score, but a breakdown of what's driving it, surfaced in plain language for the analyst.

The output lands in an analyst dashboard (ranked list by risk score, flag breakdown per school, score history over time) and an admin dashboard where operations managers tune indicator weights and run simulations before committing changes. No code change needed for recalibration.

One practical note on scale: running large multi-source queries in a single Retool workflow pass will saturate the browser. The driver workflow batches schools into groups of 1,000 and processes them sequentially. Each batch is an independent execution, so failures are isolated without restarting the full daily run. Worth planning for early if you're building at this scale.

Full write-up on the architecture by Sami, the engineer who built it here!

Happy to answer questions on the workflow structure!

u/tunisiangurl — 14 days ago

I run marketing solo at a software development agency with 18 developers and 16 active client projects. I've built a process where I identify builds worth writing about using existing documentation, send the developer three questions for more details, write the article based on their answers, and have them review it before it goes live. That part worked

The sourcing part doesn't scale yet. Right now, I'm reading an internal "Today I Learned" wiki section (it depends on devs posting) and trying to filter out the signal from project status updates (too much noise).

The constraint is I can't keep asking developers to pitch or initiate content because that's exactly what failed before. I need to be the one scanning for signal, with minimal touchpoints into the team.

What's worked for you to approach technical people? Specifically interested in how you identify use cases (a business problem solved, not just a technical decision made) versus technical patterns. Those seem to need different sourcing approaches and I haven't cracked the use case side yet.

reddit.com
u/tunisiangurl — 22 days ago

I run marketing solo at a software development agency with 18 developers and 16 active client projects. I've built a process where I identify builds worth writing about using existing documentation, send the developer three questions for more details, write the article based on their answers, and have them review it before it goes live. That part worked

The sourcing part doesn't scale yet. Right now, I'm reading an internal "Today I Learned" wiki section (it depends on devs posting) and trying to filter out the signal from project status updates (too much noise).

The constraint is I can't keep asking developers to pitch or initiate content because that's exactly what failed before. I need to be the one scanning for signal, with minimal touchpoints into the team.

What's worked for you to approach technical people? Specifically interested in how you identify use cases (a business problem solved, not just a technical decision made) versus technical patterns. Those seem to need different sourcing approaches and I haven't cracked the use case side yet.

reddit.com
u/tunisiangurl — 22 days ago
▲ 5 r/Retool

We shipped this for a customer support tool and just walked through it live on Retool's Build Together session yesterday.

The core problem: stock Retool components couldn't give us what we needed. The text area outputs a string. We needed structured JSON, one object per block that flows cleanly into queries and workflow nodes. And we needed AI to act on individual blocks, not the whole field at once.

So we built a custom component on top of editor.js. Here's what it does:

Each block in the editor is its own JSON object. Two AI actions live in the block's settings panel (the three-dot menu): Rewrite and Summarize. Each fires a Retool event with the block's content and transformation type. The LLM response replaces that specific block in place.

There's also a slash-menu action for Draft reply, which inserts a placeholder block and drafts new content grounded in whatever app state you pass to the query: ticket context, CRM data, whatever's relevant.

All three go through a Retool AI query, not through the component itself. That means the prompt, the model, and the context stay fully configurable in Retool without touching any component code.

The Retool-specific surface is isolated to one file. If you want to rip it out and use it as a standalone React component, you're swapping a few hooks.

A few honest caveats: it starts to feel heavy past ~50 blocks, so it's not the right fit for long-form documents. No collaborative editing (editor.js limitation). No streaming response on the AI actions.

The component is live in the Retool community gallery, and the repo is documented.  

Happy to answer questions on the build if useful!

u/tunisiangurl — 1 month ago