OK, with that being defined, you will need to parse out directional information from the EDI doc (EDIID or ISA number or something) which GoAnywhere can do if you know the location and or triggers to find that.
GoAnywhere is not an X12 translation reader. But, we can take the contents of a file an read them (readFlatFile) or we can assign the contents of a file to a variable and see if it "contains" a value or parse a value from that value to determine direction.
I know that trustedlink places files in the IFS, but it also has data in a DB2 table (if you're using iSeries) so there are multiple ways you can get the data, create the EDI Doc and transfer it.
We can handle either way...