# Calendar

Calendar action block is used for collecting date from the or for booking appointments

**When should you use this?**&#x20;

* Collecting a date from the visitor
* Booking appointments&#x20;

**How do I set it up?**&#x20;

Setting up 'Calendar' action block

To set up the 'Calendar' action block, you can follow the following steps;&#x20;

* Add action block on canvas by clicking on '+'&#x20;

* Choose 'Calendar'&#x20;

* Configure following on right panel&#x20;

* **Date Selection:** Configure the following under 'Date Selection' in the configuration message;&#x20;

1. **Show Message:** You can set the message that you would like to send to the visitors along with calendar to book the appointment&#x20;
2. **Define Variable:** Define variable in which the response of the visitors will be stored&#x20;
3. **Date Selection:** Select nature of date selection from available options . You can enable 'Show Past Dates' to show the visitors past dates&#x20;

* **Exclude Dates:** Select the 'Exclude Dates' tab and define any exclusion of dates that you don't want to be visible in the calendar UI. You can exclude dates by either;&#x20;
  * Selecting the days all together like Saturdays, Sundays etc.. This way all of these will not be selectable to the visitor.&#x20;
    * Selecting special dates like Christmas, Diwali, EID etc..&#x20;


---

# 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://help.talkie.se/action-blocks/calendar.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.
