The activation of genes whose promoters contain a specific sequence elements such as the unfolded protein response element (UPRE; consensus CAGCGTG) or the ER stress-response element (ERSE; CCAAN(N)9CCACG), as a result of signaling via the unfolded protein response.