# Update record

> Sets properties on the HubSpot contact, its company, or the deal this flow created.

| | |
|---|---|
| Type | `updateRecord` |
| Group | HubSpot |

## Exits

| Exit | Name |
|---|---|
| `next` | Next |

## Settings

| Key | Label | Takes | Default | Notes |
|---|---|---|---|---|
| `object` | Record | `contactAndCompany` The contact and its company, `contact` The contact, `company` The company, `deal` The deal this flow created | `contactAndCompany` |  |
| `set` | Properties to set | An array of objects, each {"property": a HubSpot property's name, "value": a string}. Property names come from list_hubspot with what = properties. |  | A value may hold a field in &#123;&#123;braces}}. May hold fields in braces. |

## In a flow document

```json
{
  "id": "updateRecord1",
  "type": "updateRecord",
  "settings": {
    "object": "contactAndCompany"
  }
}
```
