To add AI to HubSpot, let a HubSpot event start an n8n workflow, send only the fields needed to a language model, validate the result, pass risky output to a person, then write the approved result back to HubSpot. HubSpot stays the system of record, n8n orchestrates and the model drafts or classifies. Nothing in this design runs unattended where a mistake would reach a customer.
This page covers the HubSpot integration only. For the wider build order, read CRM automation for B2B sales teams in Thailand, and if you have not chosen a CRM, start with HubSpot vs Pipedrive for automation.
How data flows between HubSpot, n8n and the model
The flow has five stages, and personal data crosses a vendor boundary at each hand-off.

Reading the diagram from left to right, decide what crosses each boundary before you build.
| Stage | Example objects and data | Who controls it |
|---|---|---|
| HubSpot trigger | Contact, company or deal property change | You, through HubSpot permissions |
| n8n workflow | Credentials, execution logs and retries | You or your agency on n8n Cloud or your own server |
| Model service | Minimised fields and the prompt | The model vendor, under its terms and your account settings |
| Approval | Draft, reason and reviewer's decision | A named person on your team |
| HubSpot writeback | Custom properties, notes and tasks | You, through the integration's permissions |
Treat vendor claims separately, because they cover different products:
- n8n: n8n says it aligns its security program to SOC 2, and that its Cloud runs on Microsoft Azure with data currently hosted in the EU. Self-hosters handle TLS and encryption at rest themselves (n8n security, checked 6 Nov 2026).
- Anthropic API: by default, commercial inputs and outputs are not used for training, except for feedback you submit or where you opt in (Anthropic training policy, checked 6 Nov 2026). Anthropic's published policy for the API sets a 30-day limit on standard deletion, with exceptions (retention policy, checked 6 Nov 2026).
Neither statement covers the other vendor, your n8n logs or your HubSpot portal.
Which HubSpot tier each function needs
Automation and scoring limits depend on your Sales Hub tier, so confirm your tier before you scope any workflow.
| Function | Starter | Professional | Enterprise |
|---|---|---|---|
| Workflows | Up to 50, with restricted triggers and actions | Up to 300, fully customizable | Up to 1,000 |
| HubSpot Credits included | 500 | 3,000 | 5,000 |
| Lead scoring | Not included | Included | Included |
| Onboarding fee, one-time | None listed | $1,500, required | $3,500, required |
Sources: HubSpot Sales Hub pricing and HubSpot lead scoring, checked 6 Nov 2026. Prices are in USD before applicable tax. Contact-based scores require Marketing Hub and deal-based scores require Sales Hub, at Professional or Enterprise.
Confirm these on HubSpot's feature table before you commit, because they were not verified for this article: sequences, document tracking, Thai interface support and which tier allows the private app or webhook access your workflow needs.
Six workflows worth building
Build these one at a time, starting with the workflow that has the clearest owner and measure.
1. Lead enrichment
Enrichment fills in company data so a rep can assess a new contact quickly, using only sources you can justify.
- A new contact in HubSpot triggers n8n.
- n8n requests company size and industry from your enrichment provider.
- n8n writes the result to HubSpot with its source and date.
Check HubSpot's own option first. Its data enrichment page says enrichment does not consume HubSpot Credits, while Smart properties do (checked 6 Nov 2026). Clearbit's site says Clearbit has joined HubSpot, and several of its free tools were scheduled to sunset in 2025 (checked 6 Nov 2026), so check current availability before designing around any Clearbit product. Apollo lists plans with pooled credits that do not roll over (checked 6 Nov 2026); get its current price from Apollo.
Do not have a model or script read LinkedIn profiles. LinkedIn does not allow third-party software that scrapes or automates activity on its site (LinkedIn Help, checked 6 Nov 2026). See LinkedIn's rules on third-party automation.
2. Lead scoring
Use rules-based scoring first, and call a score predictive only after you have validated it on historical data.
| Approach | How it works | What it needs |
|---|---|---|
| Rules-based | Adds points for attributes and actions you choose | Agreed rules, and HubSpot Professional or Enterprise if run natively |
| Model-assisted | A model classifies free text, such as a form answer, into your rule categories | Validation of allowed outputs and a review sample |
| Predictive | A model estimates likelihood from past outcomes | Validated historical data, tests for false positives and false negatives, and monitoring |
To validate a score, take past leads with known outcomes, score them without showing the outcome, then compare the groups. If high scores do not win more often than low scores, the score should not route leads. Treat email opens as a weak signal, since they do not show who read the message or why.
3. Personalised email drafts
A model drafts an opening line from approved inputs, and a rep approves it before HubSpot sends the email. Approved inputs include the contact's enquiry, their company's public website and your HubSpot history. Require the model to return "no line" when it has no verifiable detail, because an invented detail about a prospect's company costs trust. Measure reply rates against your own control group before you assume any uplift.
4. LINE and HubSpot sync
Reps send a structured note to your LINE OA, n8n updates the deal, and HubSpot stage changes send an alert to the rep.
- A rep sends a note such as
MeetingBooked | Company | Date | Stage. - The webhook reaches n8n, which verifies the signature.
- n8n parses the note and rejects any format it cannot read.
- n8n updates the deal and logs an activity.
- n8n confirms in LINE using the reply token.
Reply messages do not count toward your plan's limit, while push alerts do, per recipient (LINE message counting, checked 6 Nov 2026). Conversations in personal LINE accounts stay outside this flow unless a rep records them. Before building, check HubSpot's marketplace for a current LINE connector.
5. Proposal follow-up
The trigger is proposal activity, and the action is a task or draft for the rep, not an automatic message.
| Signal | Action |
|---|---|
| Opened, no response after 2 days | Draft a follow-up for rep approval |
| Opened several times | Alert the rep with the document name and contact |
| Not opened after 5 days | Create a task to check the address and try another route |
These timings are examples. Document tracking depends on your HubSpot tier, and repeat opens may come from forwarding within the buyer's team.
6. Win and loss analysis
A model groups the reasons recorded across closed deals, and a manager interprets the results.
- A deal closing as won or lost triggers n8n.
- n8n collects the deal's notes and activities, with personal details removed where possible.
- The model extracts objections and stages into a fixed format.
- The workflow adds the row to a report.
- A manager reviews the monthly summary and corrects miscategorised rows.
A few deals cannot show a pattern, so report the number of deals beside every conclusion.
What personal data rules apply
Each activity here, from enrichment to scoring and tracking, needs its own documented lawful basis under Thailand's PDPA. Consent is one basis among several. Legitimate interest under Section 24(5) is conditional and needs a balancing assessment, and people can object under Section 32, including to direct marketing.
Build these controls into the integration:
- Provenance: store the source and date of each enriched field, because Section 25 covers data collected from other sources.
- Minimisation: send the model only the fields the task needs.
- Notice: tell people what you collect and why, as Section 23 requires.
- Objection: route objections to a suppression list that every workflow checks.
- Retention: set how long you keep logs and prompts, on both HubSpot and n8n.
Section references come from an unofficial English translation of the Act, checked 6 Nov 2026. This is general information, not legal advice, so take advice from a qualified Thai practitioner.
What the stack costs
Cost depends on tier, seats, volume and billing cycle, so each tool is billed in its own unit. We have not converted currencies, because no exchange rate was verified for this page.
| Tool | Billing unit | Checked price | Source, checked 6 Nov 2026 |
|---|---|---|---|
| HubSpot Sales Hub Professional | Per seat, monthly | $90 billed annually or $100 billed monthly, plus $1,500 onboarding | HubSpot guide |
| HubSpot Sales Hub Starter | Per seat, monthly | Conflicting figures on HubSpot's pages, so read the current price at signup | HubSpot pricing |
| n8n Cloud Starter | Monthly executions | 20€ a month billed annually, for 2.5K executions | n8n pricing |
| n8n Cloud Pro | Monthly executions | 50€ a month billed annually, for 10K executions | n8n pricing |
| LINE OA Basic, Thailand | Monthly package | THB 1,280 before 7% VAT, for 15,000 messages | LINE packages |
| Model API | Tokens used | Usage-based, so calculate it from the formula below | Your vendor's price list |
| Enrichment provider | Credits or seats | Read the current plan from the vendor | Vendor pricing page |
For model cost, use this formula: runs per month × (input tokens × input price + output tokens × output price). Run a sample of real records to measure your tokens, and do not estimate from a word count alone.
For the wider method, including services fees, see what an AI automation agency costs. If your concern is whether the spend is justified at all, the cost comparison of manual and automated CRM gives you a model to fill in.
How to deploy the integration
Start by auditing your HubSpot properties and picking one workflow, then follow this order:
- Audit your HubSpot properties, tier and existing workflows.
- Choose the one workflow with the clearest owner and measure.
- Create the integration with only the HubSpot permissions it needs.
- Test in a sandbox or on test records, including invalid model output and API failures.
- Run with human approval on every output.
- Review a sample, and remove an approval step only when a named owner accepts the risk.
For the n8n recipes behind these steps, see how to automate a sales pipeline in n8n. For the concept and its limits, read what CRM automation can and cannot do.
Frequently asked questions
Do I need a paid HubSpot plan?
It depends on the workflow. Native lead scoring needs Professional or Enterprise, and Starter's workflows have restricted triggers and actions, as the table above shows. Map each workflow to its required feature before choosing a tier.
Can this work with Pipedrive or Salesforce?
Yes, the logic carries over to any CRM with a suitable API, though the triggers and fields differ. Compare limits before you assume a like-for-like build.
How do we get help building this?
Review what's included in our AI and CRM automation services or, if the integration supports outbound prospecting, our B2B lead generation services. To discuss your HubSpot setup, send us your details.