title: Using Logic Apps, how can I input a formatted Table of results from an SQL Stored Procedure into SendGrid Email
body: <p>Once a day, I need to run an SQL Stored Procedure, which collects a list of results.  I then need to input the results, as a nice user friendly table, into an e-mail (SendGrid).</p>
  
  <p>So far, I have setup all connections and got the Logic App to work but the e-mail it generates displays the results like this:</p>
  
  <p>{"Table1":[{"CaseID":"1000001","DateOfUdate":"2020-06-09T11:34:57.483"},{"CaseID":"1000002","DateOfUdate":"2020-06-09T11:34:57.483"},{"CaseID":"1000003","DateOfUdate":"2020-06-09T11:34:57.483"},{"CaseID":"1000004","DateOfUdate":"2020-06-09T11:34:57.483"}]}</p>
  
  <p>How can I get this to be displayed as a proper table?</p>
  
  <pre><code>Case ID    DateofUpdate
  1000001    2020-06-09T11:34:57.483
  1000002    2020-06-09T11:34:57.483
  1000003    2020-06-09T11:34:57.483
  1000004    2020-06-09T11:34:57.483
  </code></pre>
  
  <p>Below are images of my Logic App - please let me know if I need to provide more information.</p>
  
  <p><a href="https://i.stack.imgur.com/cXrR7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cXrR7.png" alt="Schedule"></a></p>
  
  <p><a href="https://i.stack.imgur.com/9NuHP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9NuHP.png" alt="Stored Procedure"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ABSad.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ABSad.png" alt="SendGrid Email"></a></p>