# Purchase completed

1. **Select Hotmart** as your source app under “New flow” in the “Gears” menu. Click “Create.”

<figure><img src="https://lh7-us.googleusercontent.com/2ZZMPCGeHC_0p8RXEtaJAp5oFz0KI3H5uDOcGjGPIwEEGQEMhm-QQwAvWonfkh5l_QwIrNX4DpidnpxbacDgwP9qVil3o3sL-m1hF8gQ7bRiH0irs2-UOKmZyXoTVQLlhBYIPHgPzpW5ZFkyCAJigg" alt=""><figcaption></figcaption></figure>

2. **Choose the connection** you wish to use after clicking the red gear and click “Continue.”

<figure><img src="https://lh7-us.googleusercontent.com/2241HyOP5dIApzp0XxbE_i3BwHCtxWxkbHlsp9CDdunBo0i3YbtTNzqR7tfKyyVzYFYkdtcbhVDNkPd2mqSi_JcNF5hGw2uFhb0EaLIwdPijfYbEdFPBVpBk-x4de31EwaPb3N8YzMhakUvCHkDoDQ" alt=""><figcaption></figcaption></figure>

3. **Pick “Purchase completed”** as your action and click “Create.” GearPlug will show your webhook URL.

<figure><img src="https://lh7-us.googleusercontent.com/FsqmSgheOTiWdjzvvC-t6exkn31SDO_AG7gXxYdandkwaHTmlh-X6ztK0xxgdrg8XKjpPGF7ikheDnPsfa6cTMcrfGQ81gfcr7IjXOp2q_2x0d8gh9JXhXKVtL3IHGDMV3vINTFUoysTkyb1PCCRlg" alt=""><figcaption></figcaption></figure>

4. **Register a new webhook** with said URL in <https://app.hotmart.com/tools/webhook>. Make sure you pick your source action as your “Event to share” and the product you want to link, and save your webhook.

<figure><img src="https://lh7-us.googleusercontent.com/9R1QnGkmEYQzalUIDKrmW83LwsQ2GJaBEc37gaimGoYmuWuZRW15_2_UFNvJXMQOUkiKgF_AqbL7HOqB41E5Q1ii-U-rjMBn2enVy9k9hgcOlY1TYwY63IisAC69FbajSBqF7igRaOExxioDwFHqtw" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If you choose a different event from your source action, your Gear won’t work properly.
{% endhint %}

5. **Send a test record** when prompted by Hotmart. Review the imported data and click “OK” again to finish the setup.

<figure><img src="https://lh7-us.googleusercontent.com/d46nvVZO5OmE_f0MXZQYdtYOO0nLxmJFBgOstEMDQdH9slDtRjVEgoA1DjUOUCfFMtDTs29lRNTa9vkM0sTX9JE1-YEezGmrBxRcfs44emqlpbDFEOeyTspOQ86zSHFT81lBbPWtPtBLOkJqwaP5ew" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Empty Fields**: Under the imported entry, you’ll find a drop-down menu for “Empty Fields.” Here, you’ll find a list of fields you can import—but weren’t used in your record.
{% endhint %}
