Convert HTML to CSV and send to CSV file in Email

Certified Senior Developer

Hello there,

I wanted to convert html to csv file and send CSV file in email.
 I have used "HTML Doc from Template" node and "Convert HTML to CSV" node. My CSV file has generated at backend folders but HTML file is going in email. How Can i send a CSV file in email?

Please suggest.

Thanks

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Hello @stefan

    Can you please look into this?

    <HTML>
    <BODY>



    <table>


    <tr>
    <td> <label> <b> Security </b> </label> </td>

    <td> <label> <b> Settlement_Date </b> </label> </td>

    <td> <label> <b> Side </b> </label> </td>


    <td> <label> <b> Quantity </b> </label> </td>


    <td> <label> <b> Trade Currency </b> </label> </td>

    <td> <label> <b> Account </b> </label></td>

    <td> <label> <b> Model Portfolio </b> </label> </td>

    <td> <label> <b> RefCode9 </b> </label></td>
    </tr>
    <tr>
    <td>###col1###</td>
    <td>###col2###</td>
    <td>###col3###</td>
    <td>###col4###</td>
    <td>###col5###</td>
    <td>###col6###</td>
    <td>###col7###</td>
    <td>###col8###</td>
    </tr>


    </table>


    </BODY>
    </HTML>


    This is my html template. I need to use foreach in this template. 
    Can we use foreach for this row?

    <tr>
    <td>###col1###</td>
    <td>###col2###</td>
    <td>###col3###</td>
    <td>###col4###</td>
    <td>###col5###</td>
    <td>###col6###</td>
    <td>###col7###</td>
    <td>###col8###</td>
    </tr>

    Thanks

Children