logo
search
Others

How to Use True or False Conditions in Power Automate

John WilsonJohn Wilson Oct 9, 2026 869 views

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.

How to Use True or False Conditions in Power Automate
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.
Before you start

Ensure you have active access to Microsoft Power Automate and have already connected your Microsoft Forms response trigger to your flow.

Solution 1Recommended

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.

1
Open your workflow

Go to Microsoft Power Automate, open your existing flow, and locate the step where you retrieve the Microsoft Forms response details.

2
Add a Condition control

Click 'New step' in the flow designer, search for 'Condition', and select the Condition control action to create a branching logical test.

3
Configure the logic 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').

4
Add task creation action

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.

5
Seek specialized community help

If your form requires complex nested branching or advanced string evaluation, post your flow design on the Microsoft Power Automate Community for expert review.

Set Up Conditions for Nonempty Values in Power Automate
Advanced Expressions: For more robust checks, you can use the empty() expression in the dynamic content editor to evaluate if a string is completely devoid of data.
Free Microsoft Office alternative

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. 1. Download the software: Visit the official WPS website to download the free, lightweight office suite.
  2. 2. Open existing files: Seamlessly open and edit your Microsoft Office documents and spreadsheets directly in WPS Office.
  3. 3. Manage data easily: Utilize the robust spreadsheet features to filter, process, and analyze your form collection data efficiently.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Includes built-in tools for seamless data collection and form creation.Lightweight design ensures smooth performance on Windows, Mac, and Linux systems.Familiar, intuitive user interface makes migrating from Microsoft Office effortless.
microsoft office alternative - wps office

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.