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

# Create Note

> Documentation for the Create Note action for Hubspot

![images/hubspot.svg](https://mintcdn.com/morfhealth/EU2WCxuXGIUQcziR/images/hubspot.svg?fit=max\&auto=format\&n=EU2WCxuXGIUQcziR\&q=85\&s=2c859a5e64b7620515d906bc05e45339)

# Parameters

**Action** `Parameters`

**parameters**

**Timestamp** `timing.v1.Timestamp`

This field maps to the destination API `hs_timestamp` field.

**Note** `string` *required*

`HI` `ID` `PII`
This field maps to the destination API `hs_note_body` field.

**Hubspot Defined Contact Associations** `[]string`

This field maps to the destination API `associations` field.

**Hubspot Defined Deal Associations** `[]string`

This field maps to the destination API `associations` field.

**Attachments** `[]File`

This field maps to the destination API `hs_attachment_ids` field.

```json Result Object Example theme={null}
{
  "$result_object_key": {
    "archived": false,
    "archived_at": "2024-07-04T10:32:12+00:00",
    "created_at": "2024-07-04T10:32:12+00:00",
    "id": "2970281109",
    "properties": {
      "hs_attachment_ids": "123456;78910;45678",
      "hs_note_body": "Note body",
      "hs_timestamp": "2024-07-04T10:32:12+00:00",
      "hubspot_owner_id": "2970281109"
    },
    "updated_at": "2024-07-04T10:32:12+00:00"
  }
}
```

```json Result Object Description theme={null}
{
  "$result_object_key": {
    "archived": "Whether the note was archived",
    "archived_at": "When the note was archived",
    "created_at": "When the note was created",
    "id": "ID",
    "properties": {
      "key": null,
      "value": null
    },
    "updated_at": "When the note was updated"
  }
}
```

### Result Object Field Details

You can use the result of the action's data as inputs to downstream workflow actions.

Each fetch action requires an object name, which nests the action's result data inside the downstream data context in the workflow. See [Passing Data Between Actions](https://docs.morf.health/docs/knowledge_base/passing_data_between_actions.md) for how to set it and reference the result from downstream nodes.

Here we demonstrate how to refer to this data using the prefix `$result_object_key`.

**Note** `Fetch Action Response Object`

**fields**

**id** `string` *required*

ID

```json CEL theme={null}
$result_object_key.id
```

```json Example theme={null}
"2970281109"
```

**properties** `Map\<string,string\>` *required*

Note properties

```json CEL theme={null}
$result_object_key.properties
```

```json Example theme={null}
{
"hs_attachment_ids": "123456;78910;45678",
"hs_note_body": "Note body",
"hs_timestamp": "2024-07-04T10:32:12+00:00",
"hubspot_owner_id": "2970281109"
}
```

**archived** `bool` *required*

Whether the note was archived

```json CEL theme={null}
$result_object_key.archived
```

```json Example theme={null}
false
```

**archived\_at** `timing.v1.Timestamp`

When the note was archived

```json CEL theme={null}
$result_object_key.archived_at
```

```json Example theme={null}
"2024-07-04T10:32:12+00:00"
```

**created\_at** `timing.v1.Timestamp` *required*

When the note was created

```json CEL theme={null}
$result_object_key.created_at
```

```json Example theme={null}
"2024-07-04T10:32:12+00:00"
```

**updated\_at** `timing.v1.Timestamp` *required*

When the note was updated

```json CEL theme={null}
$result_object_key.updated_at
```

```json Example theme={null}
"2024-07-04T10:32:12+00:00"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.