> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/integrations/integration-reference/clubready/syncing-perkville-leads.md).

# Syncing Perkville leads

When a referred friend claims a [referral offer](https://docs.perkville.com/features/referrals/configuring-your-referral-program/referral-offer.md), Perkville can push the referred prospect to ClubReady when a ClubReady referral-lead sync is configured.

For the overall referral-to-CRM flow and supported destination examples, see [Referral lead syncs](https://docs.perkville.com/features/referrals/referral-lead-syncs.md).

{% hint style="info" %}
This integration uses the `POST https://api.clubready.com/users/v1/clubs/{ClubId}/users` and `GET https://api.clubready.com/users/v1/chains/{chain_id}/members` endpoints.
{% endhint %}

{% hint style="warning" %}
If the lead already exists in ClubReady, the integration will not be able to update the existing lead.
{% endhint %}

## How to set this up

Reach out to **<support@perkville.com>** to request a referral lead sync to your ClubReady instance.

## Mapped data

* **Club:** the lead is created at the location where they claimed the referral
* **First Name:** first name of the lead
* **Last Name:** last name of the lead
* **Email:** email address of the lead
* **Date of Birth:** date of birth of the lead (if provided)
* **Cell Phone:** phone number of the lead

{% hint style="info" %}
You can require a phone number when a referred friend claims your [referral offer](https://docs.perkville.com/features/referrals/configuring-your-referral-program/referral-offer.md).
{% endhint %}

* **Send Email:** whether the lead should be sent an email when they are created in ClubReady
* **Note:** a note created for the lead upon creation

**Note example:**

> Perkville referral offer claimed on `referral offer claim date`\
> \
> Referred by: `Referrer name`

* **Referred by User:** the ClubReady user that referred them (if found)
* **Prospect Type:** the prospect type for the lead (let Perkville Support know if you want this set and what it should be)
* **Referral Type ID:** the type applied to the referral relationship in ClubReady (let Perkville Support know if you want this set and what it should be)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.perkville.com/integrations/integration-reference/clubready/syncing-perkville-leads.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
