Definition of “afterthought” - Learner’s Dictionary

afterthought

noun [ C ] uk us /ˈɑːftəθɔːt/

something that you say or do later:

[ usually singular ] She only asked me to the party as an afterthought.

(Definition of “afterthought” from the Cambridge Learner's Dictionary © Cambridge University Press)