zerocactusSearch guides

Appsmith vs Retool (and Budibase) for internal tools

Appsmith vs Retool, with Budibase as a third option: hosting and licences, database connections, permissions and JavaScript, built around a refund approval screen.

Appsmith vs Retool (and Budibase) for internal tools

Appsmith vs Retool is the comparison most small teams land on when the spreadsheet that runs customer support or stock control has become a liability. Both let you drag tables, forms and buttons onto a page, wire them to a database or API, and hand a working internal tool to colleagues in days rather than weeks. Budibase is the third name that comes up, usually when someone searches for a Retool alternative they can host themselves. I have built order lookups, stock adjustments and approval screens in all three for a small online retailer and a clinic group, and the differences that mattered were hosting, permissions and how much JavaScript the team was willing to write.

This piece covers open source against hosted, connecting a database, permissions, JavaScript in widgets, and then builds one refund approval screen so you can see the moving parts.

What these tools are for

An internal tool is a screen for your own staff, not the public: look up an order, approve a refund, adjust stock, update a booking. The data usually lives in a database you already have (Postgres, MySQL) or behind APIs (your shop platform, payment provider, help desk). The tools here give you a builder with ready-made components and a way to bind those components to queries.

They are not meant for customer-facing apps. If you need a customer-facing product, look at the options in the AI app builder guide instead. If your team already runs Laravel, a code-based admin panel may suit you better; the Laravel admin panel comparison covers that route.

Hosting and licences

Retool is primarily a hosted service. Your apps live in Retool's cloud, and you connect it to your databases and APIs. A self-hosted deployment exists for teams that need their data and the tool inside their own network; check which plans include it and what it involves before planning around it. Pricing follows a per-user shape with a free tier for small use, and often separate rates for staff who build apps and staff who only use them. Check the current pricing page.

Appsmith is open source and can be self-hosted, typically as a Docker container, with a hosted cloud version as well. The open-source edition covers the core builder; some features, especially around granular access control, audit logs and single sign-on, are part of paid editions. Read the edition comparison carefully, because permissions are exactly what an approval tool needs.

Budibase is also open source with self-hosted and cloud options. It differs from the other two by including its own built-in database, so you can build a small tool without any external database at all, and by having a simple automation feature for jobs like "when a row is created, send an email".

For a team of five with no one keen on servers, hosted Retool or hosted Appsmith is the gentle start. For a team that must keep customer data on its own infrastructure, self-hosted Appsmith or Budibase is usually the cheaper way to do it.

Connecting a database

All three connect to the common databases and to REST APIs. The pattern is the same everywhere: you create a connection (Retool calls it a resource, Appsmith a datasource, Budibase a data source), then write queries against it, then bind components to the query results.

Two practical points apply to all three.

First, create a database user for the tool with only the permissions it needs. A refund tool needs to read orders and write to a refunds table. It does not need to drop tables.

-- a limited database role for the internal tool (Postgres)
CREATE ROLE tools_app LOGIN PASSWORD 'change-me';
GRANT SELECT ON orders, customers TO tools_app;
GRANT SELECT, INSERT, UPDATE ON refund_requests TO tools_app;
GRANT USAGE ON SEQUENCE refund_requests_id_seq TO tools_app;

The role above can read orders and customers and manage refund requests, and nothing else. If someone builds a careless query, the damage is limited.

Second, if you use a hosted tool against a database on your own server, the database must accept connections from the tool's servers. That usually means allowing specific IP addresses published in the vendor's documentation, or using a tunnel or agent if offered. Self-hosting the tool next to your database avoids that.

Permissions

This is the area I check first, because internal tools touch money and personal data.

Retool has groups and permissions at the app and resource level, so you can say that the support group may use the refund app but only the finance group may edit it. More detailed controls and audit logging sit on higher plans.

Appsmith has roles and access control, with finer-grained options in its paid editions. In the open-source edition, check exactly what you can restrict before you rely on it for anything sensitive.

Budibase assigns roles per app (from basic users through admins) and lets you set which role can see each screen and which role can read or write each table. For a small team that maps well to "support can request, finance can approve".

Whatever the tool, do not rely on hiding a button as your only control. If only finance may approve refunds, enforce it in the query or in the database as well, for example by checking the current user's group inside the query before the update runs.

A note on the box below: it links to a partner. Buying or signing up through it can pay Zero Cactus a fee, and your price stays the same. Partners do not review or approve our guides.

JavaScript in widgets

All three use double curly braces to drop values and short expressions into component properties. A button's disabled state might be {{ !table1.selectedRow }}, and a text label might show {{ table1.selectedRow.amount }}. Component names follow each tool's own conventions, so check the documentation.

