⚡ How to connect a web form with Zapier and Atom
Automating the sending of messages to leads that fill out a form on your website is an excellent way to start conversations instantly. Below, we explain how to set up this integration using Webhooks in Zapier.
1️⃣ Configure the "Trigger" in Zapier
In Zapier, create a new Zap by clicking the Create Zap button.
In the App Event search bar, type "webhook" and select Webhooks by Zapier.
In Trigger Event, select Catch Hook and click Continue.
Zapier will give you a URL. Configure your web form to send the captured data to that URL.
Fill out a test form on your website, return to Zapier and click Refresh fields to validate that the data is arriving correctly.
Click Continue.
2️⃣ Configure the "Action" (Action towards Atom)
In the next step (App Event), search for "webhook" again and select Webhooks by Zapier.
In Action Event, select POST and click Continue.
In the Action section, find the URL field and paste the official Atom endpoint:
https://us-central1-atomchat-io.cloudfunctions.net/api/Template/SendMessageIn the Payload Type field, select
json.In the Data section, you must map the parameters that Atom needs to send the message:
• templateId: The ID of your template in Atom. (Required)
• groupName: Name of the group to which the chat will be assigned.
• phoneNumber: The phone number captured in the form (must include the country code).
• params__client_name: The client name captured.
• Custom fields: If your template has extra variables, add them using theparams__prefix (e.g.params__city).
• assign: Writetrueif you want the chat to go directly to a human Agent. If you omit this field, the bot will handle the lead.In the Headers section, you must authorize the request by configuring the following:
• Key: WriteAuthorization
• Value: WriteBearer your_public_token(replace "your_public_token" with the actual token).Click Continue to finish and turn on your Zap.
🔑 Where do I find my templateId and my Public Token?
To get the templateId:
In your Atom platform, go to Settings > Templates.
Identify the template you are going to send and click on the three dots icon (⋮) and select "Copy ID".
In the edit screen, the first field you will see is the
templateId. Copy it and paste it in the Data section of Zapier.
To get the Public Token:
In Atom, go to the Settings > Channels module.
Position yourself in the connected WhatsApp channel, click on the three dots icon (⋮).
Click on the "Copy public token" option.
Automate your lead generation on autopilot! 🚀
By linking your web forms with Atom through Zapier, you ensure that each potential customer receives a WhatsApp message at the moment of greatest interest. If you need more information on how to use Zapier, remember that you can consult its Quick Start Guide. ✅

