How to map loop item values to fields in a "Create Record" node?

In my NocoBase workflow, I am having trouble mapping values within a loop. Here is my setup:

  • Node 1: HTTP Request (GET department list)
  • Node 2: JSON Variables Mapping (Alias: list_data)
  • Node 3: Loop (Target: {{ list_data }})
  • Node 4: Create Record (Inside the Loop)

The Issue:
In Node 4, I cannot correctly set the field values. When I try to manually enter {{ $loop.title }} (to get the title property of the current item), it is automatically overwritten or converted to a generic variable like { scope variables > Loop node Name > list_data }. As a result, the created record has blank fields.

I could not find any options like “Current loop item” in the variable picker hierarchy.

Question:
How can I correctly map a specific property from the current loop item (e.g., item.value or item.title) to a field in the Create Record node?

Any help or advice would be greatly appreciated.

Hello, you need to add a JSON variable mapping node to the loop node, parse the data again, and use the parsed fields in the “Create Record Node” section.

Hello. hongboji
Thank you for getting back to me. I will try to see if I can resolve this when I return. I will let you know if I need further assistance.

Hi, hongboji
I’m having trouble with this. Could you lend me a hand?
I made the workflow as simple as possible.
Node1: Create Custom Action event.
Node2: HTTP request:
・GET
・http:/localhost:13000/api/departments:list
・Authorization: Bearer API Key
・Test Run (for Next Node)
Node3: JSON variable mapping
・input sample : Test Run result
Node3: screenshot

execute Manually.
・I goto execution History: And view
・Node3 result is below (JSON variable mapping)

{
“6j6ldleibj6”: [
{
“createdAt”: “2026-05-09T05:17:14.631Z”,
“updatedAt”: “2026-05-11T21:18:04.137Z”,
“createdById”: 1,
“id”: 1,
“isLeaf”: true,
“parentId”: null,
“title”: “Dept 1”,
“updatedById”: 1
},
{
“createdAt”: “2026-05-11T21:18:39.843Z”,
“updatedAt”: “2026-05-11T21:18:39.850Z”,
“createdById”: 1,
“id”: 7,
“isLeaf”: true,
“parentId”: null,
“title”: “Dept 2”,
“updatedById”: 1
}
],
“dm5hxq2m11t”: [
1,
7
],
“9ihohz77y2v”: [
“Dept 1”,
“Dept 2”
]
}
My Question:
I noticed that the alias name isn’t appearing here.
Is this how it’s supposed to be?

Hi everyone,

I wanted to share that I’ve resolved the issue.
It turns out the “alias name” wasn’t the cause of the problem.

The solution was to place a JSON variables mapping block inside the LOOP block. By pasting the innermost fields of the array into the Input sample, it now works perfectly.

Thank you so much for your help and advice!