Recently, we converted our Tableau licenses from perpetual to subscription-based. As a result, I had to send everyone with a Tableau Desktop license a new Tableau Creator license key. Each email had to be customized to that individual person and include the license key they were assigned. Now, I know Tableau allows you to assign keys in the portal, but that has to be done manually for each key AND users receive a not-so-pretty email that can't be customized.
Instead, my team maintains an Excel file of all license keys and who they belong to. As people request licenses, we manually send them a customized email with their license key and some helpful information to get started. This is easy enough when it's done sporadically, but to send new license keys to EVERYONE was a tall (and boring) order. I knew there had to be a better way and then I remembered Alteryx has the capability to send emails.
The first thing I needed to do was prepare the data I needed for each email. This is what I used, but you can absolutely customize to your needs. Basically, you need to consider what changes between when you send an email to Person A and Person B.
- The first name of the employee (used in the greeting)
- Their email address (where is the email being sent)
- Their shiny, new license key
Prepare the Data
I exported the new keys from Tableau's Customer Portal and pasted them alongside my existing Excel file of Tableau Desktop users (this part was a random assignment). Then, I needed email addresses for each users, which exist in the Postgres database that lives behind Tableau Server. So I connected to the database and built a quick table using the system_users table. I had to do a vlookup from this data to my Excel file. Finally, I used a space to delimit first name from last name. Your data may be formatted differently, obviously. Once I had my data in the format required, I turned to Alteryx.Build the Workflow
The first tool I used was a text input tool, though you could use the basic input tool and connect to your Excel file. The text input tool allows you to copy and paste in your data, though, so for something as one-off as this, I went that route.
Use Cases
- Conduct an A/B test to see which subject line or email body people respond to best.
- Customize attachments to each user based on their interests.
- Personalize the contents of each email based on notes associated with each person.
- Provide a status report and customized statistics for each recipient.
- Dynamically change the time to be in the relevant time zone.