# People Sync Logic

#### People Sync Logic <a href="#contact-sync-logic" id="contact-sync-logic"></a>

When syncing Popl leads to your Marketo account, the integration will first perform a read operation to see if the record already exists. This search (query) uses the lead's **"email"** as a primary key to match any existing People record already in your Marketo account. Based on the search, two flows can be taken:

**Create New Record if No Record Found:**

If no record is found from this initial email search, then the integration will proceed to create a new record. Ownership and any custom mappings will be applied based on the configuration settings.

**Update Existing Record If an Existing Record is Found:**

If a People record is found with the Popl lead's specific email, the integration will proceed to update that record accordingly instead of creating a new, duplicate record. Ownership and any custom mappings will be applied based on the configuration settings.

***

#### Need Help?

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

\
With 🤍 from Popl.&#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://docs.popl.co/introduction/integrations/marketo-integration/people-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.
