Hi,
I’m new to the n8n so I struggle with probably very basic problems.
I get a response from a webhook that looks like that:
[
{
"result": [
{
"uid": "3b112aa693fb1353416fd2bf18951464",
"status": {
"field1": "1"
}
},
{
"uid": "7e2a77dbbdcbd74107d4efaa8fa2d1f9",
"status": {
"field1": "1"
}
}
],
"errors": []
}
]
As I need to make a http request with each uid I would like to first transform that to a very simple list/array of only UIDs.
How can I do that?
(
n8n version 1.14.2
run on QNAP Container Station
)
Thanks!
Jacek
n8n
December 1, 2023, 8:03am
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
n8n
December 1, 2023, 8:06am
3
It looks like your topic is missing some important information. Could you provide the following if applicable.
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
Hey @ofc_edu ,
happy to have you in the community.
To solve your problem you need two nodes. The first one splits the result list out of your webhook response and the second one sets only the uid so only this one is returned.
This is the workflow:
Cheers.
3 Likes
I knew it had to be simple
Thanks!
1 Like
system
Closed
December 1, 2023, 4:41pm
6
This topic was automatically closed 7 hours after the last reply. New replies are no longer allowed.