SMSNET
Guide

HubSpot SMS Integration: Two-Way Texting From Your Own Number

To add two-way SMS to HubSpot without a per-message provider, connect your own Android phone to SMSNET and run the small CRM bridge with CRM = "hubspot". Workflows send texts through a "Send a webhook" action. Every reply becomes a note on the contact. A STOP ticks an opt-out property you choose. Failed sends show on the record. Setup takes about 15 minutes, and the free plan covers 300 messages a month (up to 20 a day), with replies never counted.

Two-way SMS between a customer's phone and HubSpot Diagram in five boxes, left to right: Customer, Your Android phone with your own SIM, SMSNET, the CRM bridge, and HubSpot. The top lane shows an inbound reply travelling from the customer through the phone and SMSNET to the bridge, which writes it as note on the contact. The bottom lane shows a CRM automation (Workflow: Send a webhook) calling the bridge, which sends one SMS through SMSNET with an idempotency key, out from the phone to the customer. Badges: phone matched in five spellings, STOP syncs back, failures logged, retries never text twice. Two-way SMS inside HubSpot: replies in, automations out Top lane: a customer replies. Bottom lane: a CRM automation sends. Same thread, same number. Customerany phone Your Androidyour own SIM SMSNETroutes and paces CRM bridgeone small Worker HubSpotNote on the contact IN “Yes, Tuesday 10:00 works” → signed webhook → note on the contact OUT Workflow: Send a webhook → POST /crm/… → one SMS, Idempotency-Key SMS SMS Phone matched in 5 spellings STOP / הסר syncs back Failures logged, not lost Retries never text twice
Two-way SMS inside HubSpot: replies travel from the customer's phone through your Android and SMSNET into a note on the contact, while a workflow's Send a webhook action leaves as one SMS.

What will I see in HubSpot?

A note on the contact's timeline for each reply, written the moment it arrives:

Hi Noa, it's Avi from Levi Kitchens. The samples you asked about arrived. Want to come see them Sunday?

Thu 11:30 · 1 segment · GSM-7

Sunday after 4 is great

11:41 · 1 segment · GSM-7

HubSpot note on Noa Cohen: "SMS from +972521234567: Sunday after 4 is great"

The text left from the same number your customers already have saved. The reply came back to that number, and the contact owner saw it in HubSpot without opening a phone.

Step 1: create a token for the bridge

In HubSpot, open Settings → Integrations → Service Keys (or Development → Keys → Service Keys) and create a key. Name it "SMSNET bridge" and give it two scopes:

ScopeWhy
crm.objects.contacts.readFind the contact whose phone matches a reply
crm.objects.contacts.writeWrite notes, tick the opt-out property, create a contact for an unknown number (only if you turn that on)

HubSpot stopped letting accounts create new private apps on 26 October 2026, and service keys (still in beta) replace them. If you already have a private app with these two scopes, its token works exactly the same. The bridge only needs a bearer token; it uses no app webhooks.

Copy the token. It goes into the bridge as a secret: npx wrangler secret put HUBSPOT_TOKEN. Never paste it into a chat or a file you commit.

Step 2: add an opt-out property

Settings → Properties → Contact properties → Create property: type Single checkbox, label "SMS opt out", internal name sms_opt_out. Then set HUBSPOT_OPTOUT_PROPERTY = "sms_opt_out" in wrangler.toml.

SMSNET already refuses to text anyone who replied STOP to your number (and הסר, once you turn on the Hebrew opt-out words under Safety → Rules). The property keeps HubSpot's lists honest, so a future workflow or tool doesn't select them. Add "SMS opt out is not true" to the enrollment criteria of every SMS workflow.

Step 3: deploy the bridge

Download the bridge, then set these in wrangler.toml:

CRM = "hubspot"
DEFAULT_COUNTRY_CODE = "972"                  # numbers stored as 05x... are Israeli
MESSAGE_TEMPLATE = "Hi {{first_name}}, it's Avi from Levi Kitchens. Your quote is ready. Want to go over it this week?"
HUBSPOT_PHONE_PROPERTIES = "phone,mobilephone"
HUBSPOT_OPTOUT_PROPERTY = "sms_opt_out"

