Inbound form to enriched lead to Slack decision in seconds. One click updates HubSpot and stages the lead.
This system handles inbound leads in real time. A Tally form posts to n8n, Apollo enriches the company domain, a simple scorer assigns ICP fit and territory, HubSpot creates Contact and Company and Deal, and Slack shows a card with Auto Enroll and Disqualify. The choice updates HubSpot and, if enrolled, stages the lead in a paused campaign. Buttons are signed so forged clicks are ignored.
It is built with Tally for capture, Apollo for enrichment, n8n for routing, HubSpot for records, Slack for dispatch, and Smartlead paused for proof.
Each part can swap. Apollo can swap to Clay. Pipeline can swap to another CRM. Scorer and Slack hardening stay the same.
https://www.loom.com/share/169a2f7969f341288ce2e619f10b8f09
| Tool | Role |
|---|---|
| Tally | Form that posts to n8n |
| Apollo | Enriches the domain with firmographics at 1 credit per org |
| n8n | Scores, routes, writes to HubSpot, posts to Slack, handles callbacks in one workflow with 49 nodes |
| HubSpot | Stores Contact and Company and Deal with score and territory |
| Slack | Card with two buttons, HMAC signed for IDOR guard |
| Smartlead | Paused campaign to show enrollment without sending |
graph LR
A[Tally<br/>Form Submit] --> B[Apollo<br/>Enrich Domain<br/>1 credit]
B --> C[n8n<br/>Normalize]
C --> D[n8n<br/>Score 0 to 100<br/>and Territory]
D --> E[HubSpot<br/>Company by domain<br/>Contact by email]
E --> F[HubSpot<br/>Deal in Pipeline<br/>with score]
F --> G[HubSpot<br/>Associate<br/>all three]
G --> H[Slack<br/>Block Kit Card<br/>Auto Enroll / Disqualify]
H --> I{Callback<br/>HMAC verify}
I -->|valid and Auto Enroll| J[HubSpot<br/>qualified<br/>+ Smartlead Paused]
I -->|valid and Disqualify| K[HubSpot<br/>closed lost]
I -->|invalid| L[Ignore]
style A fill:#111111,stroke:#111111,color:#ffffff
style B fill:#111111,stroke:#111111,color:#ffffff
style C fill:#111111,stroke:#111111,color:#ffffff
style D fill:#111111,stroke:#111111,color:#ffffff
style E fill:#111111,stroke:#111111,color:#ffffff
style F fill:#111111,stroke:#111111,color:#ffffff
style G fill:#111111,stroke:#111111,color:#ffffff
style H fill:#111111,stroke:#111111,color:#ffffff
style J fill:#111111,stroke:#111111,color:#ffffff
style K fill:#333333,stroke:#333333,color:#ffffff
style L fill:#333333,stroke:#333333,color:#ffffff
Capture inbound in seconds and enrich the domain so scoring has firmographics. No invented field names. Fixtures are source of truth.
| Step | What happens | Detail |
|---|---|---|
| 1 | Tally posts to webhook | Form with 6 fields. Tally wraps fields as data.fields array with key, label, type, value. Not flat. Workflow unwraps the array. Flat assumption fails, caught when webhook was logged |
| 2 | Apollo enriches the domain | Organization enrichment with firmographics: industry, size, location, tech stack, revenue signals. Free tier covers about 10k per month. If Apollo returns nothing, scoring uses form data alone and Deal is still created |
| 3 | Normalize | Code node merges unwrapped Tally fields and Apollo firmographics into one enriched lead. Fixtures hold real shapes so code never invents field names |
Enriched lead object with firmographics and contact in about 10 seconds. Apollo shapes captured, code never invents field names.

6-field Tally form — posts to n8n webhook, fields wrapped as data.fields