Described herein are compounds of Formula I:or a pharmaceutically acceptable salt thereof, wherein A, R1, R2, R3, W, X, Y, Z, m, n and p are as defined herein. The compounds of Formula I act as RIPK1 inhibitors and can be useful in preventing, treating or acting as a remedial agent for RIPK1-related diseases.