OpenText Content Management
App · 25 actions
File, find, version and download records in OpenText Content Management (Content Server), set their categories, holds and RM classifications, and start and complete its workflows.
Actions
| Action | What it does |
|---|---|
| Add version | Add a new version to a document, such as a corrected or signed copy. |
| Apply category | Add a category to a document or folder, with values for its attributes. |
| Apply hold | Put a document or folder on a hold, so it can't be changed or destroyed while the hold is in force. |
| Apply RM classification | Classify a document or folder for records management, which sets its retention schedule, with a record date if you like. |
| Complete assignment | Finish a workflow step with one of its choices, such as Approve, and a comment. |
| Copy item | Copy a document or folder into another folder. |
| Create folder | Create a folder inside another folder. |
| Delete item | Delete a document or folder (with everything in it). |
| Download document | Download a document's file, its latest version or an earlier one, for a later step to attach or send. |
| Get assignment | Get one workflow step with its instructions and the choices it offers, such as Approve or Send On. |
| Get categories | Get the categories on a document or folder, with each attribute's value. |
| Get holds on item | Get the holds on a document or folder, whether put on it or on a folder it is in, with who applied each and when. |
| Get item | Get a document's or folder's details: its name, folder, type, size, latest version and when it changed. |
| Get records details | Get a document's or folder's RM classification, with its retention schedule (RSI), status and record date. |
| List folder items | List the documents and folders in a folder, one page at a time, with their ids. |
| List holds | List the agency's legal and records holds. |
| List my assignments | List the connected user's assignments, such as workflow steps waiting on them, with when each is due. |
| List versions | List a document's versions, newest first, with their files. |
| Move item | Move a document or folder into another folder. |
| Remove hold | Take a hold off a document or folder it was put on. |
| Rename item | Change a document's or folder's name or description. |
| Search | Find documents and folders by the words in their names, details or text. |
| Start workflow | Start a Content Server workflow from its map, with documents attached. |
| Update attribute values | Change attribute values of a category already on a document or folder. |
| Upload document | Add a file to a folder as a new document, with a category's values if you like. |
Add version
Add a new version to a document, such as a corrected or signed copy. The earlier versions are kept.
Inputs
- Document ID
node_idtextRequired - The document's id, a whole number, from a search, a folder listing, a trigger or an earlier step.
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public https link to one.
- Version note
descriptiontext - What changed in this version.
- Major version
major_versiontrue/false - For a document that keeps major and minor versions, add this one as a major version.
Outputs
nodeobject- The document now
node_idnumber- The document
versionobject- The new version
Example output
{
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 2,
"volume_id": -2000
},
"node_id": 48213,
"version": {
"created_at": "2026-10-29T09:12:00Z",
"description": "Corrected attendance",
"file_name": "Council minutes 2026-10-20.pdf",
"file_size": 49002,
"mime_type": "application/pdf",
"owner_id": 1000,
"version_number": 2
}
}Apply category
Add a category to a document or folder, with values for its attributes.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- Category
category_idtextRequired - The category to apply.
- Attribute values
attributesobject - Values for the category's attributes, one per attribute. Attributes left empty take the category's defaults.
Outputs
categoryobject- The category now
changedlist- The attributes this step set
node_idnumber- The item
Example output
{
"category": {
"attributes": [
{
"key": "9830_2",
"name": "Meeting date",
"type": "Date",
"value": "2026-10-20T00:00:00"
},
{
"key": "9830_3",
"name": "Body",
"type": "String",
"value": "City Council"
}
],
"id": 9830,
"name": "Meeting record",
"values": {
"Body": "City Council",
"Meeting date": "2026-10-20T00:00:00"
}
},
"changed": [
"9830_2",
"9830_3"
],
"node_id": 48213
}Apply hold
Put a document or folder on a hold, so it can't be changed or destroyed while the hold is in force.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- Hold
hold_idtextRequired - The hold. Pick one, or give its id from an earlier step.
Outputs
appliedtrue/false- Always true once applied
hold_idnumber- The hold
node_idnumber- The item
Example output
{
"applied": true,
"hold_id": 3301,
"node_id": 48213
}Apply RM classification
Classify a document or folder for records management, which sets its retention schedule, with a record date if you like.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- RM classification
classification_idtextRequired - The RM classification. Pick one, or give its id.
- Record date
record_datedate - The record date. Leave empty for Content Server's default.
- Official record
officialtrue/false - Mark it as an official record.
- Subject
subjecttext - The record's subject.
Outputs
classificationobject- Its primary RM classification now
classificationslist- Every RM classification on it
classifiedtrue/false- True when it has an RM classification
countnumber- How many
node_idnumber- The item
Example output
{
"classification": {
"classification_id": 7712,
"essential": "VITAL",
"file_number": "CLK-100-01",
"is_primary": true,
"name": "Minutes - Council",
"official": true,
"originator": "City Clerk",
"record_date": "2026-10-20",
"records_officer": "Records Officer",
"rsi": "PERM-01",
"status": "ACTIVE",
"status_date": "2026-10-28",
"subject": "Regular meeting"
},
"classifications": [
{
"classification_id": 7712,
"essential": "VITAL",
"file_number": "CLK-100-01",
"is_primary": true,
"name": "Minutes - Council",
"official": true,
"originator": "City Clerk",
"record_date": "2026-10-20",
"records_officer": "Records Officer",
"rsi": "PERM-01",
"status": "ACTIVE",
"status_date": "2026-10-28",
"subject": "Regular meeting"
}
],
"classified": true,
"count": 1,
"node_id": 48213
}Complete assignment
Finish a workflow step with one of its choices, such as Approve, and a comment. The workflow moves on in Content Server.
Inputs
- Workflow ID
process_idtextRequired - The assignment's 'process_id', from 'List my assignments' or the trigger.
- Sub-workflow ID
subprocess_idtextRequired - The assignment's 'subprocess_id', from 'List my assignments' or the trigger.
- Step ID
task_idtextRequired - The assignment's 'task_id', from 'List my assignments' or the trigger.
- Choice
decisiontextRequired - The choice as it appears on the step, such as Approve or Send On. 'Get assignment' lists them.
- Comment
commenttext - A comment to add to the step.
Outputs
decisiontext- The choice made
decision_keytext- Content Server's key for it
donetrue/false- Always true once done
process_idnumber- The workflow
subprocess_idnumber- The sub-workflow
task_idnumber- The step
Example output
{
"decision": "Approve",
"decision_key": "1",
"done": true,
"process_id": 63018,
"subprocess_id": 63018,
"task_id": 2
}Copy item
Copy a document or folder into another folder.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- To folder
parent_idtextRequired - The folder to copy it into. Pick one, or give its id.
- New name
nametext - A name for the copy. Defaults to the original's name.
Outputs
copied_fromnumber- The original's id
nodeobject- The copy
node_idnumber- The copy's id
Example output
{
"copied_from": 48213,
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48250,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
},
"node_id": 48250
}Create folder
Create a folder inside another folder.
Inputs
- Folder
parent_idtextRequired - The folder to add it to. Pick one, or give its id from an earlier step.
- Name
nametextRequired - The new folder's name. It can't contain a colon (:).
- Description
descriptiontext - A description to show with it in Content Server.
Outputs
nodeobject- The new folder
node_idnumber- The new folder's id
Example output
{
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "",
"id": 2105,
"is_container": true,
"is_document": false,
"item_count": 12,
"mime_type": "",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes",
"parent_id": 2000,
"reserved": false,
"size": 0,
"type": 0,
"type_name": "Folder",
"version_number": 0,
"volume_id": -2000
},
"node_id": 2105
}Delete item
Delete a document or folder (with everything in it). Content Server keeps it in its Recycle Bin for a while, if the agency has one.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
Outputs
deletedtrue/false- Always true once deleted
node_idnumber- The item deleted
Example output
{
"deleted": true,
"node_id": 48213
}Download document
Download a document's file, its latest version or an earlier one, for a later step to attach or send.
Inputs
- Document ID
node_idtextRequired - The document's id, a whole number, from a search, a folder listing, a trigger or an earlier step.
- Version
version_numbernumber - An earlier version's number. Leave empty for the latest.At least 1.
Outputs
content_typetext- The file's type, such as application/pdf
document_reftext- The downloaded file, for later steps
filenametext- The file's name
node_idnumber- The document downloaded
size_bytesnumber- The file's size in bytes
urltext- Where to open the downloaded file
version_numbernumber- The version downloaded, 0 for the latest
Example output
{
"content_type": "application/pdf",
"document_ref": "doc_0123456789abcdef0123456789abcdef",
"filename": "Council minutes 2026-10-20.pdf",
"node_id": 48213,
"size_bytes": 48213,
"url": "/actions/core/serve-document/doc_0123456789abcdef0123456789abcdef",
"version_number": 0
}Get assignment
Get one workflow step with its instructions and the choices it offers, such as Approve or Send On.
Inputs
- Workflow ID
process_idtextRequired - The assignment's 'process_id', from 'List my assignments' or the trigger.
- Sub-workflow ID
subprocess_idtextRequired - The assignment's 'subprocess_id', from 'List my assignments' or the trigger.
- Step ID
task_idtextRequired - The assignment's 'task_id', from 'List my assignments' or the trigger.
Outputs
actionslist- The standard buttons
comments_ontrue/false- True when the step takes a comment
decisionslist- The step's own choices, such as Approve
instructionstext- The step's instructions
must_accepttrue/false- True when the step must be accepted before it is done
prioritynumber- The step's priority
process_idnumber- The workflow
subprocess_idnumber- The sub-workflow
task_idnumber- The step
titletext- The workflow's title
Example output
{
"actions": [
{
"key": "SendOn",
"label": "Send On"
}
],
"comments_on": true,
"decisions": [
{
"key": "1",
"label": "Approve"
},
{
"key": "2",
"label": "Send back"
}
],
"instructions": "Approve or send back with a comment",
"must_accept": false,
"priority": 50,
"process_id": 63018,
"subprocess_id": 63018,
"task_id": 2,
"title": "Minutes review 2026-10-20"
}Get categories
Get the categories on a document or folder, with each attribute's value.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
Outputs
categorieslist- Its categories
countnumber- How many categories
node_idnumber- The item
Example output
{
"categories": [
{
"attributes": [
{
"key": "9830_2",
"name": "Meeting date",
"type": "Date",
"value": "2026-10-20T00:00:00"
},
{
"key": "9830_3",
"name": "Body",
"type": "String",
"value": "City Council"
}
],
"id": 9830,
"name": "Meeting record",
"values": {
"Body": "City Council",
"Meeting date": "2026-10-20T00:00:00"
}
}
],
"count": 1,
"node_id": 48213
}Get holds on item
Get the holds on a document or folder, whether put on it or on a folder it is in, with who applied each and when.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
Outputs
countnumber- How many
holdslist- Its holds
node_idnumber- The item
on_holdtrue/false- True when an active hold applies
Example output
{
"count": 1,
"holds": [
{
"active": true,
"applied_at": "2026-10-30T10:00:00Z",
"applied_by": "Records Officer",
"applied_how": "Direct",
"comment": "Preserve all minutes",
"hold_id": 3301,
"item_id": 48213,
"name": "Smith v. City (2026)",
"removable": true,
"type": "Legal"
}
],
"node_id": 48213,
"on_hold": true
}Get item
Get a document's or folder's details: its name, folder, type, size, latest version and when it changed.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
Outputs
nodeobject- The item
Example output
{
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
}
}Get records details
Get a document's or folder's RM classification, with its retention schedule (RSI), status and record date.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
Outputs
classificationobject- Its primary RM classification
classificationslist- Every RM classification on it
classifiedtrue/false- True when it has an RM classification
countnumber- How many
node_idnumber- The item
Example output
{
"classification": {
"classification_id": 7712,
"essential": "VITAL",
"file_number": "CLK-100-01",
"is_primary": true,
"name": "Minutes - Council",
"official": true,
"originator": "City Clerk",
"record_date": "2026-10-20",
"records_officer": "Records Officer",
"rsi": "PERM-01",
"status": "ACTIVE",
"status_date": "2026-10-28",
"subject": "Regular meeting"
},
"classifications": [
{
"classification_id": 7712,
"essential": "VITAL",
"file_number": "CLK-100-01",
"is_primary": true,
"name": "Minutes - Council",
"official": true,
"originator": "City Clerk",
"record_date": "2026-10-20",
"records_officer": "Records Officer",
"rsi": "PERM-01",
"status": "ACTIVE",
"status_date": "2026-10-28",
"subject": "Regular meeting"
}
],
"classified": true,
"count": 1,
"node_id": 48213
}List folder items
List the documents and folders in a folder, one page at a time, with their ids.
Inputs
- Folder
folder_idtext - The folder to list. Pick one, or give its id from an earlier step. Leave empty for your Personal Workspace.
- Show
item_kindtext - Everything (the default), documents only, or folders only.One of:
all(Everything (default)),documents(Documents only),folders(Folders and other containers only). - Name contains
name_containstext - Only items whose name contains this text.
- Order
sorttext - By name (the default), or most recently changed or added first.One of:
asc_name(Name, A to Z (default)),desc_name(Name, Z to A),desc_modify_date(Most recently changed first),desc_create_date(Most recently added first). - How many
countnumber - How many to return, 1 to 500. Defaults to 100.From 1 to 500.
- Page
pagenumber - Which page, for more: 1 (the default), 2 and so on.At least 1.
Outputs
countnumber- How many items this page holds
folder_idnumber- The folder listed
has_moretrue/false- True when there is another page
itemslist- The items
pagenumber- This page's number
totalnumber- How many there are in all
Example output
{
"count": 2,
"folder_id": 2000,
"has_more": false,
"items": [
{
"created_at": "2026-10-28T14:05:00Z",
"description": "",
"id": 2105,
"is_container": true,
"is_document": false,
"item_count": 12,
"mime_type": "",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes",
"parent_id": 2000,
"reserved": false,
"size": 0,
"type": 0,
"type_name": "Folder",
"version_number": 0,
"volume_id": -2000
},
{
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
}
],
"page": 1,
"total": 2
}List holds
List the agency's legal and records holds.
Inputs
- Active only
active_onlytrue/false - Only holds in force (the default). Turn off for every hold.
Outputs
countnumber- How many
holdslist- The holds
Example output
{
"count": 1,
"holds": [
{
"active": true,
"id": 3301,
"name": "Smith v. City (2026)"
}
]
}List my assignments
List the connected user's assignments, such as workflow steps waiting on them, with when each is due.
Inputs
- Workflow steps only
workflow_onlytrue/false - Leave out assignments that aren't workflow steps.
Outputs
assignmentslist- The assignments
countnumber- How many
Example output
{
"assignments": [
{
"description": "Check the draft minutes before publishing",
"due_date": "2026-11-04T17:00:00Z",
"from_user_id": 1000,
"id": 63021,
"instructions": "Approve or send back with a comment",
"location_id": 48213,
"name": "Review minutes",
"priority": "Medium",
"process_id": 63018,
"status": "Ok",
"subprocess_id": 63018,
"task_id": 2,
"type": 153,
"type_name": "Workflow step"
}
],
"count": 1
}List versions
List a document's versions, newest first, with their files.
Inputs
- Document ID
node_idtextRequired - The document's id, a whole number, from a search, a folder listing, a trigger or an earlier step.
- Order
ordertext - Newest first (the default) or oldest first.One of:
desc(Newest first (default)),asc(Oldest first). - How many
countnumber - How many to return, 1 to 500. Defaults to 100.From 1 to 500.
Outputs
countnumber- How many
node_idnumber- The document
versionslist- Its versions
Example output
{
"count": 2,
"node_id": 48213,
"versions": [
{
"created_at": "2026-10-29T09:12:00Z",
"description": "Corrected attendance",
"file_name": "Council minutes 2026-10-20.pdf",
"file_size": 49002,
"mime_type": "application/pdf",
"owner_id": 1000,
"version_number": 2
},
{
"created_at": "2026-10-28T14:05:00Z",
"description": "",
"file_name": "Council minutes 2026-10-20.pdf",
"file_size": 48213,
"mime_type": "application/pdf",
"owner_id": 1000,
"version_number": 1
}
]
}Move item
Move a document or folder into another folder.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- To folder
parent_idtextRequired - The folder to move it into. Pick one, or give its id.
Outputs
nodeobject- The item, moved
node_idnumber- The item moved
parent_idnumber- The folder it is in now
Example output
{
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2106,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
},
"node_id": 48213,
"parent_id": 2106
}Remove hold
Take a hold off a document or folder it was put on.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- Hold
hold_idtextRequired - The hold. Pick one, or give its id from an earlier step.
Outputs
hold_idnumber- The hold
node_idnumber- The item
removedtrue/false- Always true once removed
Example output
{
"hold_id": 3301,
"node_id": 48213,
"removed": true
}Rename item
Change a document's or folder's name or description.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- New name
nametext - The new name. It can't contain a colon (:).
- New description
descriptiontext - A new description. Leave empty to keep the current one.
Outputs
nodeobject- The item now
node_idnumber- The item renamed
Example output
{
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
},
"node_id": 48213
}Search
Find documents and folders by the words in their names, details or text. Returns one page; ask for the next page for more.
Inputs
- Words
texttext - The words to look for, such as council minutes.
- Match
matchtext - All the words (the default), any of them, or the exact phrase.One of:
allwords(All the words (default)),anywords(Any of the words),exactphrase(The exact phrase). - Find
item_kindtext - Everything (the default), documents only, or folders only.One of:
all(Everything (default)),documents(Documents only),folders(Folders only). - Look in
withintext - Names, details and text (the default), the text only, or names and details only.One of:
all(Names, details and text (default)),content(The documents' text only),metadata(Names and details only). - Advanced query
querytext - A query in Content Server's search language, such as OTName:minutes, for what the words can't say. Combined with the words when both are given.
- Order
sorttext - Best match first (the default), newest first, or oldest first.One of:
relevance(Best match first (default)),desc_OTObjectDate(Newest first),asc_OTObjectDate(Oldest first). - How many
countnumber - How many to return, 1 to 500. Defaults to 50.From 1 to 500.
- Page
pagenumber - Which page, for more: 1 (the default), 2 and so on.At least 1.
Outputs
countnumber- How many items this page holds
has_moretrue/false- True when there is another page
itemslist- The items
pagenumber- This page's number
querytext- The search Content Server ran
totalnumber- How many there are in all
Example output
{
"count": 1,
"has_more": false,
"items": [
{
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
}
],
"page": 1,
"query": "(council and minutes) and OTSubType:144",
"total": 1
}Start workflow
Start a Content Server workflow from its map, with documents attached. Its first steps go to the people the map names.
Inputs
- Workflow map
workflow_map_idtextRequired - The workflow map to start. Pick one, or give its id.
- Documents to attach
attachment_idstext - The ids of documents to attach, separated by commas, or a list from an earlier step.
- Title
titletext - A title for this workflow. Defaults to the map's.
- Due date
due_datedate - When the whole workflow is due (the end of that day).
- Comment
commenttext - A comment to start it with.
Outputs
attachment_idslist- The documents attached
draft_process_idnumber- The draft it was started from
messagetext- Content Server's message, if any
process_idnumber- The running workflow's id
startedtrue/false- Always true once started
workflow_map_idnumber- The map it was started from
Example output
{
"attachment_ids": [
48213
],
"draft_process_id": 63010,
"message": "",
"process_id": 63018,
"started": true,
"workflow_map_id": 51200
}Update attribute values
Change attribute values of a category already on a document or folder. Only the attributes given change.
Inputs
- Item ID
node_idtextRequired - The id of the document or folder, a whole number, from a search, a folder listing, a trigger or an earlier step.
- Category
category_idtextRequired - The category whose values to change.
- Attribute values
attributesobjectRequired - The new values, one per attribute. Attributes left empty keep their values.
Outputs
categoryobject- The category now
changedlist- The attributes this step changed
node_idnumber- The item
Example output
{
"category": {
"attributes": [
{
"key": "9830_2",
"name": "Meeting date",
"type": "Date",
"value": "2026-10-20T00:00:00"
},
{
"key": "9830_3",
"name": "Body",
"type": "String",
"value": "City Council"
}
],
"id": 9830,
"name": "Meeting record",
"values": {
"Body": "City Council",
"Meeting date": "2026-10-20T00:00:00"
}
},
"changed": [
"9830_3"
],
"node_id": 48213
}Upload document
Add a file to a folder as a new document, with a category's values if you like.
Inputs
- Folder
parent_idtextRequired - The folder to add it to. Pick one, or give its id from an earlier step.
- File
filetextRequired - The file: upload one, pick a file from an earlier step, or paste a public https link to one.
- Name
nametext - The document's name. Defaults to the file's name.
- Description
descriptiontext - A description to show with it in Content Server.
- Category
category_idtext - A category to apply to the new document, such as a records category your office uses.
- Attribute values
attributesobject - Values for the category's attributes, one per attribute. Attributes left empty take the category's defaults.
Outputs
nodeobject- The new document
node_idnumber- The new document's id
Example output
{
"node": {
"created_at": "2026-10-28T14:05:00Z",
"description": "Approved minutes of the regular meeting",
"id": 48213,
"is_container": false,
"is_document": true,
"item_count": 0,
"mime_type": "application/pdf",
"modified_at": "2026-10-28T14:05:00Z",
"name": "Council minutes 2026-10-20.pdf",
"parent_id": 2105,
"reserved": false,
"size": 48213,
"type": 144,
"type_name": "Document",
"version_number": 1,
"volume_id": -2000
},
"node_id": 48213
}