Hello,
I am trying to create a Flow that populates an email field when a new item is created and if "Email workouts" is set to yes.
I have 2 lists: 1) List of Clients which is where the email field is populated. 2) Create workout. When a new workout is created and if email workouts equals yes, I want the flow to find the corresponding email address from List of Clients and populate the E-mail field based on the Client Name.
The plan is to create a button in my PowerApps app that when clicked on emails the selected workout to the client.
Here's the Flow I have set up so far.
1. When an item is created in Create workout list
2. Get items from List of Clients w/Filter Query = E-mail eq 'E-Mail' *second E-mail choses from Dynamic Content
3. Apply to each = value
4. Update item in Create workout list using ID and on the E-mail field I added E-mail from Dynamic Content.
I'm getting "BadRequest" Status code 400.
{
"status": 400,
"message": "The expression \"E-mail eq ''\" is not valid.\r\nclientRequestId: 2b5f6fa3-b2d7-45e6-9eb6-48bfd8aa0fb1\r\nserviceRequestId: db07a09e-e0f8-7000-0ba3-4a33337722d5"
}