The present invention discloses triazine compounds of Formula II and a process to synthesize these compounds. Particularly, the invention provides one pot method to synthesize triazines nucleus, wherein the method comprises amination followed by using Leuckart reaction conditions of pyrrole/indole-2-carboxylates of Formula I to obtain corresponding triazine compounds of Formula II.