QuvanticBook free audit

ZapierChecked blueprint6 nodes

Qualify a sales chat and log it in HubSpot

Read a new Intercom sales conversation with AI, pull out company, role, budget, and timeline, score it, and save a qualified contact in HubSpot.

Portfolio reference build with demo data and placeholder credentials, not a client deployment.

Pain

Stops reps from manually copying web forms, guessing lead quality, and researching prospects before calling. Bad fits get filtered; hot buyers land with a full brief.

Solution

Read a new Intercom sales conversation with AI, pull out company, role, budget, and timeline, score it, and save a qualified contact in HubSpot.

Impact · From the blueprint

About 5 minutes per sales chat of reading and note-taking, plus shorter first calls.

Library status: passing. Schema, field mapping, task count, and Code-step unit tests pass. Not built in a live Zapier account.

Qualify a sales chat and log it in HubSpot step list
Step list

Step inspector

The first step shows the checked-in sample payload.Later steps name the node. They are not a live execution.

Guardrails

  • Filter by Zapier · Only continue if...

Credential ids in the JSON are placeholders. These files are portfolio demos.

Deploy this for your business

Tell us this slug and what still happens by hand. We will map it onto your accounts. This page is not a claim that the blueprint already runs for a customer.

README

Portfolio demo by Mustafa (mustafaautomation). Not client work. The people, companies, and numbers in it are made up. Rebuild it in your own Zapier account. Nothing here is connected to anyone's account.

Category: Lead gen and CRM
Difficulty: advanced
Apps: Intercom, AI by Zapier, Filter by Zapier, Code by Zapier, HubSpot, Slack
Zapier plan: Professional (multi-step Zap: 5 steps after the trigger; Filter by Zapier; AI by Zapier)
Tasks per run: 4
Test status: passing (schema, mapping scope, task count, Code step unit tests)

Problem

Sales chats are full of qualifying detail ("we are 40 people, need it before Q1, budget is around 10k") that never makes it into the CRM. Reps re-ask the same questions on the first call.

Who it's for

Teams that route sales conversations to an Intercom team inbox and keep their pipeline in HubSpot.

How the Zap runs

flowchart TD
  s1["1. Intercom: New Conversation<br/>New sales conversation"]
  s2["2. AI by Zapier<br/>Pull qualifying details from the chat"]
  s1 --> s2
  s3{{"3. Filter by Zapier<br/>Only real sales conversations"}}
  s2 --> s3
  s4["4. Code by Zapier<br/>Score the chat lead"]
  s3 -->|"passes"| s4
  s5["5. HubSpot<br/>Save the qualified contact"]
  s4 --> s5
  s6["6. Slack<br/>Post the summary to sales"]
  s5 --> s6

Build it in the Zapier editor

Zapier has no import file for a Zap like this one, so it is built by hand from the steps below. zap.json is the same Zap in a machine-readable form (schema), and zap.yaml is the same document in YAML.

A value like [2. vendor] means: click the field, open step 2 in the data picker, and choose vendor. Plain text is typed as shown. YOUR_... is a value from your own account.

Steps

1. Trigger: New sales conversation

