を契機に => as a good opportunity/chance to N2
Expected
を[機「き」]に => Use A as an opportunity N1
Time, Situation
に気がつく => to notice; to realize N4
を[契機「けいき」] => As a good opportunity A, (do) B N2
Information, Report
とかく…がちだ => apt to do, tend to do N2
Trend
~かいもなく/~がいもなく      => despite; even though ~. I tried hard / hard but unfortunately ~ N1
がなくもない => it's not that; I may (double negative) N2
Position, perspective
をきっかけに/を契機に => with… as a start; as a result of; taking advantage of N2
..は, ...が => Compare は and が N5
Compare
甲斐がない/甲斐(も)なく => it's not worth one's efforts to do something N2
てくれてありがとう => Thank you for doing A N4
Honorifics
が  => but N5
Contrast