Skip to content

Commit 9f1c6d8

Browse files
authored
V12 integrations updates (#763)
* V12 integrations updates * Remove versioning info * Remove v12 callout
1 parent f8c394c commit 9f1c6d8

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

content/guides/12.integrations/1.n8n/0.index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The Directus community node provides two components:
2424

2525
- **Directus Node**: Perform CRUD operations on items, users, and files
2626
- **Directus Trigger Node**: Automatically start workflows when events occur in Directus
27-
27+
2828
## Installation
2929

3030
### Install the Community Node

content/guides/12.integrations/1.n8n/directus-n8n-advanced.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ Use raw operations when you need complex filters with logical operators (`_and`,
4141

4242
## Using Raw Operations
4343

44-
Raw operations work similarly to their standard counterparts, but instead of using the node's form fields, you provide all data in the **JSON Data** field as a JSON object.
44+
Raw operations work similarly to their standard counterparts, but instead of using the node's form fields, you provide data as a JSON object: the **JSON Data** field for Create/Update, or the **Query Parameters** field for Get/Get Many.
4545

4646
### Setting Up a Raw Operation
4747

4848
1. Add a **Directus** node to your workflow
4949
2. Set **Resource** to Item, User, or File
5050
3. Select a **Raw JSON** operation (e.g., "Get Many (Raw JSON)", "Create (Raw JSON)")
5151
4. For Items operations, select the **Collection**
52-
5. Enter your JSON data in the **JSON Data** field
52+
5. Enter your data in the **JSON Data** field (Create/Update) or the **Query Parameters** field (Get/Get Many)
5353
6. For Get and Update operations, provide the **Item ID** if needed
5454

5555
::callout{icon="i-lucide-triangle-alert" color="warning"}
@@ -114,7 +114,7 @@ Update items with complex data structures:
114114

115115
## Using Filters with Raw Operations
116116

117-
Raw operations allow you to use Directus's complete filter syntax. Specify filters in the `filter` parameter of your **JSON Data** field.
117+
Raw operations allow you to use Directus's complete filter syntax. Specify filters in the `filter` parameter of the **Query Parameters** field (Get Many).
118118

119119
::callout{icon="i-lucide-info"}
120120
**Filter Documentation**
@@ -157,7 +157,7 @@ For complete filter syntax, operators, and examples, see the [Directus Filter Ru
157157

158158
## Query Parameters
159159

160-
Raw operations support all Directus query parameters. Include them in your JSON Data alongside filters:
160+
Get (Raw JSON) and Get Many (Raw JSON) support all Directus query parameters. Include them in the **Query Parameters** field alongside filters:
161161

162162
**Common query parameters:**
163163
```json

content/guides/12.integrations/3.zapier/actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ The **Filter (JSON)** field in Find actions supports Directus's complete filter
104104
}
105105
```
106106

107+
This example assumes a string `status` field. Collections created in Directus v12 may use a boolean `archived` field instead. Adjust your filter to match your schema, for example `{"archived": {"_eq": false}}`.
108+
107109
## Resource-Specific Operations
108110

109111
### Items

content/guides/12.integrations/3.zapier/advanced.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ For bulk operations:
185185
}
186186
```
187187

188+
Whether to filter on `status` or `archived` depends on your collection's schema. Collections created in Directus v12 may use the boolean `archived` field instead of a string `status` field.
189+
188190
---
189191

190192
## Next Steps

content/guides/12.integrations/3.zapier/triggers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ You can add Filter steps after the trigger to only process specific events:
7070
- Check if `status` equals `published` before sending notifications
7171
- Filter by collection or field values
7272
- Only process certain types of files
73+
- On collections using a boolean `archived` field instead of `status`, filter where `archived` equals `false`
7374

7475
::callout{icon="i-lucide-info"}
7576
**Filtering Tip**

0 commit comments

Comments
 (0)