> ## Documentation Index
> Fetch the complete documentation index at: https://clearskies.cc/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Write to HubSpot from a workflow

> Create and update HubSpot records as workflow steps — so a workflow keeps your CRM current instead of just reading from it.

A workflow can write back to HubSpot, not just read it. Two action steps do this:

* **Create HubSpot record** — makes a new record, setting the properties you specify.
* **Update HubSpot record** — sets a property on an existing record.

Both work on the same three object types: **account**, **contact**, and **deal**.

## How to use it

**Create a record**

1. Add a **Create HubSpot record** step.
2. Choose the **object** — account, contact, or deal.
3. Set at least one **property** on the new record. Each value can be typed in or pulled from an earlier step with a `{{variable}}`.

**Update a record**

1. Add an **Update HubSpot record** step.
2. Point it at the **record** to update, using its HubSpot record id from an earlier step — for example, the account on the meeting or a record you looked up.
3. Choose the **property** and the **value** to write.

## Good to know

* Writing to HubSpot requires a connected HubSpot integration with write access for your workspace.
* Each step acts on **one record per run**. To create or update many, place the step inside a [loop](/docs/workflows/loops) over a set of records.
* The id of a record you just created is available to later steps, so you can chain a follow-up — create a record, then update it — off what you made.
* You can require [human review](/docs/workflows/human-review) on a write, so a person approves before it commits.

## In practice

When a new contact turns up on a call, create the HubSpot contact from the meeting's attendee details, then update the associated deal's next-step property — automatically, so the CRM reflects the conversation without anyone re-keying it.

## Related

* [Write to Salesforce from a workflow](/docs/workflows/actions/write-to-salesforce) — the same idea for a Salesforce CRM
* [Find & filter records](/docs/workflows/find-and-filter-records) — pull the records a workflow should act on
* [Loops](/docs/workflows/loops) — write one record per item in a set

Questions? We're here to help at [support@clearskies.cc](mailto:support@clearskies.cc)
