How to Pass your Decision Tree Tags via API or Webhook

You can now send all your Decision Tree Tags via API or Webhook You can use {_lead_tags} for sending them as a string with comma separated tag values or you can also use {_lead_tags_array} to send them as an array. NOTE: {_lead_tags_array} should not be enclosed with ” ” as it needs to be sent […]

Read More

Sending your Leads to Zoho CRM and Zoho Campaigns

NOTE: Make sure you specify the corresponding domain you have with Zoho on your request URLS. Example: If you have an account under .com.au then you will include that as well on your Request URL. Generating your Self Client API Go to https://accounts.zoho.com/signin?servicename=AaaServer&serviceurl=%2Fdeveloperconsole and log in using your Zoho account credentials. Click add new client […]

Read More

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