Add to a playlist using the Google Pixel 2's 'Now Playing' ambient feature. When your Pixel 2 device detects a song is playing, that song (if found on the Now Playing database) will be added to a Spotify Playlist.
Explore more great ways to automate Android Device and Spotify