I’ve been playing with this software since a few days but hit a bump in the road:
Specifically, I can’t get the FunctionItem to actually get binary data from Google Drive AND each item (one by one, of course).
Basically, I want to get a PDF from Google Drive, insert some customer data using pdf-lib, and save it again as PDF on Google Drive.
I tried 30 variations over the last few hours, I hope I can recall them, not in order:
with the itemfuntion being:
setBinaryData(getBinaryData()); return item;
The google drive Upload fails with
ERROR: No binary data exists on item!
even though all looks good in the previous step:
(image 2, new user and such, will post it as comment below)
I figured out that the merge append is the problem.
It works fine if I attach the google drive download directly to the function.
It also works fine if I attach the google drive AND the itemized output to the function, but only if I press the play button of google drive at the right time.
So it appears I need to synchronize it, so I tried pass-through merge, but now I don’t have the data.
Passing it along the side created another synchronization problem.
(image 3, new user and such, will post it as comment below)
with the function being:
setBinaryData($node["Google Drive"].binary["data"]); return item;
"No data found for item-index: "1""
(weirdly, I never access item index 1)
I also tried without the merge function and just accessing the data with $node:
(image 4, new user and such, will post it as comment below)
Now the Google drive upload returns:
ERROR: No binary data property “data” does not exists on item!
Which is probably another sync problem.
Anyway, I’m out of ideas xD
Any help appreciated