I have a task in which i want to send a SQL QUERY OUTPUT as mail body using Power Automate and ADF. i am creating a Lookup activity in ADF where i am passing my query as: select * from adventure table where Animals = 'Lion' and Jungle = 'Amazon'. this table is available in the SQL Database.
the output of the above query i want to send in mail body not as csv attachment but as mail body only in form of table so third party can directly view the data in mail only using Power Automate Flow. this flow should run in every 1 hour daily.
mail SUbject should look like:
FROM: [email protected]
TO : [email protected]
Subject: Animals Details
Hi XXXXX,
these are the animal details :
output of SQL query:
in table format
Thanks Retailer