Библиотека / Документы, PDF и OCR
Документы, PDF и OCR
Triage website contact form leads with webhooks and Google Gemini
When an API call/webhook arrives, it reads and extracts data from documents with Google Gemini.
Что делает
## AI lead triage for website contact forms (Gemini) ### How it works This workflow receives website contact form submissions through a webhook, validates them and applies rate limiting before calling AI. Valid requests are sent to Google Gemini, which rates the lead as urgent, high, normal or planned and adds a short summary and a suggested next step. The result is returned to the website as JSON. Invalid, spam (honeypot) or rate-limited requests bypass Gemini and get a direct response instead. ### Setup steps - Create a Gemini API key at aistudio.google.com and add it as a Google Gemini (PaLM) API credential in Post to Gemini API. - In Validate Submission and Rate Limit, edit BUSINESS, SERVICES, MAX_PER_HOUR and MAX_PER_DAY at the top of the code. - In When Form Submitted, set Allowed Origins to your website domain. - Activate the workflow and POST your form to the production webhook URL, e.g.: {"service":"repair","answers":{"Since when":"today"},"message":"Heating is off","contactPreference":"callback","website":""} ### Customization Adjust the priority rules in the Gemini prompt to match your industry, or add an email, Slack or Google Sheets node after Parse Gemini Response to notify your team or log every lead.
Шаги
- When Form Submitted
- Validate Submission and Rate Limit
- If Request Valid
- Post to Gemini API
- Parse Gemini Response
- Respond to Form Submission
Похожие автоматизации
CRM и воронка продажСоздание и дедупликация контактов HubSpot из вебхуков веб-формШагов: 12Генерация и обогащение лидовНаправление лидов с контактной формы в CRM HighLevel и уведомление отдела продаж в SlackШагов: 19Генерация и обогащение лидовКвалификация входящих лидов из форм с проверкой сайтов через Gaffa и HubSpotШагов: 12Генерация и обогащение лидовСохранение заявок с сайта в Google Sheets и отправка автоответов через GmailШагов: 7