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

Library / Email Automation

Email Automation

Score and route property enquiries with Groq, Google Sheets, and Gmail

When an API call/webhook arrives, it handles email with Groq using Gmail, Google Sheets, Groq.

What it does

## Property Enquiry Scoring & Routing ### How it works This workflow receives property enquiries from a website webhook, validates that an email address was supplied, and rejects incomplete submissions with a logged 400 response. Valid enquiries are classified as personal or business, scored for buying intent using Groq AI with a fallback score if AI is unavailable, then routed into the appropriate Google Sheet. After saving the lead, it emails agents and returns a successful webhook response. ### Setup steps - Configure the website form to POST enquiry payloads to the n8n webhook URL. - Connect Google Sheets credentials and select/create sheets for incomplete enquiries, personal buyer leads, and business investor leads with matching columns. - Add the Groq API authorization details to the HTTP Request node and confirm the model, prompt, and expected score format. - Connect Gmail credentials and configure recipient agents, subject, and message content for the notification email. - Verify the Respond to Webhook nodes return the desired 200 and 400 response bodies for the website integration. ### Customization Adjust the classification code, Groq scoring prompt, fallback score rules, sheet mappings, and notification recipients to match your lead qualification criteria and sales process.

The steps

  1. Update Personal Leads in Sheets
  2. Update Business Leads in Sheets
  3. Send Enquiry Notification Email
  4. When Enquiry Posted to Webhook
  5. Classify Enquirer Type
  6. If Enquirer is Personal
  7. If Email Provided
  8. Post to Groq AI for Intent Score
  9. Integrate AI Score with Enquiry
  10. Respond 400 Missing Email
  11. Respond 200 Enquiry Processed
  12. Append Incomplete Enquiry to Sheets
  13. Fallback Buying Intent Score

Similar automations