Skip to main content

Integrate Alia with Zapier

Send contact info from Alia signups to Zapier using webhooks

Written by Bill Wohlers

You can use Alia's Javascript SDK to send contact info from users who sign up to Zapier.

Step 1: Add JS snippet to your site

Add the following script to all pages that have Alia embedded:

<script> 
document.addEventListener("alia:signup", (e) => {
fetch("https://hooks.zapier.com/hooks/catch/YOUR-ZAPIER-ID/", {
method: "POST",
headers: {
"Content-Type": "application/json" },
body: JSON.stringify({
email: e.detail.email,
phone: e.detail.phone
})
});
});
</script>

Step 2: Create a Zap

  1. Go to Zapier Webhooks.

  2. Choose Trigger:

    • App: Webhooks by Zapier

    • Event: Catch Hook

  3. Zapier will give you a Webhook URL β€” copy it and paste into the script above.

  4. Test it by submitting an Alia popup on your site.

Did this answer your question?