You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/guides/12.integrations/1.n8n/directus-n8n-advanced.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,15 @@ Use raw operations when you need complex filters with logical operators (`_and`,
41
41
42
42
## Using Raw Operations
43
43
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.
45
45
46
46
### Setting Up a Raw Operation
47
47
48
48
1. Add a **Directus** node to your workflow
49
49
2. Set **Resource** to Item, User, or File
50
50
3. Select a **Raw JSON** operation (e.g., "Get Many (Raw JSON)", "Create (Raw JSON)")
51
51
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)
53
53
6. For Get and Update operations, provide the **Item ID** if needed
@@ -114,7 +114,7 @@ Update items with complex data structures:
114
114
115
115
## Using Filters with Raw Operations
116
116
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).
118
118
119
119
::callout{icon="i-lucide-info"}
120
120
**Filter Documentation**
@@ -157,7 +157,7 @@ For complete filter syntax, operators, and examples, see the [Directus Filter Ru
157
157
158
158
## Query Parameters
159
159
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:
Copy file name to clipboardExpand all lines: content/guides/12.integrations/3.zapier/actions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,8 @@ The **Filter (JSON)** field in Find actions supports Directus's complete filter
104
104
}
105
105
```
106
106
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}}`.
Copy file name to clipboardExpand all lines: content/guides/12.integrations/3.zapier/advanced.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,6 +185,8 @@ For bulk operations:
185
185
}
186
186
```
187
187
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.
0 commit comments