# Lead Sync Logic

#### **Lead Sync Logic**

When syncing Popl leads to your Zoho account, the integration first performs a read operation to determine if the lead already exists. This search (query) uses the lead’s **email** as the primary key to match any existing lead in Zoho. Based on the results, one of two actions will occur:

**Create New Lead if No Lead Is Found:**\
If no lead is found from the initial email search, the integration will create a new lead. Lead ownership and any custom mappings will be applied according to your configuration settings.

**Update Existing Lead if a Lead Is Found:**\
If a lead is found with the Popl lead’s email, the integration will update the existing lead instead of creating a duplicate record. Lead ownership and any custom mappings will be applied according to your configuration settings.

***

#### **Need Help?**

Contact Popl Support – our team is available to assist at <teams@popl.co>.

With 🤍 from Popl.


---

# 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://docs.popl.co/introduction/integrations/zoho-integration/lead-sync-logic.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.
