Disclosed are compounds of Formula (I) N-oxides, or salts thereof, wherein A, G, R1, R5, and n are defined herein. Also disclosed are methods of using such compounds as inhibitors of signaling through Toll-like receptor 7, or 8, or 9, and pharmaceutical compositions comprising such compounds. These compounds are useful in treating inflammatory and autoimmune diseases.