Agent setup guide
Hostaway Turnover Cleaning Tasks
Every morning, each Hostaway departure today gets a cleaning task on its listing, and you get the list.
What it does
Every morning, each Hostaway departure today gets a cleaning task on its listing, and you get the list.
- Every morning, reads today's Hostaway departures.
- Cancelled, declined and expired reservations are left out in code.
- Each departure gets a cleaning task on its listing and reservation for the day.
- You get the list made in code, with a short AI note.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Hostaway, connected with your account ID and an API key (Settings → Hostaway API).
What it doesn't do
- It doesn't change or cancel reservations.
- It doesn't message guests or cleaners.
- Up to 100 departures 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: Hostaway.
- 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 Hostaway
Connect Hostaway with your account ID and API key (Settings → Integrations → Hostaway).
3. Pick Hostaway and your time zone
Open “Read today's departures”, pick your Hostaway connection and set your time zone; pick the same connection on “Create the cleaning task”.
| Setting | What to enter | In step |
|---|---|---|
| Hostaway account | Your Hostaway connection. Pick your connected Hostaway account. | “Read today's departures” |
| Your time zone | Decides what “today” means, e.g. America/New_York. | “Read today's departures” |
| Hostaway account (same one) | The same Hostaway connection. Pick your connected Hostaway account. | “Create the cleaning task” |
4. Your team and email
Open “Note what stands out” and replace the placeholder, then enter your email on “Email the list”.
| Setting | What to enter | In step |
|---|---|---|
| About your team | Replace the placeholder with your cleaning standards and what the coordinator should hear about. 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. | “Note what stands out” |
| 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 departures. Set your time zone on the trigger.
- Read today's departures — Hostaway: List reservations by arrival or departure. Reads today's Hostaway departures (your time zone); cancelled, declined, expired and inquiry-only reservations are left out in code.
- Any departures? — Decision: picks the branch to follow. No departures today: nothing to create.
- No departures today — Kept in the run history. Branch: None. No tasks needed.
- Each departure — Repeats the steps below for each item (up to 100 per run). Branch: Departures. One cleaning task per departure (up to 100).
- [For each item — “Each departure”] Create the cleaning task — Hostaway: Create a task. Creates a cleaning task on the listing and reservation for the departure day (from Hostaway).
- List the tasks — Step. In code: one line per departure and whether its task was created.
- Note what stands out — AI step (runs on your AI provider key). AI reads the list made in code and points out what needs attention, without typing numbers.
- Email the list — Sends an email from your workspace's sender. Emails you today's cleaning tasks (listed in code) and the note.
- 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 Hostaway's auto-tasks. Do I need this?
Only if you don't: it would create a second task per departure. Use it when cleaning tasks are made by hand today.
What time is the task set for?
The departure day (00:00 to 23:59 UTC). Your team sees it on the day in Hostaway's task list.
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 .