Retool lets you write JavaScript transformers and JavaScript queries that run logic between data sources and components. Appsmith has JS Objects, which are small modules of functions and variables you can call from any widget. Budibase uses a binding syntax with helpers and also allows JavaScript in bindings.

Here is how I structured the approval logic in Appsmith as a JS Object.

export default {
  async approve() {
    const row = RefundsTable.selectedRow;
    if (!row || row.status !== "pending") {
      showAlert("Pick a pending request first", "warning");
      return;
    }
    await ApproveRefund.run({ id: row.id, note: NoteInput.text });
    await PendingRefunds.run();
    showAlert("Refund approved", "success");
  }
};

The function checks that a pending row is selected, runs the update query with the row ID and a note, refreshes the list, and shows a message. ApproveRefund and PendingRefunds are queries defined in the app, and RefundsTable and NoteInput are widget names I chose. The Retool version looks much the same, with the logic in an event handler or a JavaScript query that calls trigger() on the queries.

Worked example: a refund approval screen

The retailer's support staff were logging refund requests in a shared sheet, and the finance lead was approving them by changing a cell colour. Here is the table I set up instead.

CREATE TABLE refund_requests (
  id           serial PRIMARY KEY,
  order_id     integer NOT NULL REFERENCES orders(id),
  amount       numeric(10,2) NOT NULL CHECK (amount > 0),
  reason       text NOT NULL,
  status       text NOT NULL DEFAULT 'pending'
               CHECK (status IN ('pending','approved','rejected')),
  requested_by text NOT NULL,
  decided_by   text,
  decision_note text,
  created_at   timestamptz NOT NULL DEFAULT now(),
  decided_at   timestamptz
);

Each request belongs to an order, has a positive amount and a reason, and moves from pending to approved or rejected. Who asked and who decided are stored as text (the user's email from the tool), which is enough for a small team's audit trail.

The approval query only updates rows that are still pending, so two people clicking at once cannot approve the same refund twice.

UPDATE refund_requests
SET status = 'approved',
    decided_by = {{ appsmith.user.email }},
    decision_note = {{ this.params.note }},
    decided_at = now()
WHERE id = {{ this.params.id }}
  AND status = 'pending';

The curly-brace values are Appsmith bindings for the current user and the parameters passed from the JS Object; in Retool you would reference the current user and component values with its own names. Keep prepared statements switched on (the default in these tools) so those values are sent as parameters, not pasted into the SQL.

The screen itself had four parts:

  1. A table of pending requests joined to the order and customer name, sorted oldest first.
  2. A detail panel showing the selected request, the order total and any earlier refunds on the same order.
  3. A note field and Approve and Reject buttons, visible only to the finance group.
  4. A small form for support staff to create a request, with the order number and amount validated against the order total.

In Retool it took me about three hours from connection to handover. In Appsmith it took a little longer, mostly spent on layout. Budibase was quickest for the request form, thanks to its auto-generated screens, and slower for the detail panel with earlier refunds, which needed a custom query.

The result: the finance lead went from scrolling a sheet each morning to a list of three or four pending requests with everything needed on one screen. Approval takes under a minute per request, and nobody has to ask in chat whether a refund was handled.

The actual payment refund still happened in the payment provider's dashboard. Wiring the button to the provider's API is possible in all three tools, but I would add that only once the approval flow has run cleanly for a few weeks.

Who should pick which

Pick Retool if:

  • You want a polished hosted builder with a wide set of components and integrations.
  • Your data can be reached from a hosted service, or your plan includes self-hosting.
  • You are comfortable with per-user pricing as the team grows.

Pick Appsmith if:

  • You want open source and the option to self-host next to your database.
  • Your builders are comfortable with JavaScript and like keeping logic in JS Objects.
  • You have checked that the edition you use covers the permissions you need.

Pick Budibase if:

  • You want a quick tool with its own built-in database, or a mix of built-in and external data.
  • Role-per-screen permissions match how your team works.
  • Simple built-in automations would save you a separate workflow tool.

For jobs that are really about moving data between apps rather than giving staff a screen, a workflow tool is often the better fit; see the Make and Zapier comparison.

Questions people ask

Is Appsmith a full Retool alternative?

For many small-team tools, yes: tables, forms, queries and JavaScript logic are all there. The gaps tend to be in specific components, integrations and the access controls in the open-source edition. Build your most demanding screen in both before deciding.

Can I move an app from one tool to another?

Not directly. The apps are stored in each tool's own format. Your queries and database schema transfer easily; the screens and bindings have to be rebuilt.

Do I need a developer to build these?

Not for simple screens. For anything that writes money or personal data, have someone who understands SQL review the queries and the database permissions.

Start with the database role and the refund_requests table, or your own equivalent, then build the same screen on a free tier of two of these tools in one afternoon each. The one your least technical colleague can use without asking questions is usually the right pick.

Stacks: Automation & Internal Tools

More from this stack