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.''
From their newest EP 'What Did You Think When You Made Me This Way', Nothing But Thieves drop the lyric video for their single 'Take This Lonely...
The Lumineers honour their friend and hero Tom Petty with a sensational cover of his 1996 song 'Walls' from the 'She's the One' soundtrack.
Watch Olly Murs get his nerd on as he blags his way into an exclusive Snoop Dogg party (where Rowan Atkinson is the bartender) in the video for their...
From 'Happy' to 'Banana Pancakes', these are soaked in positivity.
Mariah Carey is the picture of glamour in the black and white video for her brand new single 'With You'. It's the lead single from her forthcoming...
Eminem draws attention to the negative response his 2017 album 'Revival' received in the video for his latest song 'Venom'; a song recorded for the...
With the recent release of her third, very well received album 'Hunter' just behind her, Anna had plenty of relatively new songs to showcase.