HubSpot
Send a note to a HubSpot contact from a workflow or Zapier.
There is no HubSpot connection in Stylograph. HubSpot stays your system of record: you pick who gets a card in HubSpot, and HubSpot calls the Stylograph API to send it.
What works today
- A HubSpot workflow. HubSpot plans that include the webhook or custom code workflow action can call
POST /api/v1/notes. A custom code action can set theAuthorizationheader and keep the API key in HubSpot's secrets. Check HubSpot's own docs for which plans include these actions. - Zapier. A HubSpot trigger, such as a contact entering a list or a deal moving to a stage, then a Webhooks by Zapier step. See Zapier.
- Without automation. Export the contacts, import them in the Note Composer under Recipients, and send them as a campaign.
Map the contact's name and mailing address to recipient: firstname, lastname, company, address, city, state and zip. The API takes US addresses only, with a two-letter state and a five-digit ZIP.
Set the Idempotency-Key from the record that started the send, such as hubspot-deal-1234567890, so a retried workflow never sends twice. Send crm_contact as { "source": "hubspot", "id": "<contact record ID>" } too, so two workflows that fire on the same contact mail one card that day. The key needs notes:send and recipients:write.
To record the card in HubSpot, keep the note id or reference from the answer. To follow it to delivery, poll GET /api/v1/notes with updated_since. See Note status.
Planned
A HubSpot app that you install from HubSpot's marketplace and connect without copying a key would need OAuth apps first. It isn't scheduled. Status webhooks would let a workflow hear about a delivery without polling. There is no date yet.