Actions26
- Item Actions
- User Actions
- File Actions
Item → Create (Raw JSON)
AI-generatedSummary
Create a Directus item by sending raw JSON
Inputs
- collection (required) — The Directus collection (by name or ID) where the item will be created. Can be set via expression.
- jsonData — Raw JSON payload representing the item data to send to Directus.
Output shape
json
The created item returned by Directus, including system fields such as id and timestamps. If 'Continue On Fail' is enabled, errors are returned as { error:
}.
Examples
Example 1: Create a blog post
Set Collection Name or ID to 'posts' and JSON Data to { title: 'Hello World', status: 'published' }.