@FLMike
Thanks for your response. Great questions. It is because of those questions and trying to write out my explanation that I found the errors and made it work finally. Below are all my missteps. Hope it helps someone else as well.
Steps:
First Attempt: I tried just going to my flow and searching for the field under Dynamic Content. It wasn't there so it dawned on me that there was nothing pulling it in from the Canvas App since it was not under Get Items.
Second Attempt:
I added it to the data being pulled in from the form. In my Canvas App, I have multiple multi-select combo boxes that I needed in my email formatted as a list. I accomplished that by adding to my save button labeled "Send Export Email" under OnSelect the following code:
ConferenceAttendeeEmail.Run(DataCardValue36.Text,
Coalesce(Concat(DataCardValue23.SelectedItems, Value & "<br>"), "None"),
Coalesce(Concat(DataCardValue19.SelectedItems, Value & "<br>"), "None"), ETC.
I added them into my flow as follows. They then appeared under my Dynamic Content in order to use in my email.
I add the DueDate to the OnSelect coding above (DueDate.SelectedDate), but I got the error "Invalid number of arguments: received 12, expected 11". When I added DueDate to the Power Apps (v2) in my flow as a date input, that error was corrected. (Took two tries since at first I added DueDate to my code in the Canvas App after DataCard Value36, not remembering that the code in the Canvas App needs to match the order of the input being added under Power Apps (V2). It worked when I added DueDate at the end of the code.)
ConferenceAttendeeEmail.Run(DataCardValue36.Text,
Coalesce(Concat(DataCardValue23.SelectedItems, Value & "<br>"), "None"),
Coalesce(Concat(DataCardValue19.SelectedItems, Value & "<br>"), "None"),
DueDate.SelectedDate)
However, when I went to my form to test, I get the following error: ConferenceAttendeeEmail.Run failed: { "error": { "code": "TriggerInputSchemaMismatch", "message": "The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'String '8/5/2024' does not validate against format 'date'.'." } }
The format of the date field in my Canvas App is: DateTimeFormat.ShortDate
When I added DueDate under Power Apps (V2) it shows: Please enter or select a date (YYYY-MM-DD)
I found an article that showed how to fix it by changing how the app sends the data to the flow:
ConferenceAttendeeEmail.Run(DataCardValue36.Text,
Coalesce(Concat(DataCardValue23.SelectedItems, Value & "<br>"), "None"),
Coalesce(Concat(DataCardValue19.SelectedItems, Value & "<br>"), "None"),
Text(DueDate.SelectedDate, "yyyy-mm-dd"))
I was now able to pull the DueDate into my email. :)