App: Intercom · Event: New Conversation · polling (Zapier checks on your plan's update interval) · Tasks: 0

Fires for each new conversation assigned to the Sales team inbox.

FieldValue
TeamSales

Fields this library maps from the trigger: conversation_id, created_at, contact_name, contact_email, first_message, transcript, conversation_url. Zapier shows them with its own labels; pick the one with the same meaning.

2. Action: Pull qualifying details from the chat

App: AI by Zapier · Event: Analyze and Return Data · Tasks: 1

Turns a messy transcript into the fields the score needs. The prompt says to leave a field empty rather than guess.

FieldValue
ModelDefault (fast)
InstructionsYou are a sales assistant reading a website chat transcript. Return: company, job_title, company_size (a number or range like 11-50, empty if not said), budget (as written, empty if not said), timeline (as written), need_summary (one sentence in plain words), and is_sales_inquiry ("yes" if they want to buy or evaluate, "no" for support or job applications). Only use what the visitor actually said.
Input dataVisitor: [1. contact_name] <[1. contact_email]>

[1. transcript]
Output fieldscompany, job_title, company_size, budget, timeline, need_summary, is_sales_inquiry

Later steps can map: company, job_title, company_size, budget, timeline, need_summary, is_sales_inquiry.

3. Filter: Only real sales conversations

App: Filter by Zapier · Event: Only continue if... · Tasks: 0

Support questions and job applications that land in the sales inbox stop here. Most conversations in a sales inbox are sales.

Only continue if: [2. is_sales_inquiry] (Text) Exactly matches yes.

Most runs pass this filter.

4. Action: Score the chat lead

App: Code by Zapier · Event: Run JavaScript · Tasks: 1

Same scoring rules as the form templates, fed from the chat instead of form fields.

Paste the whole of code/score-lead.js into the code box. Source: content/code/score-lead.cjs. Unit tests: content/code/score-lead.test.cjs.

Input Data keyValue
email[1. contact_email]
company[2. company]
job_title[2. job_title]
company_size[2. company_size]
budget[2. budget]
timeline[2. timeline]
message[2. need_summary]

Returns: score, tier, reasons, is_work_email.

5. Action: Save the qualified contact

App: HubSpot · Event: Create or Update Contact · Tasks: 1

Everything the chat revealed is on the contact before the first call.

FieldValue
Email[1. contact_email]
First Name[1. contact_name]
Company Name[2. company]
Job Title[2. job_title]
Lead score (custom property lead_score)[4. score]
Lead tier (custom property lead_tier)[4. tier]
Chat summary (custom property)[2. need_summary]
Chat link (custom property)[1. conversation_url]

Later steps can map: id, profile_url.

6. Action: Post the summary to sales

App: Slack · Event: Send Channel Message · Tasks: 1

The rep reads one line instead of the whole transcript.

FieldValue
Channel#sales-chats
Message Text[4. tier] chat lead ([4. score]): [1. contact_name], [2. job_title] at [2. company]. "[2. need_summary]" Budget [2. budget], timeline [2. timeline]. [5. profile_url]
Send as a bot?Yes
Bot NameZap alerts
Include a link to this Zap?No

Later steps can map: ts, permalink.

Test it

Use sample-trigger.json as the test record. For an instant or webhook trigger, send it to the trigger once; for a polling trigger, create a matching record in the app and click Test trigger. Then test each step in order and read its output before you turn the Zap on.

{
  "conversation_id": "215467893012",
  "created_at": "2026-11-24T15:03:11Z",
  "contact_name": "Noah",
  "contact_email": "noah@initech.example",
  "first_message": "Hi, do you build Zapier automations for finance teams?",
  "transcript": "Noah: Hi, do you build Zapier automations for finance teams?\nAgent: We do. What are you trying to automate?\nNoah: Invoice intake. I run finance ops at Initech, we are about 40 people. Need something live before Q1, budget is around 10k.\nAgent: Thanks, I will pass this to the team.",
  "conversation_url": "https://app.intercom.example/a/inbox/EXAMPLE/conversation/215467893012"
}

Plan and task usage

StepAppTasks
1. New sales conversationIntercom0
2. Pull qualifying details from the chatAI by Zapier1
3. Only real sales conversationsFilter by Zapier0
4. Score the chat leadCode by Zapier1
5. Save the qualified contactHubSpot1
6. Post the summary to salesSlack1

A typical run uses 4 tasks. Zapier does not charge tasks for triggers, Filter, Paths, Formatter, Delay, Looping, Digest, Storage, or Zapier Tables steps. AI by Zapier is counted here as 1 task; Zapier prices it by model tier, so a larger model can cost more.

Minimum plan: Professional, because of: multi-step Zap: 5 steps after the trigger; Filter by Zapier; AI by Zapier. The Free plan only runs two-step Zaps (a trigger and one action) and leaves out Filters, Paths, Formatter, webhooks, AI by Zapier, and premium apps.

Customize

  • Ask the AI step for extra fields your sales team cares about, such as current tools, and map them to HubSpot properties.
  • Trigger on conversation close instead if chats usually run long; the transcript is then complete.

Limits

  • Intercom's New Conversation fires at the start of a chat, so the transcript may hold only the first messages. Long chats score low until you switch to a close-time trigger.
  • AI by Zapier can misread sarcasm or hypotheticals ("if we had 10k..."). The summary is a starting point for the rep.

Time saved

About 5 minutes per sales chat of reading and note-taking, plus shorter first calls.

Files

FileWhat it is
zap.jsonThe Zap, step by step, in schema 1.0.0.
zap.yamlThe same document in YAML.
sample-trigger.jsonFictional trigger record for the first test.
diagram.pngThe step list, drawn like the Zapier editor.
code/score-lead.jsPaste-ready Code by Zapier step.