〜をきっかけに・〜を契機に
prompted by, taking (X) as a turning point
Noun / Plain form + の + をきっかけに · を契機に
Sign up free to review this point on a spaced schedule.
をきっかけに names the event that triggered a change or a new start: 留学をきっかけに、国際関係に興味を持った, "studying abroad got me interested in international relations".
The first half is a turning point (an illness, a meeting, a move, a book), and the second is what began because of it: a new interest, a decision, a habit.
It follows a noun, or a clause made into a noun with の or こと: 日本に来たのをきっかけに.
を契機に means the same but is more formal and written, typical of news and history. をきっかけとして and をきっかけにして are also common.
Examples
留学をきっかけに、国際関係に興味を持った。
Studying abroad got me interested in international relations.
病気をきっかけに、たばこをやめた。
My illness prompted me to give up smoking.
ある本との出会いをきっかけに、作家を目指した。
Coming across a certain book made me want to become a writer.
結婚をきっかけに、仕事を辞めた。
I quit my job when I got married.
地震を契機に、防災意識が高まった。
The earthquake raised awareness of disaster prevention.