ReplitReplitBuild, deploy, take bookings

Build a Replit booking app on a real booking backend

Replit Agent builds and deploys the app. Slotr is the backend it calls for availability, quotes and the booking lifecycle, and it sends events back to your deployment.

  • Entities.

    Your domain, synced. Doctors, rooms, courts, cars — anything.

  • Availability.

    Ask when something can be booked. Get the real answer.

  • Rules.

    Pricing and eligibility that follow your business logic.

  • Quotes.

    Know the price before the booking exists, with reasons.

  • Lifecycle.

    Create, confirm, reschedule, cancel. One API, safe by default.

  • No double-booking.

    Locks and slot holds, so every slot has exactly one owner.

  • Booking search.

    Your entities, indexed. Search by price, distance and real availability.

  • AI recommendations.

    Suggests the best booking using your rules, prices and availability.

How it works

Agent builds the app. Slotr runs the schedule behind it.

  1. 1

    Describe your booking model to Replit Agent

    Spell out the service: cleaners are booked for visits, customers can repeat a visit every week with the same cleaner, and add-ons like oven or windows make the visit longer and pricier.

  2. 2

    Add the plugin and store the key in Secrets

    Connect the Slotr plugin and save your API key as a Replit Secret. The agent reads it from the environment in server code, so it never appears in the repl's files.

  3. 3

    Let the agent sync cleaners and book visits

    The agent upserts each cleaner with the attributes that matter for matching, then calls Slotr for availability and bookings from your backend routes.

    await slotr.entities.upsert({
      type: "cleaner",
      id: "c_kemi",
      attributes: { radiusKm: 8, base: "Rotterdam Noord", ovens: true }
    });
  4. 4

    Price the add-ons with rules

    An oven clean adds 30 minutes and $25. A weekly series gets 10% off. Create both as rules so the quote, the calendar and the invoice agree.

    await slotr.rules.create({
      appliesTo: { type: "cleaner" },
      when: [{ addOns: { has: "oven" } }],
      then: { price: "+25", duration: "+30m" }
    });
  5. 5

    Deploy, register webhooks, go live

    Deploy the app, then register its public URL for booking webhooks. Book a weekly visit, skip one week and cancel another to check every message goes out.

What you skip

What Replit Agent doesn't have to build. The parts that break after the demo.

  • 01

    A weekly visit stored as 52 rows

    Generated code usually expands "every Tuesday at 14:00" into a year of rows. Moving one visit, pausing for a holiday or changing the cleaner then means editing rows one by one and hoping none overlap.

  • 02

    Add-ons that silently overrun

    A window clean adds 45 minutes. If the duration is fixed in the booking table, the visit overruns into the cleaner's next job, and nothing in the app notices until a customer is waiting.

  • 03

    A reminder job you have to keep running

    Agent-built reminders tend to be a background loop or scheduled script that checks the database every few minutes. Slotr emits booking.reminder, so your app only has to handle an event.

  • 04

    Travel radius in application code

    Each cleaner covers a different area. Filtering by distance after fetching availability is slow and returns cleaners who are free but too far away. Search should apply radius and availability together.

  • 05

    One cleaner, two customers

    A recurring Tuesday series and a one-off booking can claim the same afternoon. Without conflict protection across both, the cleaner gets double-booked and someone gets a cancellation call.

  • 06

    Prices copied into three places

    Base rate in the database, add-on prices in the form component, totals in the confirmation email. The agent keeps all three in sync until one prompt changes only one of them.

Prompt and code

Give the agent a booking contract. Handle events, not polling loops.

Drop it into your product. No per-provider accounts, no iframes — your database stays the source of truth.

Prompt
Build a home cleaning booking app with Slotr as the booking backend.
Cleaners are bookables with a base area and a travel radius.
Customers can book one visit or the same cleaner every week.
Add-ons: oven (+30 min, +$25), windows (+45 min, +$35).
Read SLOTR_API_KEY from Secrets. Send SMS on booking.reminder.
Webhook
app.post("/webhooks/slotr", express.json(), async (req, res) => {
  const { type, data } = req.body;
  if (type === "booking.reminder") await sendSms(data.participant, data.start);
  if (type === "booking.cancelled") await notifyCleaner(data.bookable);
  res.sendStatus(200);
});
Replit Agent writes the routes and the handler. Slotr decides what's free and when to remind.
Booking Kit

