How to Get a New Lead Notification in Slack?

In this article, you will learn how to get a new lead notification in Slack using the Incoming Webhook app. Generate your Slack webhook URL Go to https://slack.com/apps/A0F7XDUAZ-incoming-webhooks?tab=more_info then click the Add to Slack button (Sign in to Slack if you are not logged in). Under the Post to Channel, select where your Incoming Webhook […]

Read More

Postcodes.io API Integration

Please Note: This article is provided for your convenience and to make it easy to implement based on our limited experience and testing.  Ideally, you should work with your developer.  Our standard free support does not extend to custom scripts and coding. Postcodes.io is a postcode & geolocation API for the UK Free, Open Source […]

Read More

How to Send Node-Level API Requests Using JavaScript

PLEASE NOTE: This script is provided to help you get started. Unfortunately, our free support does not include custom scripts. Any competent JS developer should be able to manipulate this script for your needs. Please contact us if you need help to find a developer. Please thoroughly test before use. BACKGROUND In some cases you […]

Read More

The API response variable

In some use cases you might want to test if the API node is working (before setting up the real live API call). We can use webhook.site to test a request and its response. First go to:https://www.webhook.site And click “New” up the top rightFill out the dialog like so: You can see we have created […]

Read More

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

In this article you’ll learn how to use Google Sheets as an external database. You can make API calls from LeadsHook using the API node and SAVE the returning data into custom fields. There are 2 methods available… METHOD #1: Easy Method Using a 3rd Party App (Developer NOT Required) In method 1, you use […]

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