> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.monday.core.AddFileToUpdate

- Component: `appmixer.monday.core.AddFileToUpdate`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.monday 3.2.4](https://connectors.appmixer.com/connector/appmixer.monday/3.2.4.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.monday/3.2.4/component/appmixer.monday.core.AddFileToUpdate>

Add a file to an update.

## Input ports

### Port `file`

| Field | Type | Description |
| --- | --- | --- |
| File ID (`fileId`) | filepicker | Add a file ID or upload/select a file from the system |
| File name (`fileName`) | text | - |
| Update ID (`updateId`) | text | - |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Update ID (`data.add_file_to_update.id`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.monday.core.AddFileToUpdate",
  "author": "Lennart Svensson <lennart.svensson@maesn.com>",
  "description": "Add a file to an update.",
  "auth": {
    "service": "appmixer:monday"
  },
  "private": false,
  "version": "1.0.0",
  "inPorts": [
    {
      "name": "file",
      "schema": {
        "type": "object",
        "properties": {
          "fileId": {},
          "fileName": {
            "type": "string"
          },
          "updateId": {
            "type": "string"
          }
        },
        "required": [
          "fileId",
          "fileName",
          "updateId"
        ]
      },
      "inspector": {
        "inputs": {
          "fileId": {
            "type": "filepicker",
            "label": "File ID",
            "tooltip": "Add a file ID or upload/select a file from the system",
            "index": 1
          },
          "fileName": {
            "type": "text",
            "label": "File name",
            "index": 1
          },
          "updateId": {
            "type": "text",
            "label": "Update ID",
            "index": 2
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Update ID",
          "value": "data.add_file_to_update.id",
          "schema": {
            "type": "string",
            "example": "1920374656"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
