Complex sentence: Legend has it that Namboothiri (while in the Peruvanam village) went to Kanchipuram to visit the Kamakshi Amman Temple and happy with the devotion of the Namboothiri, Kanchi Kamakshi decided to come to Kerala on his palm leaf umbrella.
Split into simpler sentences: Legend has it that Namboothiri (while in the Peruvanam village) went to Kanchipuram to visit the Kamakshi Amman Temple. Happy with the devotion of the Namboothiri, Kanchi Kamakshi decided to come to Kerala on his palm leaf umbrella.