The solution might very well look something like this:
Since KNIME might not have a data type uuid you would have to store it as a string and when insertig it into Postgres make sure it is recognized as uuid.
You might also upload the KNIME file into a temporary Postgres table and then convert it into uuid with somethink like:
CAST(<your_variable> AS uuid) AS <your_target_variable>
I might see if I can come up with an example how to do that