Ontraport API

Its possible to send a webhook or API call from LH into the Ontraport API. They have quite a large set of functions. In this example we will be creating a new contact with data about them. The official documentation is located here: http://api.ontraport.com/doc/#create-a-contact Get your API key Get your App ID These credentials can […]

Read More

Need Your Webhook & API Requests from a Static IP Address?

Every so often your integration will require API calls to come from a static IP address. Unfortunately, this method of authentication is dated and is also not scalable to use 1 IP address. LeadsHook offers redundancy across data centres and regions so there is no ‘one’ IP address as such. The solution is for you […]

Read More

Using Google Sheets as a lookup table

Its possible to use server side javascript to process an API call in LeadsHook Basically you send a request to the GS server with a parameter to search with. Then the script will search a given column where the parameter matches. When it finds the matching column value – the whole row is retrieved, converted […]

Read More

API Node – Response Errors

The API node allows you to pass your data collected in LeadsHook to your CRM/endpoint. The advantage to using the API node vs the Webhook node is that it supports return variables ( responses ). In this example we will see how to throw an error by passing a bad request through. And collect the […]

Read More

LH direct to Google Sheets

If you’re using Zapier to populate a Google Sheet and want to cut out the middleman. Its possible to just go straight from LH to Google sheets. It should be much more reliable, as Zapier can miss a few calls from time to time. This is a test sheet with working code.1. You need to […]

Read More

Generate JSON for webhooks

Here’s a little tool for you to cut down the coding time and minimize failure with the JSON code. With this you can easily write down your custom fields and it will generate the JSON Code for you. All you have to do is, copy and paste that code inside the webhook node. https://docs.google.com/spreadsheets/d/1CipXL-M0oBEs43Crx28_mzbSfUKpg-bRFditdBo2RLw/edit?usp=sharing To […]

Read More

Troubleshooting Webhooks & API calls

Headers Often when setting up a webhook or API call in LeadsHook the request will fail even though it looks 100% The reason for this in many cases is that the content-type request header is missing. The content-type request header tells the server what format we are using for our payload. The most common formats […]

Read More

The Complete Leads Distribution Training

Video 1: 7 Ways to Distribute Your Leads Video 2: Distribution Rules and Decision Tree Setup Video 3: How to Randomly Distribute Leads Video 4: How to Sequentially Distribute Leads (round robin) Video 5: How to Distribute Leads Based on Responses & Answers. Video 6: How to Setup Notifications To Control The Number of Leads […]

Read More

How to Use the API Node

In this short video you’ll learn how to use the API node. Here’s an example of one of the many use-cases… “I want to integrate leads with a dialing system that requires 2 step integration.  In the first step we send username and password and get a token, that token is then used in the […]

Read More

Webhook/API Authorization & Authentication

Each webhook/API endpoint will have different requirements. Your client should be able to provide you with documentation for their system. So always ask them for that first. Most systems also have online documentation too. So a search can often reveal exactly how to authorize & authenticate. First Download Postman https://www.getpostman.com/downloads/ Alternatively, you can try Advanced […]

Read More