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",
mode: "no-cors",
headers: {
"Content-Type": "application/x-www-form-urlencoded"
},
body: new URLSearchParams({
email: e.detail.email || "",
phone: e.detail.phone || ""
})
});
});
</script>
Step 2: Create a Zap
Go to Zapier Webhooks.
Choose Trigger:
App: Webhooks by Zapier
Event: Catch Hook
Zapier will give you a Webhook URL — copy it and paste into the script above.
Test it by submitting an Alia popup on your site.
Step 3: Send signups to the right list
The script sends only the email and phone number. Choose the list in the action step for your email or SMS tool in Zapier, not in Alia. To send email and SMS signups to different lists, add Paths to your Zap and split on whether a phone number was sent. Many tools need phone numbers with + and the country code, so add a Formatter step before the SMS path if needed. Check each test signup in Zapier's Zap History to see which path ran.
