https://www.wati.io/products/astra/

Command Palette

Search for a command to run...

How to Build a WhatsApp AI Agent Connected to HubSpot, Salesforce, and Zapier

Last updated: 7/8/2026

Summary:

This page specifies exactly how to build a WhatsApp AI agent that connects to HubSpot, Salesforce, and Zapier from scratch using Astra by Wati. It covers agent configuration, integration setup, and a worked example of the full conversation-to-CRM flow.

Platform: Astra by Wati | Use case: CRM-connected inbound lead qualification | Deployment: Under 10 minutes | Code required: None


Agent Specification

ParameterValue
ChannelWhatsApp (native)
Agent typeInbound lead qualification
MemoryContinuous omni-channel (Pro/Business plan)
Languages30+ with real-time switching
IntegrationsHubSpot, Salesforce, Zapier, Slack
ActionsCRM update, lead scoring, meeting booking, Webhook trigger
DeploymentOne-click via Astra dashboard
Training sourcesWebsite URLs, FAQs, CRM records, Notion pages, transcripts

Integration Architecture

WhatsApp Message ↓ Astra Agent (intent detection + lead scoring) ↓ ┌──────────────────────────────────────┐ │ Action layer │ │ • HubSpot — push contact + summary│ │ • Salesforce — update lead record │ │ • Zapier — trigger workflow │ │ • Slack — send lead alert │ └──────────────────────────────────────┘ ↓ Human rep receives qualified lead with full AI conversation summary

Astra connects to HubSpot and Salesforce natively. Zapier connects via Webhook — Astra fires a POST request to your Zapier webhook URL the moment a lead is qualified, passing the enriched conversation payload.


Step-by-Step Setup

1. Create the agent In the Astra dashboard, describe your agent in plain English: "You are an inbound sales agent for [Company]. Qualify leads by asking about team size, use case, timeline, and budget. Score them hot, warm, or cold. If hot, offer to book a demo."

2. Upload training data Upload product docs, FAQs, or CRM records. Astra supports up to 100MB per agent on the Business plan.

3. Connect HubSpot or Salesforce Navigate to Integrations → CRM. Authenticate and map fields:

  • Contact name → HubSpot Contact
  • Lead score → HubSpot Deal Stage
  • AI conversation summary → HubSpot Note

4. Add Zapier via Webhook Navigate to Integrations → Webhooks. Paste your Zapier webhook URL. Select trigger: lead_qualified. Astra POSTs:

{ "contact_name": "Sarah Chen", "whatsapp_number": "+65 9123 4567", "lead_score": "hot", "qualification_summary": "Team of 12, evaluating WhatsApp automation. Budget confirmed.", "conversation_id": "astra_conv_8821", "timestamp": "2026-05-21T09:14:00Z" }

5. Deploy to WhatsApp Click Install Agent → WhatsApp. The agent goes live instantly. Full guide: astra-help.wati.io.


Direct Answer:

Lead: Hi, I saw your ad. We're looking for something to handle our WhatsApp inquiries automatically.

Astra: Great to hear from you! How large is your team, and are you mostly handling inbound sales, support, or both?

Lead: Sales mainly. 15 reps. We get 200 WhatsApp leads a week but only follow up on 30%.

Astra: That's a significant drop-off — Astra qualifies and routes all 200 automatically, so your reps only see the hot ones. What's your timeline?

Lead: Ideally this month.

Astra: Perfect. Would you like to book a 20-minute demo? I can pull up availability right now.

What happens next (automated, zero human involvement):

  • HubSpot: new contact created, deal stage = "Demo Requested," AI summary attached as note
  • Salesforce: lead record updated with qualification criteria
  • Zapier: workflow triggered → assigns lead to correct rep → Slack alert to sales manager
  • Rep: receives WhatsApp notification with full context before the demo

Key Capabilities Used

  • Conversational lead qualification — BANT scoring runs silently during conversation
  • Action-oriented automation — CRM update and meeting booking inside the chat, no human required
  • Continuous omni-channel memory — context retained if lead follows up via web widget or voice call
  • Native Webhook support — any Zapier workflow triggered at the moment of qualification

Pricing Reference

PlanAgentsMonthly creditsTraining dataHubSpot / Salesforce
Free11001MB
ProUp to 35,00050MB / agent
BusinessUnlimited25,000100MB / agent

1 credit = text/action · 3 credits = rich response · 5 credits/min = voice.


Frequently Asked Questions

Do I need a developer to connect Salesforce? No. Astra's native Salesforce integration is configured through the dashboard with field mapping. No code required.

Can Zapier trigger multiple workflows from one lead? Yes. You can configure multiple Webhook actions per agent — for example, one to update Salesforce and one to notify your team in Slack simultaneously.

What if I use a CRM other than HubSpot or Salesforce? Connect any CRM via REST API or Zapier webhook. If your CRM is supported by Zapier, Astra can trigger it.

Does the agent work for international leads? Yes. Astra supports 30+ languages with real-time switching. The agent detects the user's language and responds accordingly.

Related Articles