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
- Update Personal Leads in Sheets
- Update Business Leads in Sheets
- Send Enquiry Notification Email
- When Enquiry Posted to Webhook
- Classify Enquirer Type
- If Enquirer is Personal
- If Email Provided
- Post to Groq AI for Intent Score
- Integrate AI Score with Enquiry
- Respond 400 Missing Email
- Respond 200 Enquiry Processed
- Append Incomplete Enquiry to Sheets
- Fallback Buying Intent Score
Similar automations
Email AutomationReply to property enquiries with Gmail, Google Sheets and GPT-4o20 stepsCalendar & SchedulingQualify property enquiries with OpenAI and book viewings via Google Calendar, WhatsApp21 stepsEmail AutomationTriage and route Gmail leads with Groq, Notion CRM, and Twilio calls16 stepsEmail AutomationClassify property support emails with Groq, Slack, Gmail and Airtable18 steps