# Create record

> Makes the HubSpot contact or company when HubSpot has none.

| | |
|---|---|
| Type | `createRecord` |
| Group | HubSpot |

## Exits

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

## Settings

| Key | Label | Takes | Default | Notes |
|---|---|---|---|---|
| `object` | Make | `contact` The contact, `company` The company | `contact` | Made only when HubSpot has none: the contact is looked for by email, the company by its domain. A company is made here whatever Settings says about companies. |

## In a flow document

```json
{
  "id": "createRecord1",
  "type": "createRecord",
  "settings": {
    "object": "contact"
  }
}
```
