> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newlead.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Lead reception

> How leads reach your agent from each source, and how the agent sends them the first message.

Some leads write to you. Others leave their details on a portal or in an ad form and wait for an answer. **Lead reception** handles the second kind: the agent creates the lead and writes to them first on WhatsApp with an approved template. Nothing gets lost along the way: a lead is saved even when the first message has to wait.

## Where leads come from

| Source | How the lead arrives | Who writes first |
| - | - | - |
| WhatsApp | The lead writes to your number | The lead |
| Instagram | The lead sends a direct message | The lead |
| Web chat | A visitor opens the widget on your website | The visitor |
| Email | The agent reads portal emails in Gmail or Outlook | The agent, on WhatsApp |
| Meta Ads | The lead fills in a Facebook or Instagram form | The agent, on WhatsApp |
| API or n8n | Your own flow creates the lead | Your flow, with a template |

Leads that write first are answered as soon as they arrive. The rest of this page is about the two sources the agent writes to first: [email](https://docs.newlead.ai/guide/channels/email-leads.md) and [Meta Ads](https://docs.newlead.ai/guide/channels/meta-lead-ads.md). Leads you create from n8n or the API don't get a first message from the agent: your flow sends it with a template (see [n8n](https://docs.newlead.ai/n8n.md)).

## How the first message goes out

* As soon as the lead is created, its first message is queued and shows in the conversation.
* Every two minutes the agent sends the queued first messages. It uses the **First contact** template, or the **If the main one cannot go out** template when the first one can't be sent.
* It respects the agent's [Sending Schedule](https://docs.newlead.ai/guide/agents/business-hours.md), which you set inside the email card once an inbox is connected. Outside those hours, the message is scheduled for the next window.
* If something is missing, such as an approved template, a detail the template needs or a connected WhatsApp, the message waits and is checked again on every pass. It goes out on its own once the problem is fixed. The conversation shows why it's waiting: see [Message status](https://docs.newlead.ai/guide/channels/message-status.md#when-a-message-is-held).
* A first message that still hasn't gone out after 7 days is marked as not sent.
* When the lead replies, the agent carries on the conversation as usual.

## Set it up

**1. Connect WhatsApp**

The first message always goes out on WhatsApp. See [Connect WhatsApp](https://docs.newlead.ai/guide/channels/connect-whatsapp.md).

**2. Open Lead reception**

Open the agent and, in **Setup**, under **Skills and tools**, select **Lead reception**.

**3. Connect your sources**

Connect **Google Mail & Microsoft Outlook**, **Meta Ads**, or both. Once a source is connected, the row is called **Lead reception · Email**, **Lead reception · Meta Ads** or **Lead reception · Email and Meta Ads**.

**4. Choose the first message**

Under **The first message** you see the template the agent uses. You choose it in **WhatsApp message templates**, under **First contact**, together with a fallback. See [WhatsApp templates](https://docs.newlead.ai/guide/channels/whatsapp-templates.md).

## Good to know

* You can connect a source before WhatsApp. Leads are saved, and the agent writes to them when you connect WhatsApp, if you do it within the next 7 days.
* A lead without a phone number is saved but can't be written to. When someone adds a phone, the first message is queued.
* If an existing lead sends a new inquiry by email or form, the lead is updated and the agent sends a new first message. If a person on your team had paused the AI for that lead, it stays paused.
* If the lead is marked **Do not contact**, the first message doesn't go out and the alert "A contact who asked not to be contacted came back" opens.
* While a subaccount is pending or paused, its emails are kept and processed when it's active again. Form leads are processed if they arrived in the last 48 hours; older ones are not.
* **Lead reception** only appears on agents that answer on WhatsApp or have no channel yet.

## Related

* [Leads from email](https://docs.newlead.ai/guide/channels/email-leads.md)
* [Meta Lead Ads](https://docs.newlead.ai/guide/channels/meta-lead-ads.md)
* [WhatsApp templates](https://docs.newlead.ai/guide/channels/whatsapp-templates.md)
* [Message status](https://docs.newlead.ai/guide/channels/message-status.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.