Agent setup guide
Guesty Turnover Cleaning Tasks
Every morning, each Guesty check-out today gets a cleaning task with your checklist, timed from the check-out.
What it does
Every morning, each Guesty check-out today gets a cleaning task with your checklist, timed from the check-out.
- Every morning, reads today's Guesty check-outs.
- AI writes the cleaner's description and checklist from your standards.
- Each check-out gets a cleaning task on its listing that starts at check-out and finishes within 5 hours (worked out in code).
- You get the list of tasks by email.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Guesty with Open API access (Guesty Pro), connected with an OAuth application's client ID and secret (Integrations → Developer tools → OAuth applications).
What it doesn't do
- It doesn't change or cancel reservations.
- It doesn't message guests or cleaners.
- Up to 100 check-outs a day.
Availability and plans
Available
Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.
Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.
Before you start
- A paid plan: agents run live, and the Free plan only runs Dry Runs.
- An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
- These apps, connected in Settings → Integrations: Guesty.
- Nothing to send: the agent runs on a schedule.
- About 6 minutes.
Set it up step by step
Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.
1. Connect your AI provider
The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.
2. Connect Guesty
Connect Guesty with an OAuth application's client ID and secret (Settings → Integrations → Guesty).
3. Pick Guesty and your time zone
Open “Read today's check-outs”, pick your Guesty connection and set your time zone; pick the same connection on “Create the cleaning task”.
| Setting | What to enter | In step |
|---|---|---|
| Guesty account | Your Guesty connection. Pick your connected Guesty account. | “Read today's check-outs” |
| Your time zone | Decides what “today” means, e.g. America/New_York. | “Read today's check-outs” |
| Guesty account (same one) | The same Guesty connection. Pick your connected Guesty account. | “Create the cleaning task” |
4. Your cleaning standards
Open “Write the cleaner's notes” and replace the placeholder, then enter your email on “Email the list”.
| Setting | What to enter | In step |
|---|---|---|
| Your cleaning standards | Replace the placeholder with what every turnover includes and what to report. It starts as “[YOUR CLEANING STANDARDS: WHAT EVERY TURNOVER INCLUDES (LINENS, BATHROOMS, RESTOCKING), WHAT TO CHECK AND REPORT (DAMAGE, MISSING ITEMS) AND HOW TO REPORT IT]” until you replace it. | “Write the cleaner's notes” |
| Send the list to | You or your cleaning coordinator. Replace the example address. It starts as “you@your-rentals.example” until you replace it. | “Email the list” |
5. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
6. Switch the trigger on
Open the trigger, set the same time zone and switch the schedule on. It runs every day at 7:00.
How it works
The agent is a normal workflow with 10 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- Every day at 7:00 — Runs on a schedule (cron 0 7 * * *, UTC — change it in the trigger's settings). Runs every morning and creates the cleaning tasks for today's check-outs. Set your time zone on the trigger.
- Read today's check-outs — Guesty: List reservations by arrival or departure. Reads today's Guesty check-outs (your time zone), with each listing and check-out time.
- Any check-outs? — Decision: picks the branch to follow. No check-outs today: nothing to create.
- No check-outs today — Kept in the run history. Branch: None. No tasks needed.
- Write the cleaner's notes — AI step (runs on your AI provider key). Branch: Check-outs. AI writes the task description and checklist from your cleaning standards. Times and listings come from Guesty.
- Each check-out — Repeats the steps below for each item (up to 100 per run). One cleaning task per check-out (up to 100).
- [For each item — “Each check-out”] Create the cleaning task — Guesty: Create a task. Creates a cleaning task on the listing and reservation that can start at the check-out time (from Guesty, in UTC) and must finish within 5 hours (worked out in code).
- List the tasks — Step. In code: one line per check-out and whether its task was created.
- Email the list — Sends an email from your workspace's sender. Emails you today's cleaning tasks (listed in code).
- Tasks created — Kept in the run history. The run history keeps the list.
Test it with Dry Run
Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
- For-each loops repeat only the first 3 items.
Go live
- Open the trigger, set the same time zone and switch the schedule on. It runs every day at 7:00.
- Scheduled runs start only once the schedule is activated, and can't repeat faster than your plan's minimum interval.
- The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
- When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.
Questions
I already use Guesty's task automation. Do I need this?
Only if you don't: it would create a second task per check-out. Use it when cleaning tasks are made by hand today.
Who does the task go to?
Leave the assignee blank for your team to pick it up, or pick one cleaner on “Create the cleaning task”.
What if I run it twice in a day?
Each run creates the tasks again, so leave it on its daily schedule.
Troubleshooting
- “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
- A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
- An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
- It didn't run at the expected time: the schedule must be activated, and its time is in the trigger's timezone.
- A step failed: open the run in History and check that step in the Trace tab for the error and what it received.
Generated from the agent's own workflow, so it always matches what the agent does. Last updated .