Lead Magnet Template, Test Page Bare-bones page for shaking out the chatbot and backend end-to-end. Set the two constants at the bottom of this file, deploy, and walk the test sequence.

What to test, in order

  1. Confirm Backend health returns {"ok":true,...}.
  2. Confirm Public config reads back what you set in Script Properties.
  3. Click the chat bubble (bottom-right) and walk a full conversation. Aim for the bot to qualify and close the lead.
  4. Submit the fallback contact form below to test the non-chat path.
  5. Open your Google Sheet. Chats tab has all turns. Leads tab has one row each from chat and form, tagged and prioritized.
  6. Check inboxes for the lead's confirmation email and (if priority/tag warrants) the renter's immediate notification.

Backend health checking

GET ...
Loading...

Public config GET ?config=1

Loading...

Fallback contact form action: 'lead'

Non-chat path. Same backend, same Leads tab, same tagging, submitted as a single payload instead of a conversation.


Common failure modes