Here is a blueprint that demonstrates the process. I filled the box with sand after placing the blueprint, the machine would work, and all the matter would disappear.
Once I deleted and replaced the pipe output of the matter factory, the matter started flowing into the tank.
0eNqV0s1qhDAQB/BXWeacLH7WJcc99NYnWEqJ61SCJpE4LhXx3RtTagsqtMcJmV/yZ2aCsh2wc8oQiAnU3ZoexG2CXtVGtssZjR2CAEWogYGReqm0JELH3+WdrBthZqBMhR8g4vmVARpSpPBLCsX4ZgZdovMXjgwGne19mzXLq56KGIwgeDrPbKMkq9JaWXmlcTzKtgZPAhL7D37nMN1AsEOm/yOTH9IOdGBmq9kpf/UgYrKXMP9Ta7zX+rS2NlxjpQbN670c5zwY6TnfU4pV6f18ZI2cpGm2ThyQbF4GH5ZE/NopBq0s0e8RXJ1t0JxewtBPz+vQH+j6gBVpFF/yIrlEPtQnE13Ziw==