Remove last references to old syntax (#4074)

This commit is contained in:
Jon
2026-01-07 07:20:16 +00:00
committed by GitHub
parent fb8f05c537
commit 3b3341e13e
4 changed files with 5 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ In the previous chapters, you've built several small workflows. Now, pick one of
{
"parameters": {
"channel": "channelname",
"text": "=This workflow {{$node[\"Error Trigger\"].json[\"workflow\"][\"name\"]}}failed.\nHave a look at it here: {{$node[\"Error Trigger\"].json[\"execution\"][\"url\"]}}",
"text": "=This workflow {{$(\"Error Trigger\").item.json[\"workflow\"][\"name\"]}}failed.\nHave a look at it here: {{$(\"Error Trigger\").item.json[\"execution\"][\"url\"]}}",
"attachments": [],
"otherOptions": {}
},

View File

@@ -240,7 +240,7 @@ The response will contain the JSON data of the selected workflow:
{
"parameters": {
"webhookUri": "https://discord.com/api/webhooks/865213348202151968/oD5_WPDQwtr22Vjd_82QP3-_4b_lGhAeM7RynQ8Js5DzyXrQEnj0zeAQIA6fki1JLtXE",
"text": "=This week we have {{$json[\"totalBooked\"]}} booked orders with a total value of {{$json[\"bookedSum\"]}}. My Unique ID: {{$node[\"HTTP Request\"].parameter[\"headerParametersUi\"][\"parameter\"][0][\"value\"]}}"
"text": "=This week we have {{$json[\"totalBooked\"]}} booked orders with a total value of {{$json[\"bookedSum\"]}}. My Unique ID: {{ $(\"HTTP Request\").params.headerParameters.parameters[0].value }}"
},
"name": "Discord",
"type": "n8n-nodes-base.discord",

View File

@@ -38,7 +38,7 @@ Create a new column in your Grist table with the formula `$id`.
The **Get All** operation returns the Row ID of each record along with the fields.
You can get it with the expression `{{$node["GristNodeName"].json["id"]}}`.
You can get it with the expression `{{$("GristNodeName").item.json.id}}`.
## Filter records when using the Get All operation

View File

@@ -86,9 +86,9 @@ Copy the workflow file above and paste into your instance, or manually build it
### Check that the node has processed all items
To check if the node still has items to process, use the following expression: `{{$node["Loop Over Items"].context["noItemsLeft"]}}`. This expression returns a boolean value. If the node still has data to process, the expression returns `false`, otherwise it returns `true`.
To check if the node still has items to process, use the following expression: `{{$("Loop Over Items").context["noItemsLeft"]}}`. This expression returns a boolean value. If the node still has data to process, the expression returns `false`, otherwise it returns `true`.
### Get the current running index of the node
To get the current running index of the node, use the following expression: `{{$node["Loop Over Items"].context["currentRunIndex"];}}`.
To get the current running index of the node, use the following expression: `{{$("Loop Over Items").context["currentRunIndex"];}}`.