How do I get the binary data from "Convert to File"

Convert to File gives the file and I can download it successfully but it does not output the data in a way that is usable by nodes further down the workflow.

How do I fix this? It looks like it may be malfunctioning?
You can see the successful out put in the first screenshot, but it is not accessible since the json is empty (second screenshot)

My workflow


It absolutely does output the data in a way that is usable by nodes further down the workflow.
In the “input binary field” (in convert from file) or “attachment” (in send email) fields type the text which you see in the input field in orange (jobs_csv_binary), or in my case - “nums_json_binary”.

Like so:

Put another image if this help you.

You almost did it right. Just get confused by the expression.

When pass binary field. You can just type the orange work in the binary.

Most of the time it call data.

In your case : jobs_csv_binary.

Hi thank you guys for your help, but I have tried using just the orange text (in the fixed and expression modes) and neither works.


1 Like

Hey @Porter_Gardiner

you can try seperate the email node and copy it, and not connect to both extracts, so have 2 emails one at the end of each, am wondering why you are separating the flow from the text classifier, when it the same classification? you might aswell processing it all together in one line unless you was just testing, but I think you should try remove a connection to that email node and only have one.

To note, from the above screenshot it has two runs (from the two flows connected)

Otherwise you would need to so it like this.

Best regards,

Samuel

Hi, the reason for the split is because I need two csvs in the email and one just uses the classification output as input for a fetch for different data. Maybe I have a misunderstanding of how input data is passed but that is what made the most sense to me.

I did solve the problem though. Posting that to the main thread.

I solved the issue with a merge node in combine mode. Thanks everyone for your help!

1 Like

Btw, I added example above, using append mode and aggregate too, hope that helps, I see you used combine too :slight_smile:

Samuel

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.