Automation
Zapier
Score a lead, signup or form submission inside any Zap using the Webhooks action.
What exists today
There is no LayerCall app in the Zapier directory yet. You do not need one: Zapier's built-in Webhooks by Zapier action calls any HTTP API, and that is how this works today.
Setup
- 1Add a Webhooks by Zapier action and choose 'POST'.
- 2Set the URL to https://www.layercall.com/v1/score/user
- 3Under Data, add the fields you have: ip, email, phone.
- 4Under Headers, add X-Api-Key with your API key, and Content-Type as application/json.
- 5Add a Filter step after it so the Zap only continues when verdict is not 'block'.
Questions
Which Zapier plan do I need?
Webhooks by Zapier is a premium action, so it needs a paid Zapier plan. That is Zapier's restriction, not ours — nothing about our API requires it.
How many tasks does this use?
One Zapier task per call, plus one LayerCall lookup per value scored. A unified call checking ip, email and phone is one Zapier task and three lookups.