<?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 Send a json file via email using workflows in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301896#M39298</link>
    <description>&lt;P&gt;Hi team&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have a workflow with a variable that contains a lot of information I want to send via email.&lt;/P&gt;
&lt;P&gt;The information is too large to be sent via email directly so I need a json file to be sent. I don't see a way to attach files though.&lt;/P&gt;
&lt;P&gt;What is the best way to do this? I've tried with Power Automate and Microsoft Entra but don't have enough permissions.&lt;/P&gt;
&lt;P&gt;Maybe via FTP? But how?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2026 07:09:47 GMT</pubDate>
    <dc:creator>elenaperez</dc:creator>
    <dc:date>2026-07-15T07:09:47Z</dc:date>
    <item>
      <title>Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301896#M39298</link>
      <description>&lt;P&gt;Hi team&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have a workflow with a variable that contains a lot of information I want to send via email.&lt;/P&gt;
&lt;P&gt;The information is too large to be sent via email directly so I need a json file to be sent. I don't see a way to attach files though.&lt;/P&gt;
&lt;P&gt;What is the best way to do this? I've tried with Power Automate and Microsoft Entra but don't have enough permissions.&lt;/P&gt;
&lt;P&gt;Maybe via FTP? But how?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 07:09:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301896#M39298</guid>
      <dc:creator>elenaperez</dc:creator>
      <dc:date>2026-07-15T07:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301923#M39299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58054"&gt;@elenaperez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The built-in&amp;nbsp;Send Email&amp;nbsp;action in Dynatrace Workflows does&amp;nbsp;not support file attachments&amp;nbsp; it only supports sending text/Markdown content in the email body, this is a known limitation.&lt;/P&gt;&lt;P&gt;The most reliable workaround: use the built-in HTTP Request action to call an external email API that supports attachments , encoding your JSON variable into the payload. Store the API key in the Credential Vault. This sidesteps the Power Automate/Entra permissions issue since you're not going through Microsoft at all.&lt;/P&gt;&lt;P&gt;Or 2nd approach could be, use HTTP Request to upload the JSON somewhere accessible (S3, Blob Storage or &lt;SPAN&gt;a file server&lt;/SPAN&gt;.) then use the Send Email action to send a link to the file rather than the file itself.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 03:28:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301923#M39299</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-07-15T03:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301962#M39300</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe this can be a product idea.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 13:23:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301962#M39300</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-07-15T13:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301985#M39301</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, this is right use case for product idea.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 21:51:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/301985#M39301</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-07-15T21:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302070#M39302</link>
      <description>&lt;P&gt;I don't think I understand the solution. Where do I get the external email API from?&lt;BR /&gt;Could you provide an example of how you would do this, please?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 13:48:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302070#M39302</guid>
      <dc:creator>elenaperez</dc:creator>
      <dc:date>2026-07-17T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302097#M39303</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58054"&gt;@elenaperez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure,&amp;nbsp;this is absolutely possible using Dynatrace Workflows. Here's how I've done it:&lt;/P&gt;&lt;P&gt;I have used here HTTP Request action with SendGrid API&lt;/P&gt;&lt;P&gt;Step 1: Generate JSON data (JavaScript action) sample example&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_2-1784337913446.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33705iC73C89919928E77F/image-size/medium?v=v2&amp;amp;px=400" alt="sujit_k_singh_2-1784337913446.png" title="sujit_k_singh_2-1784337913446.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step 2: Send email with attachment (HTTP Request action)&lt;BR /&gt;Method: POST&lt;BR /&gt;URL: &lt;A href="https://api.sendgrid.com/v3/mail/send" target="_blank" rel="noopener"&gt;https://api.sendgrid.com/v3/mail/send&lt;/A&gt;&lt;BR /&gt;Authentication: Bearer token (store your SendGrid API key in Credential Vault)&lt;BR /&gt;Payload:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_4-1784338092761.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33707i66AEA64FE1BED782/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_4-1784338092761.png" title="sujit_k_singh_4-1784338092761.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Store your API key in Dynatrace Credential Vault&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_5-1784338221035.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33708iADA334F4A232D760/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_5-1784338221035.png" title="sujit_k_singh_5-1784338221035.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;now run the flow&lt;/P&gt;&lt;P&gt;This approach works for any JSON data — problem notifications, metric exports, custom reports, etc.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_6-1784338355852.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33709iA9E35093F114DF14/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_6-1784338355852.png" title="sujit_k_singh_6-1784338355852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_7-1784338427054.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33710i5B8720BA6F571CF7/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_7-1784338427054.png" title="sujit_k_singh_7-1784338427054.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i got this email with attachment&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_0-1784337729539.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33703i2E5D48421470190E/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_0-1784337729539.png" title="sujit_k_singh_0-1784337729539.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2026 01:37:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302097#M39303</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-07-18T01:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302150#M39304</link>
      <description>&lt;P&gt;This won't be possible for them because their email blocks anything coming from SendGrid.&lt;BR /&gt;Would it be possible to send the json to an Ubuntu machine somehow? Maybe with EdgeConnect?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 09:47:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302150#M39304</guid>
      <dc:creator>elenaperez</dc:creator>
      <dc:date>2026-07-21T09:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Send a json file via email using workflows</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302162#M39305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58054"&gt;@elenaperez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, its possible.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tested this on my end — it works! Here's what I did:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Dynatrace tenant with EdgeConnect configured to reach my Ubuntu machine&lt;/LI&gt;&lt;LI&gt;Simple Flask webhook listener on the Ubuntu box (port 5000)&lt;/LI&gt;&lt;LI&gt;Dynatrace Workflow: On demand trigger → Run JavaScript (generate JSON) → HTTP Request (POST to webhook via EdgeConnect)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_1-1784632311812.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33720i4DACF9435146C47A/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_1-1784632311812.png" title="sujit_k_singh_1-1784632311812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_3-1784632400563.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33722iB80D2DE192B93A87/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_3-1784632400563.png" title="sujit_k_singh_3-1784632400563.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_2-1784632374326.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/33721iD6FBDC8499B9BBD2/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_2-1784632374326.png" title="sujit_k_singh_2-1784632374326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 11:15:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Send-a-json-file-via-email-using-workflows/m-p/302162#M39305</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-07-21T11:15:30Z</dc:date>
    </item>
  </channel>
</rss>

