It happened in Oswestry, Shropshire, in January last year.
Arsene Cubaka, 24, Nathan McCarthy, 23, and Telmo Bernardo, 19, admitted GBH. Luke Cross, 23, was convicted of threats to kill and threats to cause criminal damage after a trial.
They were sentenced at Stafford Crown Court on 9 January.
See more stories from across Shropshire here
The court heard that at around 20:00 GMT on 23 January 2016, police were called to reports that a man in his 40s had been stabbed at an address in Castlefields, Oswestry.
In the following days and weeks, the four men were arrested and remanded in custody.
Police said inquiries, including analysis of mobile phones, established that they had been in contact with each other and had worked together to carry out the attack.
Those convicted are:
Det Insp Mark Bellamy from West Mercia Police described it as a "pre-planned and orchestrated attack".
"The victim required life-saving surgery and was extremely fortunate that the stabbing did not fatally wound him," he said.
"I hope that the sentences given to these four men enable him to begin the process of moving on with his life following this ordeal."

Scientists at University College London discovered people tend to think that their hands are wider and their fingers are shorter than they truly are.
They say the confusion may lie in the way the brain receives information from different parts of the body.
Distorted perception may dominate in some people, leading to body image problems, a US journal reports.
Lead researcher Dr Matthew Longo said: "These findings may well be relevant to psychiatric conditions involving body image such as anorexia nervosa, as there may be a general bias towards perceiving the body to be wider than it is.
"Our results show dramatic distortions of hand shape, which were highly consistent across participants."
In the study in Proceedings of the National Academy of Sciences, Dr Longo's team asked 18 volunteers to take part in an experiment.
The volunteers were asked to put their left hands palm down under a board and judge the location of the covered hand's knuckles and fingertips with a pointer.
This revealed striking distortions - the volunteers tended to misjudge their hands as wider and their fingers as shorter than they actually were.
The researchers say the distortions are subconscious and involve the ability known as position sense that the brain uses to know where all parts of the body are in space even when the eyes are closed.
Dr Longo said: "Of course we know what our hand really looks like, and our participants were very accurate picking out a photo of their own hand from a set of photos with various distortions of hand shape.
"So there is clearly a conscious visual image of the body as well. But that visual image seems not to be used for position sense."
Susan Ringwood, chief executive of the eating disorders charity Beat, said: "We know that one of the features of anorexia nervosa can be distorted body image.
"People affected can truly believe that they are grossly fat, even when they are dangerously underweight.
"They are able to judge other people's bodies quite accurately and would describe someone else the same size as themselves correctly, but still not be able to do that about their own weight and shape.
"This brain study may give some insight into how this could be possible, and could be very motivating for people with eating disorders to know that there was a biological explanation for their experiences, rather than feeling it was their fault."
Four men have been jailed following a "pre-planned and orchestrated attack" in which a man was stabbed and left needing life-saving surgery.
[NEXT_CONCEPT]
The brain naturally distorts body image - a finding which could explain eating disorders like anorexia, say experts.