We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
fireworks

Email Notification Macro

vatagarw
6 - Meteoroid

Hi,

 

I am trying to build a macro where I can send Email notification.

Now alert are sent as follows : 

 

1) Depends on Combination of category ( eg: Car, Bike, Truck..) and country (India, UAE, USA..)

2) For Car- 

IDName CityCountryCarFlagCarDate

 

For Bike :

IDName CountryBikeFlagBikeDate

 

For Truck :

IDName CountryTruckFlagTruckDate

 

These column will be send

3) There is a flag by which rows are selected. 

4) In Email - Table is send which is built as per 2nd point.

 

Please check attached excel sheet to get an idea of dataset.

 

Thanks 

2 REPLIES 2
ArtApa
Alteryx
Alteryx

Hi @vatagarw - I'm not sure what is your question?

vatagarw
6 - Meteoroid

Hi @ArtApa 

Sorry for inconvenience. I have added details , I can't add a workflow due to organization issue. 

I am having 2 dataset.

Table 1 :

vatagarw_2-1661322071821.png

 

Table 2: 

vatagarw_3-1661322110283.png

 

Below workflow is for sample made without macro. 

vatagarw_0-1661320584277.png

--> Use filter in 1st Table, CarFlag = 'Y' then we will add Category column as 'Car' and select columns which are required(City is selected only for Bike Category) and then join with Table2 on Country and Category.

--> Table 2 just have Name, Category, Country, Email IDs(each combination of Name, Country, Category will have different), Subject and Body.  Then make a basic table (with Chosen Columns in a table).

vatagarw_1-1661321727549.png

--> Step1 and 2 similarly for other categories. 

--> Union All the output of Basic Table and append Report Text with Thanks and Regards (Signature) 

Then Mail it.

 

Please let me know if you need any other information.

 

 

 

Labels
Top Solution Authors