Hello all,
I'm trying to pull data from a SharePoint list to send automated emails a selected intervals however, I'm having some trouble pulling the data.
I'm trying to use a compose card to pull data from SharePoint to send automated emails at certain intervals.
1. formatdatetime(triggerBody()?['Assign_x0020_Date'],'dddd MM/dd/yyyy')
2. formatdatetime(triggerBody()?['Deadline_x002f_Date_x0020'],'dddd MM/dd/yyyy')
I've tried to use the two expressions above as compose cards. The SharePoint data consists of 6 columns: Title, Email, AssignDate, Reminder 1 , Reminder 2, DeadlineDate. I'm trying to create the compose cards as AssignDate and DeadlineDate so I can put them in the body of the email as dynamic data. Sample below:
Delay Until Card - Reminder 1
Send Outlook Email Card:
Hello, "Title" (dynamic data from SharePoint list)
This is your reminder to update the ticket status
The ticket was assigned on "AssignDate" (dynamic data from SharePoint - Compose 1)
The ticket resolution deadline is "DeadlineDate" (dynamic data from SharePoint - Compose 2)
Any suggestions? I want to ensure the time and date format are MM/DD/YYYY
Note: please disregard the fact that there is no email field in SharePoint and that the wording is different in the email body.

