The invention relates to a cassette that can be inserted into a flushing or suction machine used in an endoscope, comprising: a flushing tube (1i) or a suction tube (1a) and an inlet insert (3i) or two inlet inserts Connectors (3i, 3a) and supporters (5) for one outlet connector (7i) or two outlet connectors (7i, 7a). said tube or said two tubes form curved portions (9i, 9a) to engage said two inlet and outlet plugs respectively in the input direction (E) and output direction (S) of movement, And the two tubes form the irrigation suction area (11i) or the suction suction area (11a) which sucks in the input direction (E) and output direction (S) of the movement. According to said invention, the support 5 comprises a T-shaped guide (13) shaped as the head of a T so as to protect the curved portion (9i, 9a) of each tube (1i, 1a), And a slot (19) is machined along the main body of the T, said slot 19 guides the tube or the two tubes in the outflow direction (S) of the flow, and said T-shaped guide (13) is plugged in at the inlet or between two inlet inserts (3i, 3a) to form irrigation suction on both sides of said groove (19) between each inlet insert (3i, 3a) and the head of T area (11i) or suction out suction area (11a). Also disclosed is a cassette flushing or suction machine for endoscopes.