Two Taiwanese men who helped operate a criminal syndicate that ran slave houses in Brisbane are to be immediately deported by Australian authorities.

In the Brisbane District Court today, Bo-Syun Chen and Yu-Hao Huang both pleaded guilty to causing a person to enter into servitude.

The court heard the pair was involved in managing dozens of other foreigners at two homes — one on Dorchester Street at South Brisbane and the other on Beelarong Street at Morningside.

The court was told the men helped run a fraudulent call centre in suburban Brisbane that forced other foreign nationals to take part in an international scam.

In August 2015, police raided a large house in Morningside after one of the workers escaped and raised the alarm.

He flagged down a passing motorist who took him to a nearby police station.

When police arrived at the home, they found Chen and Huang, along with 24 workers at the house.

Prosecutor Daniel Whitmore told the court the workers were told to pose as post office workers and use a makeshift call centre to target Chinese citizens.

Mr Whitmore said they had their passports confiscated and were forced to work from 7:00am until 11:00pm, made to shower together and never allowed to leave the house.

First prosecution of relatively new offence: judge

Judge Tony Moynihan told the court the victim who escaped suffered "psychological trauma".

"He was, while in that house verbally abused, threatened and told it was impossible for him to leave," he said.

Judge Moynihan said Chen and Huang had both expressed some remorse and had behaved well in custody since August 2015.

He said Huang, 28, was in charge of the call centre and became involved in the criminal organisation when his sister disappeared without a trace.

He sentenced Huang to three years' jail, while Chen was sentenced to two-and-half years in jail.

Judge Moynihan said the charge was a relatively new offence.

"I am informed it's the first prosecution and sentence for it," he said.

Huang and Chen will be released today on good behaviour after time already served, to be immediately deported to Taiwan.