Disclosed herein are 6-heterocyclic-imidazo[1,2-A]pyrroion-2carboxamide compounds for formula (I), wherein the substituents are as defined within the specification, processes for their preparation, compositions comprising said compounds and uses thereof. Said compounds are used in the treatment or prevention of diseases involving nuclear receptors Nurr-1, also known as NR4A2, NOT, TINUR, RNR-1 and HzF3, as such are useful in treating neurodegenerative diseases, cerebral trauma, epilepsy, psychiatric diseases, inflammatory diseases, osteoporosis, cancers, Parkinsons disease, Alzheimers Disease, tauopathies, multiple sclerosis, schizophrenia, depression, substance dependency and attention-deficit hyperactivity disorder. Also discloses are intermediate compounds which are useful in the preparation of the compounds of formula (I),