Disclosed are compounds of Formula (I) N-oxides, or salts thereof, wherein G, A, X, Y, Z, R1, 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.