Actions26
- Item Actions
- User Actions
- File Actions
Item → Update (Raw JSON)
AI-generatedSummary
Update a Directus item using raw JSON data
Inputs
- collection (required) — The Directus collection (name or ID) where the item resides
- itemId (required) — The ID of the item to update
- jsonData (required) — Raw JSON object to send as the update payload
Output shape
array of objects each containing a json field
Each output item contains the Directus API response (typically
{ data: <updated item> }) under thejson` key, paired with the original workflow item index
Examples
Example 1: Update an article's title
Set collection to 'articles', itemId to the article's ID, and jsonData to { title: 'New Title' }