A visit picker that adds up. Duration and price follow the add-ons.

Customers pick a cleaner, a weekly slot and the extras. The Booking Kit calendar recalculates length and total from your rules before they pay.

Accent
Corners
Theme
<SlotrBooking
  bookable="therapist_42"
  accent="#2E323C"
  radius="soft"
  theme="light"
/>
KA
Kemi AdeyemiWeekly clean with oven
3 h 30 minIn personEurope/Amsterdam
3 h 30 min$118
October 2026
SunMonTueWedThuFriSat
Tue 6th
Guide

How to build a booking app with Replit Agent

Tell the agent what Slotr owns

A Replit booking app goes faster when the first prompt draws a line: Slotr owns availability, holds, prices and the booking lifecycle, and your app owns customers, cleaners' profiles and messaging. Replit Agent will happily build its own scheduling tables if you don't say this, and you will spend later prompts undoing them.

Include the booking model in plain words, including durations, add-ons and repeat visits. The agent can turn that into entity upserts, a rule or two and the routes your frontend calls.

Treat repeat visits as a series

Weekly cleaning is the core of the business, so model it as a recurring booking rather than as copies. When a customer moves one Tuesday to Wednesday, only that visit changes. When they switch cleaners, the remaining visits move with a single reschedule and Slotr checks each new slot for conflicts.

Price the series with a rule, for example 10% off for weekly visits, so the discount shows up in every quote breakdown and disappears automatically if the customer drops to one-off cleans.

Use Secrets and the deployed URL

Store the Slotr key as a Replit Secret and read it only in server code. For webhooks, register the URL of your deployed app rather than the development preview, so events still arrive when you close the workspace.

Respond to each webhook quickly with a 200 and do slow work, such as sending SMS, after acknowledging. Handlers that finish fast are easier to debug, and a slow SMS provider never holds up the next event.

Let events drive every message

Map each webhook to one message: booking.confirmed sends the customer a confirmation, booking.reminder sends an SMS the day before, booking.rescheduled updates both sides, and booking.cancelled notifies the cleaner and starts any refund. WhatsApp, email and SMS all hang off the same events, so adding a channel later is a new handler, not a new scheduler.

If you want a local copy of bookings for reports or invoices, write it from these events. Your database stays the record for your business, and Slotr stays the record for what is booked when.

Before launch, walk one customer through a full month in the deployed app: book a weekly series with an oven add-on, move the second visit and cancel the fourth. You should see one confirmation, one reschedule notice, a reminder before each remaining visit and one cancellation, with the add-on priced the same in each message.

Questions about booking apps on Replit

Can Replit Agent build a booking app with Slotr?

Yes. Describe your booking model, connect the Slotr plugin and let Replit Agent write the routes. It syncs your providers as bookables, calls Slotr for availability, quotes and bookings, and adds the Booking Kit or its own UI on top.

Where do I store the Slotr API key on Replit?

In Replit Secrets. Read it from the environment in server-side code only, and never pass it to the frontend. Before you go live, check that your deployment has the same secret configured.

How do I receive Slotr webhooks in a Replit app?

Add a POST route such as /webhooks/slotr, deploy the app and register its public URL for the events you need, like booking.confirmed, booking.reminder and booking.cancelled. Acknowledge with a 200 first, then send messages or update records.

Can customers book the same cleaner every week?

Yes. Weekly visits are modeled as a recurring series with the same bookable. You can move or cancel a single visit without touching the rest, and Slotr checks every slot in the series against the cleaner's other bookings.

How do add-ons change the length and price of a booking?

With rules. An add-on such as an oven clean can extend the visit and raise the price in one rule, so availability only offers slots long enough for the full job and the quote lists the add-on as its own line.

Do I still need a database for my Replit booking app?

For your business data, yes. Customers, cleaner profiles and payments history stay in your database as the source of truth. Slotr indexes only what booking needs and handles availability, holds and the lifecycle. Mirror bookings locally from webhooks if you want them in reports.

Can I run Slotr in production today?

Not yet. Slotr is pre-launch and opening access in stages through the waitlist. Join it to get early access to the Replit plugin, the API and the webhooks described on this page, and to help shape how they work.

Let the agent build. Let Slotr keep the calendar honest.

Join the waitlist for early access to Slotr for Replit apps.