SendFAXMail
Developer integration · Business & Enterprise plans

Fax From HubSpot Workflows — Using a Webhook Action and Our API

HubSpot's workflow engine can already call an external service, so faxing from HubSpot does not need a marketplace app from us — and we do not list one. When a deal moves stage or a form is submitted, a HubSpot workflow can trigger a webhook action or a custom-code action that POSTs a document to our REST API. That turns a CRM event into a fax without any middleware, using building blocks HubSpot ships in Operations Hub.

Encrypted in transit (TLS)
HIPAA BAA included
US-based fax numbers
No activation fees
No contracts
7-day free trial

Plan requirement

Faxing from HubSpot depends on our REST API and webhooks, which are part of the Business ($79.99/mo) and Enterprise ($169.99/mo) plans; a key on a lower plan is refused with a 403. On the HubSpot side, the webhook action needs a paid HubSpot tier that includes workflows (custom-code actions require Operations Hub Professional or above) — that is a HubSpot requirement, not ours.

How it works

A HubSpot workflow enrolls a record on some trigger — a deal reaching a stage, a ticket closing, a form submission — and then runs an action. The webhook action sends the enrollment payload to a URL you choose; point it at a tiny relay that adds your bearer key and reshapes the payload into a /v1/faxes call. If you have Operations Hub, the custom-code action skips the relay: it runs your JavaScript or Python inline, so it can read the record's document link and POST directly to our API. Either way you pass the recipient number and a document_url, and you can write the returned fax id back onto the HubSpot record with a property-update action.

What you can do

  • Trigger a fax when a HubSpot deal, ticket, or form event fires a workflow
  • Use the workflow webhook action to hand the event to a relay that calls our API
  • Or use an Operations Hub custom-code action to POST to /v1/faxes directly
  • Pass a document_url so the file is fetched instead of encoded in the workflow
  • Write the fax id back to a HubSpot property for reporting
  • Register a webhook so fax.delivered updates the record automatically

Setup steps

  1. 1Put the Send FAX Mail account on Business or Enterprise and create a key at /dashboard/developers
  2. 2In HubSpot, build a workflow with the trigger that should send a fax
  3. 3Add a webhook action to a relay, or a custom-code action if you have Operations Hub
  4. 4Have that action POST the recipient number and a document_url to /v1/faxes
  5. 5Capture the fax id and store it with a property-update action
  6. 6Register a webhook endpoint and subscribe it to fax.delivered and fax.failed

Example

// HubSpot Operations Hub custom-code action (Node)
const res = await fetch("https://www.sendfaxmail.com/v1/faxes", {
  method: "POST",
  headers: {
    Authorization: "Bearer sfm_live_xxxxxxxx",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    to: event.inputFields.faxNumber,
    document_url: event.inputFields.documentUrl,
  }),
});

HubSpot Fax — FAQ

No. We have no marketplace listing, and we will not suggest one exists. Faxing from HubSpot uses HubSpot's own workflow actions — a webhook action or an Operations Hub custom-code action — pointed at our REST API. The wiring lives in your workflow, not in an installed integration.

Not strictly. The plain webhook action works on any HubSpot tier that includes workflows: it posts the event to a small relay you host, and the relay makes the authenticated call to /v1/faxes. Operations Hub only matters if you want the custom-code action to call our API inline and skip the relay entirely.

From a link the workflow can read — a file attached to the record, a stored document URL property, or a public share link. Put that address in the document_url field so our server fetches it. If the file is not publicly reachable, have your relay download and re-post it as inline base64.

Register a webhook endpoint and subscribe it to fax.delivered and fax.failed, then update a HubSpot property from the incoming event. A rep looking at the deal sees the fax status on the record without leaving HubSpot, because the status flows back through the same API you sent with.

Build with the HubSpot Fax

API access and webhooks are included on the Business and Enterprise plans. Create a key at /dashboard/developers and start sending.

7-day free trial · No credit card required