> For the complete documentation index, see [llms.txt](https://docs.zero.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zero.inc/features/agents/agent-examples/inbound-send-a-reminder-email-if-call-is-not-scheduled.md).

# Inbound: Send a Reminder Email if Call is Not Scheduled

{% hint style="info" %}
**This agent assumes that:**

1. You have an inbound lead agent set up
2. Inbound leads are given a Cal.com/Default/Calendly to schedule a call
   {% endhint %}

## **Goal:**

We want to automatically send one reminder email to the inbound leads who have *not* scheduled a call

## Preparation steps

{% stepper %}
{% step %}

### Create a new Contact-level custom property "Call Booked"

<figure><img src="/files/sfqS34p0qfbUpAk6edkC" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Amend your inbound agent to explicitly set Call Booked = No

Call Booked is set to true by the Cal.com webhook when the lead schedules the call - therefore we set it to false here:

<figure><img src="/files/mzGdZas8Qez72SFFhYla" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Create a new Contact-level property Reminder sent

<figure><img src="/files/vNkKEQysaWY5PztyQMEv" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Zero Agent

{% stepper %}
{% step %}

### Trigger: Based on a schedule

<figure><img src="/files/n2dUnDCPDR77u9mxezzx" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Action 1: Find records

**Filters:**

List = Inbound

Last meeting doesn't exist

Call booked = false

Created at less than 2d ago

Inbound reminder sent = false

<figure><img src="/files/gH20Le2rylxUPXcnFpI4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Action 2: Send email

<figure><img src="/files/Gt0p4DC23KvPXl8iMcFS" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Action 3: Edit record

We set the Reminder sent to false to send only one message

<figure><img src="/files/M59HAELuloNEsF7FQx2D" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.zero.inc/features/agents/agent-examples/inbound-send-a-reminder-email-if-call-is-not-scheduled.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
