In order to extract items from a machine, place a Pipe in the bottom the Machine and redirect the flow to the chest.
You can add filters with items using right-click on the pipe.
Pipes can flow in all directions