Quick Overview
This workflow captures real estate property inquiries via a webhook, saves the lead to Google Sheets, sends an auto-reply email through Gmail, and posts a notification to a Slack channel before returning a JSON confirmation to the website.
How it works
- Receives a POST request from your website form through a webhook endpoint.
- Extracts and standardizes the lead details (name, email, phone, property ID, and message) from the incoming request.
- Appends the inquiry details to a Google Sheets CRM spreadsheet.
- Sends an acknowledgement email to the prospect using Gmail with the referenced property details.
- Posts a new-lead alert to your agent team in Slack.
- Returns a JSON response (for example,
{ "status": "received" }) to confirm the submission was accepted.
Setup
- Connect Google Sheets OAuth credentials and update the target spreadsheet and sheet tab used to store new leads.
- Connect Gmail OAuth credentials and customize the subject/body of the auto-reply message.
- Connect Slack OAuth credentials and choose the channel where agent notifications should be posted.
- Copy the webhook URL from the webhook trigger and configure your website inquiry form to send a POST request with
name, email, phone, property_id, and message in the request body.