Herospark
Follow this step-by-step guide to integrate your sales flow with the Mentorfy delivery flow.
Webhook Link
Before configuring the webhook in Herospark, create an Entry URL in Mentorfy. This URL defines which products, categories, or classes will be unlocked when Herospark confirms a purchase.
- In Mentorfy, go to Integrations > Entry and click + New URL.
- Fill in the URL with a descriptive name, select HeroSpark as the payment gateway, and choose the products and/or categories to be unlocked.
- Click Create and copy the generated URL.
See the full step-by-step guide at How to create an Entry URL.
Herospark Platform
Access the Herospark platform
1- Go to the Autopilot page and choose the Use automation template option:
2- Choose the Generate a Webhook option.
3- Give your webhook an appropriate name
Chosen Product - Payment Confirmed | Mentorfy
4- Choose the product being sold that will be delivered by Mentorfy.
5- Paste the Entry URL you copied from Mentorfy and select the POST method.
6- Click Add Headers and add the key Content-Type with the value application/json. Then paste the code below (no spaces) in Body.
{"name":"{{buyer_name}}","email":"{{buyer_email}}","phone":"{{buyer_phone}}","price":"{{ offer_price | divided_by: 100.00 }}","herospark": true}
7- Activate the webhook and click Save edit.
Conclusion
Once you complete these steps, the integration will be complete and you will be able to see your customers in the journey and in your customer list in Mentorfy.
If you have any questions, contact our support via chat on the platform or by email at contato@mentorfy.io