When you like a video on YouTube, Spotify will look for the associated song and add it to a "YouTube Likes" playlist. Note that not all songs are available on Spotify.
Then
Add track to a playlist
This Action will search for a track and add the first result to a playlist you specify.
ID zQG3EpjU
Explore more great ways to automate Spotify and YouTube