The moment it happens
Get website leads on WhatsApp and log them in a sheet
Each contact form lead is added to your sheet and sent to your phone on WhatsApp straight away.
- Runs
- The moment it happens
- Apps
- Google Sheets, WhatsApp Business
- AI
- Not needed
- Access
- Sheet edit; whatsapp_business_messaging
Send this to your assistant
Create a ClickRuntime automation: when someone fills in my website contact form, add them to my Leads sheet and send me their details on WhatsApp.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Tradespeople, photographers and other small businesses win work by replying first. A lead that sits in an inbox for three hours has often already booked someone else.
Getting each lead on WhatsApp the moment it arrives lets you call back while the person is still thinking about it, and the sheet keeps every lead in one list for follow-up.
What you get out of it
Reply first, win more
You see the lead within seconds and can call while they're still at their desk.
A list of every lead
Each one is added to your sheet with the date. Nothing is lost in an inbox.
Works on site
WhatsApp on your phone is all you need. No laptop required.
Any form will do
Any website form that can send a webhook works.
How it works
What happens, step by step
Your website form sends each new lead to ClickRuntime.
A row with the lead's details and the time is added to your Leads sheet.
You get a WhatsApp message with their name, number and message.
Before it runs live
- Connect your Google Sheets account and pick the spreadsheets it may use
- Connect WhatsApp Business
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Google Sheets and WhatsApp Business steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from datetime import datetime, timezone
from clickruntime import on_event, credentials, http
SHEET_ID = "your-spreadsheet-id"
MY_PHONE = "447700900123"
WA = "https://graph.facebook.com/v20.0/your-phone-number-id/messages"
def wa(to, text):
http.post(WA, headers={"Authorization": f"Bearer {credentials.secret('WHATSAPP_TOKEN')}"},
json={"messaging_product": "whatsapp", "to": to, "type": "text", "text": {"body": text}}).raise_for_status()
@on_event
def handle(event):
f = event.json or {}
row = [datetime.now(timezone.utc).isoformat(timespec="minutes"), f.get("name", ""), f.get("phone", ""), f.get("email", ""), f.get("message", "")]
build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets().values() \
.append(spreadsheetId=SHEET_ID, range="Leads!A:E", valueInputOption="RAW", body={"values": [row]}).execute()
wa(MY_PHONE, f"🆕 Lead: {row[1]} {row[2]} {row[3]}\n{row[4][:500]}")
return {"lead": row[1]}FAQ
Common questions
Will the lead get a message too?
Can I send leads to a colleague instead?
What details are included?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Answer WhatsApp questions from a product sheet
Customers who message your WhatsApp number get an instant answer drawn from the products and FAQs in your Google Sheet.
See how it worksLog WhatsApp requests in a sheet with a category
Each request sent to your WhatsApp number is sorted by type and urgency, added to a sheet and acknowledged with a reference number.
See how it worksFollow up unhappy customers on WhatsApp
Feedback is scored for sentiment and logged in your sheet, and customers who were unhappy get a WhatsApp message offering to put it right.
See how it worksKeep exploring
Set up “Get website leads on WhatsApp and log them in a sheet” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.