Библиотека / CRM и воронка продаж
CRM и воронка продаж
Создание и дедупликация контактов HubSpot из вебхуков веб-форм
Запускается при каждой отправке веб-формы на сайте, проверяет и нормализует лид, затем обновляет подходящий контакт HubSpot по email или создает новый.
Что делает
## Form leads to HubSpot contacts (clean and deduplicated) Send any website form to this webhook and every lead lands in HubSpot as a clean contact. Existing contacts are updated by email instead of duplicated. ### How it works 1. Webhook receives the form post (JSON or form-encoded). 2. Validate and Normalize checks the email, splits the name, fixes capitalization, formats the phone and maps the country to a 2-letter code. Bad leads get a 400 with the reason. 3. Find Contact by Email searches HubSpot. The contact is updated if it exists, otherwise created as a new lead. 4. Respond OK returns the contact ID and action to your form. ### Setup (about 10 minutes) 1. In HubSpot create a service key or private app token with crm.objects.contacts.read and crm.objects.contacts.write. 2. In n8n create a Header Auth credential: name Authorization, value Bearer YOUR_TOKEN. Select it on the three HubSpot nodes. 3. Optional: set sharedSecret in Settings and send it from your form in the x-form-secret header. 4. Activate the workflow and point your form at the Production URL of the webhook. ### Test it POST a JSON body such as name, email, company and country to the webhook URL. The response shows whether the contact was created or updated. ### Want more? Lead scoring, owner routing by region or round robin, and Slack alerts for hot leads are in the full HubSpot Lead Router: https://tidewellsystems.com/templates/
Шаги
- Lead Form Webhook
- Settings
- Validate and Normalize
- Valid Lead?
- Reject Invalid Lead
- Find Contact by Email
- Contact Exists?
- Update Contact
- Create Contact
- Respond OK
- Build Contact Payload
- Summarize Result
Похожие автоматизации
CRM и воронка продажСоздание контактов в HubSpot из отправок формы и отправка писем через Gmail с OpenAIШагов: 10CRM и воронка продажЗапись писем как взаимодействий HubSpot с помощью OpenAIШагов: 20CRM и воронка продажМаршрутизация транскриптов звонков HubSpot по командам с OpenAIШагов: 11CRM и воронка продажGenerate live sales demo briefings from HubSpot, web research, Slack and Sheets withШагов: 20