# API - HOTMART: Sending abandoned cart event to SprintHub via Make

You have **Abandoned Carts** in the **Hotmart** and would like to automate sales processes to Recover this abandoned cart. One of the strategies you can do is create an Opportunity inside a CRM funnel in SprintHub, and create automations to send WhatsApp/Email/Communication to this Lead to try to recover this cart, that is, get the Lead to return and complete the purchase.

Make.com will act as the BRIDGE between the **Hotmart** and the **SprintHub**.

The steps are:

#### Step 1: Generate your API Token inside SprintHub

Go to Settings > System > Documentation and API Keys

At the bottom of the Screen, click **Request new key.**

#### Step 2: Go to Make.com and create a new "Scenario" with a webhook trigger

<figure><img src="/files/302b4b5515b716cc5bc2f8d5472be6fe5311dae6" alt="" width="563"><figcaption></figcaption></figure>

#### Step 3: Register a new webhook in Hotmart

<figure><img src="/files/af25536d7c8d2c68b1f2e5ace556193de383caac" alt=""><figcaption></figcaption></figure>

After following the steps above, just watch the video below. In summary, you will send a POST from inside the **Hotmart** to the URL generated by the **Make.com**.

Make.com will take the result of this POST and make a new POST in the HTTP module that will be sent to the **SprintHub**. To do this, just follow [**THIS TUTORIAL**](/en/topics/api/api-creating-lead-and-opportunity-at-the-same-time.md). Read [**THIS TUTORIAL**](/en/topics/api/api-creating-lead-and-opportunity-at-the-same-time.md) before completing the tutorial in the video below.

{% embed url="<https://www.youtube.com/watch?v=drzRbYxk_9o>" %}


---

# 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.sprinthub.com/en/topics/api/api-hotmart-sending-abandoned-cart-event-to-sprinthub-via-make.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.
