# Appointment

Appointment document type can be used to schedule and manage interaction with a [Lead](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/lead) or an [Opportunity](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/opportunity).

To access Appointment list, go to:

> Home > CRM > Sales Pipeline > Appointment

### 1. Prerequisites[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment#1-prerequisites) <a href="#id-1-prerequisites" id="id-1-prerequisites"></a>

1. [Appointment Booking Settings](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment-booking-settings)
2. [Holiday List](https://docs.erpnext.com/docs/v13/user/manual/en/human-resources/holiday-list)
3. [Employee](https://docs.erpnext.com/docs/v13/user/manual/en/human-resources/employee)
4. [Lead](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/lead)
5. [Email](https://docs.erpnext.com/docs/v13/user/manual/en/setting-up/email/email-account)

### 2. How to create an Appointment[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment#2-how-to-create-an-appointment) <a href="#id-2-how-to-create-an-appointment" id="id-2-how-to-create-an-appointment"></a>

1. Go to Appointment list, click on New
2. Select scheduled time of the appointment
3. Enter customer details
4. In linked documents, if you have already created a Lead for the Customer you can set it here. Otherwise the system will automatically create a new lead with the customer details from previous step.
5. Save. ![New Appointment](https://docs.erpnext.com/files/new-appointment.png)

#### 2.1 Creating appointments via website[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment#21-creating-appointments-via-website) <a href="#id-21-creating-appointments-via-website" id="id-21-creating-appointments-via-website"></a>

Your Customers/Leads can create appointment using the webpage `yoursitename.com/book_appointment`.

First they need to set a date, time. ![Appointment Webform](https://docs.erpnext.com/files/appointment-webform.png)

Then, add more details: ![Appointment Details](https://docs.erpnext.com/files/appointment-details.png)

It'll match the customer email with leads in the system and if one is found, it is linked with the document. If no lead is found, the appointment is marked as "Unverified" and an email is sent to the customer to confirm their email

### 3. Features[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment#3-features) <a href="#id-3-features" id="id-3-features"></a>

#### 3.1 Autoassign[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment#31-autoassign) <a href="#id-31-autoassign" id="id-31-autoassign"></a>

Appointments are automatically assigned to employees as per the `Agents` list in [Appointment Booking Settings](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment-booking-settings). The agent with the least number of assignments for the day of the appointment and who is free in the scheduled time is assigned to the appointment.

#### 3.2 Email confirmation[ ](https://docs.erpnext.com/docs/v13/user/manual/en/CRM/appointment#32-email-confirmation) <a href="#id-32-email-confirmation" id="id-32-email-confirmation"></a>

If there is no matching lead in your system, an email will be sent to the email address in the appointment to confirm if the email address is valid. Upon confirmation, a new Lead will also be created in the system along with the Appointment.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vezolve.gitbook.io/activebooks/crm/sales/appointment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
