> 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.ragieai.core.UpdateDocumentRaw

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

Update a document with raw data in text or JSON format.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Document Id (`documentId`) | text | The id of the document. |
| Data (`data`) | textarea | Document data in a text or JSON format. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Status (`status`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.ragieai.core.UpdateDocumentRaw",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Update a document with raw data in text or JSON format.",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:ragieai"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "documentId": {
            "type": "string"
          },
          "data": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "documentId",
          "data"
        ]
      },
      "inspector": {
        "inputs": {
          "documentId": {
            "type": "text",
            "label": "Document Id",
            "tooltip": "The id of the document.",
            "index": 0
          },
          "data": {
            "type": "textarea",
            "label": "Data",
            "tooltip": "Document data in a text or JSON format.",
            "index": 1
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Status",
          "value": "status",
          "schema": {
            "type": "string",
            "example": "working"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
