Hi everyone,
I am working on a new flow that pulls a list of tasks from a SharePoint List, converts it into an HTML table and then automatically sends this list to a group chat on Microsoft Teams. I am having a lot of trouble trying to change the date and time format from one of the fields in the SharePoint List. I have tried numerous expressions and have been researching this for days, but nothing seems to be working.
Here is a screenshot of my flow:

The default date and time format that is showing up is the following "2024-04-11T04:00:00Z". I have tried to create an expression for "Due Date" as part of the "Select" step of my flow to change the date and time format. I am using the following expression:
if(empty(body('Get_items')?['Received from']), null, formatDateTime(body('Get_items')?['Received from'],'yyyy-MM-dd')).
For context, the field that I am trying to pull this from in my SharePoint List is a tasking due date column with simple date and time picker. Some fields in this column may not have a date or time indicated. What is strange is that when I run this flow, I can see the Due Date outputs I am getting at the 'Select" step are all "Null", even for items that I have a date and time indicated in the SharePoint List.
Any help you could provide would be greatly appreciated as I can't seem to find a solution!