<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Playbook: How do I turn string into a CSV email attachment? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695487#M11623</link>
    <description>&lt;P&gt;I've got a string that contains CSV contents. How do I send an email that has an attachment which is made from my string variable?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 05:04:30 GMT</pubDate>
    <dc:creator>dulguun</dc:creator>
    <dc:date>2024-08-07T05:04:30Z</dc:date>
    <item>
      <title>Playbook: How do I turn string into a CSV email attachment?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695487#M11623</link>
      <description>&lt;P&gt;I've got a string that contains CSV contents. How do I send an email that has an attachment which is made from my string variable?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 05:04:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695487#M11623</guid>
      <dc:creator>dulguun</dc:creator>
      <dc:date>2024-08-07T05:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Playbook: How do I turn string into a CSV email attachment?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695613#M11625</link>
      <description>&lt;P&gt;If I understand correctly, you would like your string to be converted into a .csv file, and attached to an email sent by SOAR?&lt;/P&gt;&lt;P&gt;This would likely be a multi-step procedure:&lt;/P&gt;&lt;P&gt;1. Use a custom function to write the CSV to a temporary file on disk.&lt;/P&gt;&lt;P&gt;2. Use a custom function to call phantom.vault_add() to convert the temporary file on disk into a CSV in the vault.&lt;/P&gt;&lt;P&gt;3. Pass the ID of the file in the vault to the email action block as the attachment input.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I personally have never gotten the SMTP app to successfully send file attachments, so I would recommend testing sending email with a file already in a vault before starting steps 1 and 2.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 20:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695613#M11625</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-08-07T20:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Playbook: How do I turn string into a CSV email attachment?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695929#M11640</link>
      <description>&lt;P&gt;Thank you. It worked.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 00:49:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Playbook-How-do-I-turn-string-into-a-CSV-email-attachment/m-p/695929#M11640</guid>
      <dc:creator>dulguun</dc:creator>
      <dc:date>2024-08-12T00:49:22Z</dc:date>
    </item>
  </channel>
</rss>

