Actions31
- Table Actions
- View Actions
- Column Actions
- Share Actions
- Import Actions
- Row Actions
Overview
The "Update Column" operation in the Nextcloud Tables node allows users to modify properties of an existing column within a Nextcloud table. This operation is useful when you need to rename a column, update its description, or change whether it is marked as a required field. For example, if your table schema evolves and you want to clarify a column's purpose or enforce data entry rules, this operation lets you apply those changes programmatically.
Typical use cases include:
- Renaming a column to better reflect updated data semantics.
- Adding or updating a description to provide more context for users interacting with the table.
- Changing the mandatory status of a column to enforce or relax data validation constraints.
Properties
| Name | Meaning |
|---|---|
| Column | Select the target column to update by choosing from a list of columns or entering its ID (number). |
| Title | The new title (name) for the column. Optional; leave empty to keep the current title. |
| Description | The new description text for the column. Optional; leave empty to keep the current description. |
| Required Field | Boolean flag indicating whether the column should be marked as required (mandatory) or not. |
Output
The output JSON contains the updated column object reflecting the changes made. It typically includes fields such as the column ID, updated title, description, and mandatory status. This output can be used downstream in workflows to confirm the update or trigger further actions based on the updated column metadata.
The node does not output binary data for this operation.
Dependencies
- Requires an active connection to a Nextcloud instance with the Tables app enabled.
- Needs an API authentication token credential configured in n8n to authorize requests to the Nextcloud Tables API.
- The node relies on internal handlers that communicate with the Nextcloud Tables REST API to perform the update operation.
Troubleshooting
- Invalid Column ID: If the column ID provided is not numeric or does not exist, the node will throw an error. Ensure the column ID is correct and corresponds to an existing column.
- Authentication Errors: Failure to authenticate with the Nextcloud API will prevent updates. Verify that the API key or token credential is valid and has sufficient permissions.
- Network Issues: Connectivity problems between n8n and the Nextcloud server can cause timeouts or failures. Check network settings and server availability.
- Empty Update Fields: If all optional fields (title, description, mandatory) are left empty or unchanged, the operation may result in no effective update. Provide at least one field to modify.
- Continue On Fail: If enabled, the node will continue processing subsequent items even if one update fails, returning error details in the output JSON.