The 20-year-old singer quit the group in December 2016 to focus on her solo career, reported Daily Star.
On working with the "Crying in the Club" hitmaker, Diplo 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.