Skip to main content
Average ER Wait Time
Checking ER Wait Time
The feed could not be reached
Web Q
Web Q 2

Spotify Playlist - Instructions


This spotify playlist widget sends an email with a spotify playlist based on the user selected answers. It should primarily be used on interior pages with any HUT page template.


For this widget to function properly, the following parameters are required:

  • $webq_spotify_playlist_email_template - relative URL of the email template

Optional parameters :

  • $webq_spotify_playlist_notification_email - optional - email address to send notifications
  • $webq_spotify_playlist_notification_email_template - required if $webq_spotify_playlist_notification_email populated - relative URL of the notification email template


To setup this widget, follow these steps:

  1. Build the HTML pages for the email templates on the actual host using the "WebQ - Blank No HTML" template and the "WebQ - Spotify Playlist - Email Template" and "WebQ - Spotify Playlist - Send Notification" web page content from the host. i.e.: and
  2. Set velocity parameters and dotparse the widget's code.
    #set($webq_spotify_playlist_email_template = "/local/custom/spotify-playlist/
    #set($webq_spotify_playlist_notification_email = "")
    #set($webq_spotify_playlist_notification_email_template = "/local/custom/spotify-playlist/")

Styles - Is this still needed?

The widget styles are in the and stylesheet. Make sure this is included in /util/custom/start.vtl.

Use Snippet Generator

View Demo