Tutorial: capture leads into Google Sheets
🎯 Goal
Every enquiry becomes a qualified lead in your Google Sheet in real time, and your sales team is alerted to the hot ones.
🧰 What you need
- A Google Sheet
- A connected number
Step 1: prepare the Sheet
Section titled “Step 1: prepare the Sheet”Create a Sheet with the header row Name, Phone, City, Requirement, Budget. Then Extensions → Apps Script: paste the script shown in the builder’s Google Sheets: add row step, Deploy → Web app (access: anyone), and copy the URL.
Step 2: start the flow
Section titled “Step 2: start the flow”Automation → Templates → Lead capture, or New chatbot. Click the Trigger card → Match keyword enquiry, quote, price, details, Match: Contains. Also connect your click-to-chat link code, for example INSTA.
Step 3: ask the questions
Section titled “Step 3: ask the questions”- Ask question “May I have your name?” → Save the answer to
lead_name(Any text). Answers are saved on the contact too. - Ask question “Which city are you in?” →
city. - List “What are you looking for?” with rows Retail, Wholesale, Corporate gifting. Then Save variable
requirement= the chosen row on each branch. - Ask question “Your approximate budget in ₹?” →
budget, Answer must be: A number.
Step 4: qualify
Section titled “Step 4: qualify”Condition: Field / answer budget greater than 50000 → yes: Set / remove tag hot-lead + Notify agent Everyone online: 🔥 Hot lead: {{lead_name}} ({{phone}}), {{city}}, ₹{{budget}}; no: continue.
Step 5: save and confirm
Section titled “Step 5: save and confirm”- Google Sheets: add row: paste the web app URL and map Name →
{{lead_name}}, Phone →{{phone}}, City →{{city}}, Requirement →{{requirement}}, Budget →{{budget}}. - Update contact: name =
{{lead_name}}. - Send message:
Thanks {{lead_name}}! Our team will call you within 1 working hour. 🙏 - Set chat status → Pending.
- Connect failed (Sheets) → Add note “Sheet row failed — copy the details by hand”.
Step 6: test and publish
Section titled “Step 6: test and publish”Test the whole path, click Check, then Publish, then send enquiry from your phone and watch the row appear.
What’s next
Section titled “What’s next”Was this page helpful?
Thank you — we read every comment.
Could not send right now. Please try again later.
© 2026 MeAPI by TheWebStore028 · RADHAMADHAV WEBSTORE LLP · GSTIN 27ABJFR6148J1ZO · Contact us ·Cookie settings