Describe the problem/error/question
I tried to add userid for my next node by setting up the edit fields node.
So I enter userID for the name, string for data type and Help with {{$$uuid()}} for the value but it keeps showing red text
What is the error message (if any)?
the error message is [undefined], i have tried asking meta and gemini and they both dont know too
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
-
n8n version:
1.91.3
-
Database (default: SQLite):
No database yet, using google sheet
-
n8n EXECUTIONS_PROCESS setting (default: own, main):
-
Running n8n via (Docker, npm, n8n cloud, desktop app):
still on n8n platform
-
Operating system:
Windows 10 Enterprise
Hi @Loggo_Voitto Welcome to n8n
community 
Could you please specify the path of your uuid
?
If it’s located in the root, you can reference it like this:
{{ $json.uuid }}
If it’s under body.data
, you can reference it like this:
{{ $json.body.data.uuid }}
Alternatively, you can simply drag and drop the field from the left tab into the input field.
Let me know if you need any further assistance.
1 Like
It looks like you’re trying to generate a new UUID and I dont believe $uuid() is a valid built-in function, so it’s best to use the crypto node like this:
1 Like
Thank you but so sorry, im kinda newbie, and I dont really understanb 100% when you said root? I am just trying to generate random unique id to be used for my google sheet. (next connected node from edit fields node) So it doesnt take any specific input from the previous output (webhook trigger).
Any suggestion? Thank you.
Thank you for your help,
Sorry Im newbie in n8n, what does crypto node do?
I am just trying to generate random unique id to be used for my google sheet. (next connected node from edit fields node) So it doesn’t need take any specific input from the previous output (webhook trigger).
Does crypto node help me to generate unique id for my next google sheet node. So i need userid for each different user with all their properties for the google sheet node.
Will the crypto node help me to achieve this?
Thank you
It’s a node for basic cryptography. You can use it to generate random string using one of the options. You can click the “Docs” button at the top right to get to the documentation, but best is to just play around with it. For example you could also just generate a fixed length random alpha numeric string using the Hex type:
1 Like
Hi Wouter,
Thanks for your help. Yes I already integrated crypto node for my project. Though I am not stuck with other problem
I will try to find the solution myself before asking again. Thanks again for your help. Much appreciated.
1 Like