Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Qualify roofing leads and send WhatsApp icebreakers with Gemini and Sheets

When a form is submitted, it runs an AI agent with Google Gemini using Google Sheets, Slack, WhatsApp.

What it does

## Roofing Inbound Lead Intent Classifier + WhatsApp Icebreaker ### How it works This workflow captures inbound roofing leads from a form, normalizes the submission, and checks Google Sheets to avoid processing duplicates. New leads are saved, classified by an AI agent for sales intent, and then routed to Slack alerts, skip statuses, or a WhatsApp follow-up path. For eligible leads with a valid WhatsApp number, it prepares a calendar scheduling link, sends an icebreaker message, and updates the sheet with the outcome. ### Setup steps - Configure the lead capture form fields so they match the normalization code and Google Sheets column names. - Connect Google Sheets credentials and set the correct spreadsheet, worksheet, lookup keys, and row update mappings for lead status and AI results. - Configure Slack credentials and target channels for duplicate-lead logging and sales-team notifications. - Set up the Google Gemini/LangChain credentials, AI prompt, and structured output parser schema used by the AI Lead Qualifier. - Configure WhatsApp credentials, approved message template or message body, and phone-number formatting requirements. - Update the Cal.com or calendar scheduling URL used in the calendar-link preparation nodes. ### Customization You can customize the AI intent categories, routing rules, Slack messages, WhatsApp icebreaker copy, and the calendar link parameters to match a specific roofing sales process.

The steps

  1. When Lead Form Submitted
  2. Normalize Lead Data
  3. Read Leads from Sheets
  4. If Lead Is Duplicate
  5. Notify Duplicate Lead on Slack
  6. Append New Lead to Sheets
  7. Lead Qualification Agent
  8. Gemini Model Provider
  9. Parse AI Output
  10. Prepare AI Lead Data
  11. Update Lead AI Results in Sheets
  12. Route by Lead Intent
  13. Alert Sales on Slack
  14. If WhatsApp Number Valid

22 steps in total.

Similar automations