Understanding the Task dispatcher agent

The Task dispatcher agent automatically assigns upcoming tasks that have no assignee and no group to the most suitable team member. It analyzes past task history to find the best person for the job and changes only the task's assignee field.

Limitations

Review the following limitations before using the Task dispatcher agent:

  • Task history: When nobody on the team has completed a task of that type in the last 30 days, the agent assigns it only if you add people to "Fallback people". Otherwise, the task stays under "Needs a person" with the reason "nobody has done this type of task before".
  • Task requirements: Tasks that don't have a start time are skipped.
  • Task types: Tasks without a specified task type, including those created manually on the Tasks page, aren't assigned.
  • Group assignments: The agent only assigns tasks to individuals. Tasks already assigned to a group aren't changed.
  • Partner apps: Tasks managed through partner apps, such as Breezeway, can't be changed by this agent.
  • Account size: On very large accounts with over 2,000 open tasks, the agent may only partly read the task list, task history, or user list. If this happens, no tasks are assigned, and the report explains why.
  • Task comments: The agent assigns tasks but doesn't add a comment to the task itself.

Understand the Task dispatcher agent

The Task dispatcher agent runs automatically every day at 05:00 UTC. The agent can also be triggered manually.

During each run, the agent does the following:

  1. Scans for upcoming tasks that don't have an assignee or a group. It includes only the types selected in "Task types" that start within the "How far ahead" window.
  2. Sorts the unassigned tasks first by their start time, then by priority, and finally by whether they are linked to a reservation.
  3. For each task, it identifies the team member who has completed the most tasks of that same type at that specific property in the last 30 days. If no one has, it looks at performance across all properties.
  4. Among these team members, it prefers someone who already has a task within the "Close-by distance" on the same day.
  5. If nobody on the team has completed a task of that type in the last 30 days, it assigns the task to a person from the "Fallback people" list. Among the free fallback people, it prefers someone who already has a task within the Close-by distance that day, then whoever has the fewest tasks that day. Fallback people follow the same rules as everyone else.
  6. It makes sure that no team member is assigned more tasks in a single day than their own busiest day in the last 30 days. A fallback person with no history of their own is limited to the team's busiest day. No new task overlaps with a team member's existing tasks.
  7. It never assigns team members who are on the "People to skip" list or who are no longer users of the account.
  8. The agent assigns a maximum of 60 tasks during each run. Any remaining tasks are handled in the next run.

Configure the agent

Choose how the agent assigns tasks, which tasks it handles, and who it can assign them to.

Step by step:

  1. Sign in to your Guesty account.
  2. In the side navigation menu, select AI hub icon AI hub.
  3. At the top, select the Operations tab.
  4. Click the Task dispatcher tile.
  5. In the right-side panel, configure the following settings:
    • How tasks get assigned: Select Assign automatically (default), or Ask me to approve the plan first. With approval first, you get one plan card to approve or decline as a whole. If you decline or don't respond, no tasks are assigned.
    • How far ahead to assign (hours): Enter 12 to 168 hours. The default is 48. Tasks that start within this many hours are assigned.
    • Task types to assign: Select the task types the agent assigns. The defaults are cleaning and inspection. The other options are maintenance, mid-stay, runner, sanitation, check-in, issue, inventory and administration.
    • Close-by distance (km): Enter 0.1 to 25 km. The default is 1 km. A person who already has a task within this distance that day is preferred for the next one.
    • People to skip: Enter the full names of people the agent never assigns, separated by commas, for example, while they're on leave.
    • Fallback people: Enter full names, separated by commas, for example, the name of a new cleaner. The agent uses this list only when nobody has completed a task of that type in the last 30 days. Names that don't match a user on the account are ignored.
  6. Click Save.

Run the Task dispatcher agent manually

In addition to the scheduled run, you can trigger the agent manually at any time from AI hub.

Step by step:

  1. Sign in to your Guesty account.
  2. In the side navigation menu, select AI hub icon AI hub.
  3. At the top, select the Operations tab.
  4. Click the Task dispatcher tile.
  5. Under "When it runs", click Run now.

Review the results and status of the run in the activity feed.

Review the activity feed

Follow the steps below to review your activity feed.

Step by step:

  1. Sign in to your Guesty account.
  2. In the side navigation menu, select Agents hub icon AI hub.
  3. In the left submenu, select Agent activity.
  4. Click the relevant row with the agent's name to review the report details in the right-side panel.

If a task that starts soon is still unassigned, the run is marked as needing attention in the activity feed.

Understand the report details

The activity feed report is organized into the following categories:

  • Assigned: Lists all tasks that were successfully assigned, along with the reason for each assignment. An assignment to a fallback person includes the reason "<name>, who is on your fallback list for tasks nobody has done before".
  • Needs a person: Lists tasks the agent couldn't find a suitable team member for, along with the reason, for example, "nobody has done this type of task before".
  • Not changed: Shows tasks that were assigned, given to a group, or closed after the agent started its scan.
  • Could not assign: Includes tasks that couldn't be assigned. Reasons include tasks managed by a partner app, tasks that couldn't be read, tasks where the intended assignee is no longer a user of the account, or assignments the agent couldn't confirm after assigning.
  • Not changed: Shows tasks that were assigned, given to a group, or closed after the agent started its scan.
  • Left out: Provides a count of tasks that were skipped. Reasons include tasks that already have an assignee or group, aren't one of the selected task types, have no start time, or fall outside the "How far ahead" window.

In approve-first mode, the report can also show "Waiting for approval" or "Expired, nothing assigned; the next run plans again".

All times in the report are shown in UTC. In approve-first mode, assignments to people from the fallback list are tagged "(fallback list)" on the plan card, which explains that nobody has done that type of task in the last 30 days.

Review and act on flagged items

Review the "Needs a person", "Could not assign", and "Left out" sections of the report to find tasks that may need your attention.

  • If a task is under "Needs a person" or "Could not assign", you may need to assign it manually on the Tasks page.
  • If a task was left out because it doesn't have a start time, edit the task to add the missing information so a future run can pick it up.

Tip:

If tasks often stay under "Needs a person" with the reason "nobody has done this type of task before", add team members to "Fallback people", for example, a new cleaner.

Was this article helpful?
0 out of 0 found this helpful