Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

need to use alert activity after data extraction activity

Avatar

Level 5

Hello all, 

 

in a workflow I need to use Data extraction activity and then attach the file extracted in Data extraction activity to Alert activty and send email notification......please help me how can i achieve this..............

 

@_Manoj_Kumar_

@ParthaSarathy 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 4

HI @Shruti1,

It is not possible to directly attach a file from the Data extraction activity to the Alert activity in Adobe Campaign Classic, because the native Alert activity does not support file attachments out of the box. Instead, use a combination of Data Extraction and a standard Email Delivery activity that supports attachments, as detailed below.

  • Perform the Data Extraction (Extract file activity) as usual to generate the required file (e.g., CSV or TXT).
  • Store the output filename in a variable (such as vars.filename or instance.vars.filename) immediately after extraction this can be achieved using a JavaScript activity if custom variable handling is needed.

  • Add an Email Delivery activity (not Alert) and set the target audience to your operator group (using xtk:operator mapping).

 

  • In the Email Delivery activity, add a “calculated attachment” referencing the file extracted earlier, using the filename variable. For dynamic attachment, input the path as {vars.filename} or the relevant instance variable.

I’ve previously shared the same approach and code in the community, so you can refer to it here:
https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/attach-a-csv-file-...

Thanks
Sushant Trimukhe