# Receiving Webhook from ClubReady

Webhooks are used to receive data in real time. ClubReady provides an automations feature that can allow you to send data to Gleantap in real time via Webhooks. To set this up login to your ClubReady account and go to Automations > Create Automation.

Refer to ClubReady's documentation to see details on setting up an Automation.

For Webhook settings, here is what you need

**Webhook URL** \
<https://api.gleantap.com/v1/ClubReady/receiveWebhook>

**Type** \
POST

**Payload Type**\
JSON

**Payload**

For New Prospect&#x20;

```
{
   "action": "new_prospect", // Other options - new_booking, update_contact
   "store_id": "456290",
   "firstname": "John",
   "lastname": "Doe",
   "email": "johndoe@domain.com",
   "phone": "+11234567890",
   "lead_type": "",
   "user_id": "1417958143"
}
   
```

For New Booking

```
{
   "action": "new_booking", 
   "store_id": "456290",
   "booking_date": "9/23/2023",
   "user_id": "1417958143"
}
   
```

For Update Contact

```
{
   "action": "update_contact", 
   "store_id": "456290",
   "prospect_type_name": "TBT Booked",
   "user_id": "1417958143"
   // include any other attributes you'd like to update in Gleantap
}
   
```


---

# 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://help.gleantap.com/integration/receiving-webhook-from-clubready.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.
