What is a webhook?
In as few words as possible, a webhook (in the specific usage in K+) is a link that is sent from one computer to another (as opposed to you visiting the link in your browser.) When this link is used, it can trigger some automated service that uses the information in the link to do something special.
Let's say that you want to send a custom seller postcard or some other mailer as part of a drip campaign for sellers. It's possible to do this in K+ so long as you have the following items:
- Information the postcard needs (A name, address, maybe a valuation amount, etc.)
- A webservice that can mail out postcards for you, using the information above. Specifically, a webservice means that this third party postcard or mailer provides you with a webhook format that you can use.
- An automated process (drip campaign ;) ) that triggers the webhook at a specified time.
There are a huge number of options out there for all kinds of things that can be triggered in drip campaigns by webhooks. And, using the variables that our drip system provides, you can populate your webhooks with the variables they need to send out materials or items or udpates for anyone in your K+ system.
When you are evaluating options for thrid party services that you want to connect to your drips, the main piece of information you need to know, to know that your webhook will work with K+, is that it is a simple HTML GET request (link) that you can insert your variables into.
That link will look something like this:
Now, in K+ we have the following variables available :
#firstname, #lastname, #fullname, #agentname, #agentemail, #agentphone, #town, #seller_fulladdress, #seller_city, #seller_street, #domain, #leademail, and #leadphone
This link has a few places we can insert variables. In looking at links like this, they all seem to have this pattern in them that is an = followed by an &.
These are the spaces in which your variables will go. To simplify it into plain english, read the link like name= AND address= AND price=. That tells you where to put your variables.
You can see where I entered the variables that our seller leads will have for this seller postcard that I want to send.
You then take your built link and insert it into your campaign event with the webhook option selected. That's it! The webhook will be triggered when that campaign event fires.
If you're extra curious about webhooks and want to learn more, there is an in-depth writeup on the Zapier blog that spells it out pretty well. (Zapier does webhooks as well!)