How to Use True or False Conditions in Power Automate
Question details
The user needs to configure Power Automate to create tasks based on Microsoft Forms responses by filtering out empty optional fields using logical conditions.

- Product
- Microsoft Power Automate
- Device & OS
- not provided
- Scenario
- Processing Microsoft Forms responses that contain a yes-or-no question and multiple optional fields for outstanding invoices.
- Observed behavior
- Tasks should only be created when the optional invoice fields contain actual text, which requires evaluating whether the fields have a nonempty value.
Ensure you have active access to Microsoft Power Automate and have already connected your Microsoft Forms response trigger to your flow.
Set Up Conditions for Nonempty Values in Power Automate
Add condition controls to your flow to check if each optional form field contains text before proceeding to create a task.
When processing optional fields from Microsoft Forms, Power Automate needs a logical test to determine if data exists. By evaluating whether a field is not equal to empty (null), you prevent the creation of blank tasks and ensure your workflow only processes valid invoice entries.
Go to Microsoft Power Automate, open your existing flow, and locate the step where you retrieve the Microsoft Forms response details.
Click 'New step' in the flow designer, search for 'Condition', and select the Condition control action to create a branching logical test.
In the first input field, select the optional invoice field from the dynamic content list. Set the operator dropdown to 'is not equal to', and leave the second field entirely blank (or input the expression 'null').
Inside the 'If yes' branch of the condition, add your task creation action (such as Microsoft Planner or To Do) and map the form response data to the task details.
If your form requires complex nested branching or advanced string evaluation, post your flow design on the Microsoft Power Automate Community for expert review.

Streamline Your Document and Form Workflow with WPS Office
While Power Automate manages Microsoft ecosystem workflows, you can simplify your daily document and data collection tasks using WPS Office. It provides a lightweight, highly compatible alternative for word processing, spreadsheets, presentations, and forms without the hefty subscription fees.
- 1. Download the software: Visit the official WPS website to download the free, lightweight office suite.
- 2. Open existing files: Seamlessly open and edit your Microsoft Office documents and spreadsheets directly in WPS Office.
- 3. Manage data easily: Utilize the robust spreadsheet features to filter, process, and analyze your form collection data efficiently.

Frequently Asked Questions
How do I check if a field is completely empty in Power Automate?
You can use the Condition control and set the target field 'is not equal to' blank, or use the empty() expression in the dynamic content editor, which returns a true or false boolean value.
Can I use multiple conditions for different optional form fields?
Yes. You can add parallel branches or sequential Condition controls to evaluate each optional form field independently before creating a task for that specific data entry.
What if my yes/no question determines if the rest of the flow should run?
Place a primary Condition right after your trigger to check if the response to the yes/no question is equal to 'Yes'. Put all subsequent field checks and task creation actions inside the 'If yes' branch of this main condition.




