Skip to main content

Herospark

Follow this step-by-step guide to integrate your sales flow with the Mentorfy delivery flow.

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.

  1. In Mentorfy, go to Integrations > Entry and click + New URL.
  2. Fill in the URL with a descriptive name, select HeroSpark as the payment gateway, and choose the products and/or categories to be unlocked.
  3. Click Create and copy the generated URL.
tip

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:

Payment Confirmed

2- Choose the Generate a Webhook option.

Generate Webhook

3- Give your webhook an appropriate name

Chosen Product - Payment Confirmed | Mentorfy
Webhook Appropriate Name

4- Choose the product being sold that will be delivered by Mentorfy.

Product Selection

5- Paste the Entry URL you copied from Mentorfy and select the POST method.

POST Link Configuration

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}
Herospark Header Body

7- Activate the webhook and click Save edit.

Activate Webhook

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