for Microsoft Power Automate and Azure logic apps

By Jay Goodison

21st September 2023

Comparing text and strings in Power Automate

Post #8 of our Build Flows Faster series covering our new utility actions for Power Automate. We will publish many more posts and accompanying videos over the coming weeks, but today’s lesson is about comparing text values (strings) in Power Automate.

Our utility actions are targeted at helping you build flows more quickly with less complexity, and they brilliantly only use 0.05 actions from your Encodian Flowr and Vertr subscription allowance. For example, under a standard plan that permits 500 actions per month (uses), you could use the utility actions 10,000 times!

Introducing the ‘Compare Text’ Utility Action

The ‘Compare Text‘ utility action compares the two text values provided returning a Boolean value where ‘true’ means the text values provided are equal, and ‘false’ means the text values provided are different.

Video Guide: Comparing text and strings in Power Automate

Instructions: Comparing text and strings in Power Automate

As with many of our utility actions, there are myriad of scenarios where you may need to compare two text values,  therefore we’ll focus on how the ‘Compare Text‘ utility action works as opposed to a specific scenario. Consider the following basic and manually triggered flow, where two text values are providing:

1. Add the ‘Utility – Compare Text‘ utility action to the flow

1.a. Primary Text: Select the first text value to compare, for this example I’ve selected the ‘Text One‘ property provided by the trigger action.

1.b. Secondary Text: Select the second text value to compare, for this example I’ve selected the ‘Text Two‘ property provided by the trigger action.

2. Add a ‘Condition‘ action to the flow

2.a. Value: Select the ‘Result‘ property provided by the Encodian ‘Utility – Compare Text‘ utility action

2.b. Condition: Select the ‘equal to‘ option

2.c. Value: Enter ‘true

3. Configure your flow to perform the required steps depending on whether the GUID is valid (true) or invalid (false). For this example I’ll simply send a notification to confirm whether the values provided were the same or different.

If you require further advice or support regarding Encodian utility actions, please email our support team at support@encodian.com where the team would be delighted to help.