The 20-year-old singer quit the group in December 2016 to focus on her solo career, but had already teamed up with the Major Lazer star to work on her own material before she decided to leave.
Diplo - whose real name is Thomas Pentz - had no preconceptions of the Cuban beauty's talent because he wasn't familiar with the 'Work from Home' hitmakers until he'd met Camila.
However, he was blown away by her capabilities.
Of working with the 'Crying in the Club' hitmaker, the producer said: ''We love Camila and she's been working with us for a while, even before she left Fifth Harmony, and I just thought she is dope.
''She came and met me in Miami and I didn't know who she was or what band she was in, I was just told she's into music.
''I just she's really talented.''
The pair teamed up with rapper Travis Scott for 'Known No Better', but it wasn't the easiest of collaborations and they got over some hurdles along the way.
Travis, 25 - who is dating reality star Kylie Jenner - was hit with technical glitches with his computer dying on him, but Diplo says it was a real honour to work with the ''high-in-demand'' rapper.
Diplo told the Daily Star newspaper: ''Travis Scott was hard to get on the record.
''His computer broke whilst we were recording, his mic died and I had to keep going to his house to wake him up at like two in the afternoon.
''That guy's prolific, he has a lot of love and he's a really hard worker but he's just in demand right now.
''It was cool getting to do something like this with him though.''
Janelle Monáe parties and drives with her girl squad in the video for her latest single 'Crazy, Classic, Life', taken from her album 'Dirty...
Continuing the softer sound of their 2015 release 'That's the Spirit', BMTH are about to release 'Amo' (January 25th 2019) featuring their newest...
To coincide with the new BBC mini-series adaptation of leporine epic Watership Down, Sam Smith has unveiled a new single entitled 'Fire on Fire'.
Her first single since leaving the jungle on 'I'm a Celebrity... Get Me Out of Here!', Fleur East drops the super-choreographed video for 'Favourite...
Dropping the video for his latest album's second single, 'Excuses', is Olly Murs just months after the release of 'Moves' featuring Snoop Dogg.
Professor Green and Rag'n'Bone Man have teamed up for a heart-wrenching video for their single 'Photographs'.
He released 'Everythang's Corrupt' last month, and now Ice Cube has dropped a video for the record's third single 'That New Funkadelic'.
Dappy has unveiled a new stripped down number entitled 'Count On Me' more than six years after the release of his debut solo album.