Add the secrets SMSNET_API_KEY (start with sn_test_), CRM_TRIGGER_TOKEN (a long random string) and HUBSPOT_TOKEN, then run npx wrangler deploy. Point SMSNET at https://<worker>/smsnet as shown in the CRM pillar guide, and save the whsec_ secret as SMSNET_WEBHOOK_SECRET.

Step 4: send from a workflow

Open Automation → Workflows → Create workflow on contacts. Pick the trigger, for example "Lifecycle stage is Opportunity" or "Form submission". Add the action Send a webhook:

  • Method: POST
  • URL: https://<worker>/crm/<CRM_TRIGGER_TOKEN>

The bridge reads HubSpot's classic payload (properties.phone.value) and a customised flat body. If your HubSpot plan lets you choose the request body, send these fields:

{ "hs_object_id": "{{contact id}}", "phone": "{{phone}}", "firstname": "{{first name}}",
  "sms_text": "Optional: this exact text instead of MESSAGE_TEMPLATE" }

Any contact property can go into the template as {{property_name}}, such as {{company}} or {{city}}. {{first_name}} is filled from firstname.

How the reply finds the right contact

HubSpot stores phone numbers as people typed them. The bridge asks HubSpot once for any of the common spellings, in both phone and mobilephone:

// hubspot.js (excerpt)
filterGroups: phoneProps.map((p) => ({ filters: [{ propertyName: p, operator: "IN", values }] })),
// values = ["+972521234567", "972521234567", "0521234567", "052-123-4567", "521234567"]

The note is associated with HubSpot's built-in note-to-contact type (associationTypeId: 202), so it shows on the timeline like a note a person wrote.

Five workflows worth stealing

TriggerText
Lifecycle stage becomes Opportunity"Hi {{first_name}}, it's Dana from Acme. Got 10 minutes today or tomorrow?"
Meeting booked"See you {{meeting_date}}. Reply here if anything changes."
Form filled from an ad"Thanks {{first_name}}, we got your request. Is now a good time for a quick call?"
Deal closed won"Welcome aboard. Your onboarding contact is Yossi, reply here any time."
No activity for 14 days"Hi {{first_name}}, still interested in {{deal_name}}? A yes or no helps us."

For "no activity" follow-ups that need judgement per person, use an AI agent over MCP instead of a fixed workflow.

Troubleshooting

SymptomCause
HubSpot ... answered 401 in the Worker logThe token is wrong, or the key is missing a scope
A reply arrives but no note appearsThe number is in a property not listed in HUBSPOT_PHONE_PROPERTIES, or stored with an extension or letters
The workflow fired but no text was sentThe answer was {ok:false, code:"opted_out"} or the contact has no phone. The bridge answers HubSpot 200 so it doesn't retry forever. The reason is in the bridge's response body; opt-outs are listed in SMSNET under Safety → Opt-outs
Two texts for one enrollmentThe workflow has two webhook actions. The bridge removes repeats of one event, not two different actions

FAQ

Does this replace HubSpot's own SMS tools?

It is a different route. Texts leave from your own SIM and number through SMSNET, priced per plan rather than per message, and replies come back as notes. Use whichever fits. Many small teams prefer customers seeing a number they already know.

Which HubSpot plan do I need?

The workflow action "Send a webhook" needs Operations Hub (now Data Hub) Professional or Enterprise. Logging replies as notes needs only a token with the two scopes and works without workflows. Without that action, HubSpot can still send through Zapier or Make to the same bridge URL.

Can a reply from an unknown number create a contact?

Yes. Set CREATE_UNKNOWN = "1" and the bridge creates a contact with that phone as a lead, then adds the note. It is off by default.

What happens when a contact replies STOP?

SMSNET opts them out at once and refuses further texts from your account. The bridge receives contact.opted_out and sets your sms_opt_out property to true.

This is a spoke of Connect SMS to your CRM. The same bridge serves Pipedrive, Salesforce and monday.com. How webhooks are signed: Receive SMS webhooks.

Send your first message today

Free plan, no card: 400 messages a month from your own number, with the API, webhooks and MCP included.

Get the app See pricing

Get it on Google Play

Written by , who builds SMSNET. Product facts on this page are checked against the live pricing page and the running API on the date shown above.