Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #371: Generate Corporate Email Addresses

AYXAcademy
Alteryx
Alteryx

 

A solution to last week's challenge can be found here

 

This challenge comes to us from @randall_king. Thank you for your contribution, Randy!

Use Designer Desktop or Designer Cloud, Trifacta Classic to solve this week's challenge.

 

email-image.pngYour Human Resources department received a CSV file with the names of all new employees hired for all stores in the last month. They want to create these new employees’ email addresses. The company uses the initials from an employee’s first name and last name to create these emails. For example, Ana Muniz would be assigned AM@organizationname.com. If more than one person shares the same initials, add a number after the second initial. For example, Alan Murphy would be assigned AM1@organizationname.com.

 

For this challenge, you can provide an intermediate or advanced solution.

 

For the intermediate solution, use the CSV file to generate the emails using the fixed company domain, organizationname.com. Your output file should contain the following columns:

 

  1. First Name
  2. Last Name
  3. Email Address

 

For the advanced solution, create an app where users can input a specific domain name through an interface similar to the one in the following image , and provide the same output as the intermediate solution.

 

App_Image.png

PhilipMannering
16 - Nebula
16 - Nebula

Here is the solution...attached.

 

Spoiler
PhilipMannering_2-1684160300853.png

Python Tool,

Spoiler
PhilipMannering_8-1684160448312.png

 

 

mmontgomery
11 - Bolide
11 - Bolide

Challenge 371

Spoiler
mmontgomery_0-1684158397762.png

 

Kenda
16 - Nebula
16 - Nebula
Spoiler
Kenda_0-1684158433538.png

 

benjimoser
9 - Comet

My Solution

Spoiler
benjimoser_0-1684159040141.png

 


 

RolandSchubert
16 - Nebula
16 - Nebula
Spoiler
W371.jpg
ahsanaali
11 - Bolide

Intermediate solution is attached. Followed the instructions regarding ID convention hence answer are bit different compared to the one provided.

Spoiler
ahsanaali_0-1684159239652.png

 

Advanced solution

Spoiler
ahsanaali_0-1684159949502.png

 

binuacs
21 - Polaris
Spoiler
binuacs_0-1684160981376.png

 

Flo_P
9 - Comet
Spoiler
My solution:
Flo_P_0-1684159352023.png

 

TimJVR
7 - Meteor
Spoiler
TimJVR_0-1684159447414.png

 

Including Advanced Solution