BEST way to show GIF to user when row added?

What’s the BEST way to show a gif/animation when the user successfully performs some action? (in my case, adds an item to DB)

I’m a bit lost on how I should do this. Any guidance/tips would be great. Thx!

Show the thing when the thing happens. It’s literally that easy.