I am unable to upload file from “on form submission” node to nextcloud
What is the error message (if any)?
The error says
This operation expects the node’s input data to contain a binary file ‘Swafoto_Timestamp’, but none was found [item 0]
Make sure that the previous node outputs a binary file
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.)
this one, and the binary file need to pass through the form submission, I think, you can connect your form trigger to the upload file node to make the Swafoto_Timestamp “detected” by Upload file node.
There’s nothing wrong with your workflow, sorry for the confusion.
Instead, you can use this for binary field, change Swafoto_Timestamp to {{ $('On form submission').item.binary.File.data }}
Or if it’s still error, you can add two more node
connect the Get file base64 input to create folder node, and connect the Convert to file node to the upload file node, and change the Swafoto_Timestamp binary field, to data
However, the image quality seems to be compressed.
Why does the order matter? I mean, if the nodes are after the form, the file upload node should still be able to access the data from the “convert to file” node, right?