Hello, I would like to ask whether the expression can be used for loop

Hello, I would like to ask whether the expression can be used for loop

The format returned by the api is not what I want. I want to reorganize the format for loops by

Hey @Hao_Tan!

Welcome to the community :slightly_smiling_face:

You can use the Function node to restructure the incoming data. This documentation can be helpful. I would also suggest you read the documentation here to understand the data structure n8n uses.

1 Like

Hey @Hao_Tan!

Were you able to solve this issue? Please let us know if you need more help :slight_smile: