Activates immune responses through RECEPTOR-LIKE KINASE7 (RLK7). Induces stomatal closure is dependent on RLK7 and the transcription of genes involved in SA production and SA-dependent stomatal closure. SA promotes the flg22-induced expression of PIP1 preligand, prePIP1.