Quick Overview
This workflow receives Webflow form submissions, enriches the lead with Apollo data, scores it with OpenAI, and creates a Person, Lead, and qualification note in Pipedrive; only leads with a validated score of exactly 100 also trigger a notification email via Gmail.
How it works
- Receives a Webflow form submission via a webhook endpoint.
- Normalizes and validates the submission data, builds an Apollo match query, and loads your Pipedrive subdomain, ideal customer profile, and notification inbox settings.
- Looks up the person and company in Apollo and combines any matched business enrichment with the submitted lead details.
- Sends the lead evidence to OpenAI to produce an evidence-based 0–100 score, breakdown, summary, next step, and missing-information list, then validates the response and marks failures as UNSCORED.
- Creates a Person in Pipedrive, creates a Lead in Pipedrive Leads Inbox for every submission, and attaches a pinned note containing the original form data, enrichment, and scoring details.
- Sends a Gmail email alert to your configured internal inbox only when the validated OpenAI score is exactly 100.
Setup
- Configure Webflow to send form-submission webhooks to this workflow’s production webhook URL.
- Add an Apollo API key as an HTTP Header Auth credential and an OpenAI API key as an HTTP Header Auth credential.
- Add a Pipedrive API credential and set your Pipedrive subdomain, ideal customer profile, and notification email in the workflow configuration values.
- Add a Gmail OAuth2 credential and verify the sender account and internal recipient inbox used for 100-point lead notifications.