Перейти к содержанию
НОВОЕМаркетплейс и ваша команда: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Генерация и обогащение лидов

Генерация и обогащение лидов

Оценка входящих лидов с OpenAI и их запись в Google Sheets и Slack

Webhook получает каждого лида, OpenAI присваивает оценку от 0 до 100 с уровнем и обоснованием, все лиды записываются в Google Sheets, а высокие оценки запускают уведомления в Slack.

Что делает

# Score inbound leads with OpenAI and route them to Google Sheets and Slack ## Who's it for Sales and marketing teams, agencies and founders who collect leads through web forms and want to spot the best ones fast. ## How it works A webhook receives each lead and OpenAI returns a score from 0 to 100, a hot, warm or cold tier and a one-line reason. Every lead is logged to Google Sheets. Leads at or above your threshold also trigger a Slack alert. If OpenAI fails, the lead is still logged as "unscored", so nothing is lost. ## How to set up 1. Create a Google Sheet with a Leads tab and these headers: name, email, company, message, score, tier, reason, receivedAt. 2. Add your OpenAI, Google Sheets and Slack credentials. 3. Open the Workflow Configuration node and set your sheet ID, Slack channel, threshold and model. 4. Send the test payload below to the test webhook URL. 5. Activate the workflow and point your form to the production URL. ## Requirements - n8n Cloud or self-hosted n8n - OpenAI API key, Google account and Slack workspace ## How to customize the workflow - Edit the scoring prompt to match your ideal customer. - Swap Slack for email or Teams, or Google Sheets for a CRM. - Add form fields, such as budget, and include them in the prompt. ## Test payload json {"name": "Jane Doe", "email": "jane@example.com", "company": "Example Inc", "message": "We need to automate onboarding for 200 staff this quarter. Budget approved."}

Шаги

  1. Receive Lead Form
  2. Workflow Configuration
  3. Normalize Lead
  4. Score Lead with OpenAI
  5. Parse AI Score
  6. Log Lead to Google Sheets
  7. Is Hot Lead?
  8. Alert Sales Team in Slack
  9. Warm or Cold - No Alert

Похожие автоматизации