Hotmart
Introduction
Welcome! This guide will walk you through setting up a super handy integration between Hotmart and Webforce's CRM. With this integration, you'll be able to automatically create leads in Webforce's CRM from events happening on Hotmart. Let's make your workflow smoother and more efficient!
Step 1: Prerequisites
Before we dive into the setup process, make sure you have the following:
A live Hotmart account.
Access to the Tools section in Hotmart.
The ability to create credentials and configure webhooks.
Having these ready will ensure a smooth integration process.
Step 2: Access the Tools Menu
Log in to your Hotmart account.
From the top right corner menu or the left sidebar, select the option Show All from the Tools menu.
Step 3: Search for Hotmart Credentials
Click on the Search by Tool bar.
Look up Hotmart Credentials.
Step 4: Create a New Credential
Select Hotmart Credentials from the search results.
In this view, click on the Create Credential button.
A new modal will appear.
Select the API Hotmart option.
Click on Create Credential.
Step 5: Save Your Credentials Securely
After creating the credentials, you will be provided with a Client ID, Client Secret, and Basic token.
It’s crucial to download and store these credentials securely as they are shown only once by Hotmart.
Ensure you save them in a safe and accessible location for future reference.
Step 6: Set Up Webhooks
Go back to the Tools Search.
Look up Webhooks.
Once the Webhook (API Notifications) card appears, click on it.
Step 7: Copy the Authentication Token
Click on the Authentication tab.
Copy the Hottok value.
This value is required for validating webhooks received from Hotmart by Webforce's CRM.
Step 8: Configure Hotmart Integration in Webforce CRM
Visit your Webforce CRM instance and log in using your credentials.
From the left Menu, select Integrations.
Once the integrations are loaded, look for the Hotmart Integration and click on the Configure button.
In the configuration drawer, paste the credentials obtained in the previous steps:
Client ID
Client Secret
Basic
Hottok
Assign a name for this integration.
Click on the Save button.
Once the new integration is created, copy the URL assigned to it. You will need it for further steps.
Step 9: Configure Webhooks in Hotmart
Return to your Hotmart dashboard and navigate to the Webhooks panel.
Once the panel is displayed, click on the Register Webhook button.
Proceed to configure the following elements:
Settings Name: Assign a friendly name to this webhook.
Select a Product: Choose from the list of products only those that are relevant for this webhook. This tells Hotmart that every time an event occurs and contains a selected product from this list, a webhook should be triggered and reported to Webforce's CRM.
URL for sending data: Paste the URL assigned to your integration when you created it in the previous step.
Select Version: Always select version 2.0.0.
Events to Share: Select the following events:
Purchase Completed
Purchase Approved
Cart Abandonment
Accept the Personal Data Agreement.
Click Save to apply the changes.
After following all the steps provided in this list, every time an event occurs in Hotmart, it will be reported to Webforce's CRM. If the payload is valid, a new lead will be created containing general information of the transaction made on Hotmart. This seamless integration ensures that your CRM stays up-to-date with the latest activities from your Hotmart transactions, streamlining your workflow and enhancing your ability to manage leads effectively.