Dynamic name and push to ftp server

Describe the issue/error/question

What is the error message (if any)?

Hi everyone,
i am trying to get a workflow working: I have an ESPCam and i want to take a picture in 30s intervals. These pictures should be stored with a specific namescheme on my server. The namesheme should use the current timestamp. I am able to get the picture and push it via the ftp node onto my server, but i am not sure how to change the name dynamically. Can anyone point me in the right direction?
The idea below was to use the output of function1 and then use an expression in the ftp naming field. this does not work…

Please share the workflow

Share the output returned by the last node

EDIT: Got it working: here is the workflow:

Information on your n8n setup

  • n8n version: current version
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: lxc docker
1 Like

Hey @Chapapa1,
welcome to the community :tada: glad you could solve your ftp path name problem. Happy automating.

1 Like