Skip to main content
Staffify AIHelp Center

Bookings and integrations by email

How the email agent finds free times, books appointments and uses your integrations.

Explanation2 min readUpdated

An email agent can propose and book appointments and look things up in other systems. You switch this on in the Booking and API steps of the agent.

Which times the agent offers

An agent with appointment booking only offers free times from its schedule. It skips:

  • existing appointments in its calendar group;
  • blocked time;
  • times it already proposed to other customers;
  • events in the linked Google or Outlook calendar.

Times are always in the time zone set on the agent. If a customer asks for a time that is taken, or that falls between two slots, the agent proposes the closest free time.

In the Booking step you set, among other things, the appointment length, a buffer between appointments, how far ahead customers can book, the minimum notice, and the cancellation policy. Customers can always reschedule by replying. With Send Email Confirmations on, the customer gets a confirmation mail with a calendar invite.

Changing an existing appointment

The agent only changes or cancels an appointment when the sender's email address is exactly the address on that booking. This prevents someone from changing another customer's appointment.

If the customer already has an appointment and asks for another time, the agent moves that appointment instead of booking a second one. It only books an extra appointment next to the existing one when the customer clearly asks for it. When it is not clear what the customer means, the agent asks. If the requested time is taken, it first proposes another time and waits for a yes.

Integrations

In the API step you choose which of your own integrations the agent may use.

Kind of integrationDraft modeAutopilot
Only looks something up, for example an order statusUsed right away while writing the replyUsed right away
Changes something, for example creating a lead or adding a noteWaits until you press SendNot used. The action is marked Draft-only

An agent in autopilot never changes something in another system without a check. Does the agent need such an action? Use draft mode for that agent.

In your own integrations you can use the variable {{customer_email}} for the address of the customer who wrote in. All variables are described on docs.staffifyai.com.

A proposed time is held for the customer while the draft waits. How long, and what happens when it runs out, is in Drafts with actions.

Related articles

Was this page helpful?