An apparatus and system for forming a compression anastomosis. The apparatus includes an anastomotic device with an anastomotic portion including a first end and a second end. The anastomotic portion is formed of a ferrous, magnetic, or paramagnetic material. At least one flexible portion protrudes from the first end of the anastomotic portion. The at least one flexible portion includes an articulation node located at a predetermined distance from the first end of the anastomotic portion. The articulation node enables the at least one flexible portion to move relative to the anastomotic portion. The system further includes a magnet having a first end and a second end. The magnet is adapted to magnetically couple to the anastomotic portion of the anastomotic device and to compress tissue between the magnet and the anastomotic device. The compressive force on the tissue is sufficient to create a compression anastomosis through the tissue.