cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How to export csv file attached in the mail from workflow

How to export csv file attached in the mail from workflow

Lunee
New Contributor
I want to export csv file attached in the mail from workflow. I am able to export the textfile but I want to export csv file instead of textfile.
8 REPLIES 8

Zdeněk_Pala
Extreme Employee
if your workflow creates a CSV file then the email activity can send it as an attachment.
The CSV attachment then can be opened in your application (e.g. Excel).

Please explain in more details where is the issue. An example will help.
Regards Zdeněk Pala

Hi,
I have a workflow that runs a command in switch and I can send the output of the switch in email in textformat but I want that to be send as a CSV format. Here is the exampleworkflow.

The CSV format is text format where columns are delimited by comma (https://en.wikipedia.org/wiki/Comma-separated_values).
The code you shared should generate a file. I expect there is another activity that sends the file by email.
Can you share the attachment from that email?

I still do not understand what is not working. šŸ˜ž
Regards Zdeněk Pala

From the above program I only receive a name of the file but not the content of the file in my email.---> /tmp/.csv
GTM-P2G8KFN