Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

How To Concatenate Strings In Power Automate Desktop?

In this Power Automate Desktop tutorial, we will see how we can concatenate strings using different methods in Power Automate Desktop. Also, we will see how we can concatenate list of strings into one in Power Automate Desktop

In this tutorial, we will go through the below topics

  • Concatenate string using the + operator
  • Concatenate using the % symbol
  • Concatenate list of strings

Concatenate strings in Power Automate Desktop [Using + operator]

Here, we will see how to concatenate strings in Power Automate Desktop using the + operator.

For example, we will take two variables i.e. String 1 and String 2, stores values ‘Power’ and ‘Automate’ respectively. To concatenate two strings, we will use +operator in Power Automate Desktop.

Step 1: Open Power Automate Desktop, then provide the flow name and click on the Create button.

Power automate desktop concatenate string

Step 2: Now we will set a variable that contains the string ‘Power’; for this, expand the Variable section, and then drag and drop the Set variable action. Then provide the below information:

  • Change the variable name to String1.
  • Value: Provide the value as Power.
Microsoft Power Automate Desktop concatenate string

Similarly set another set variable like above and provide the string as Automate.

Using Microsoft Power Automate Desktop concatenate string

Step 3: Now we will concatenate the string using the + operator, For this, expand the Message box section, and drag and drop the Display message action. Then provide the below information:

  • Message box title: Provide the title like below.
  • Message to display: Provide the below code:
%String1 + String2%
How to concatenate string using Power Automate Desktop

Step 4: Now run the flow by clicking on the Run button. You can see the Message box will pop up and the result string.

How to concatenate string using Power Automate Desktop

This is how to concatenate strings in Power Automate Desktop using + operator.

Concatenate strings in Power Automate Desktop [Using %]

Here, we will see how to concatenate strings in Power Automate Desktop using %.

For example, we will take two variables i.e. String 1 and String 2, stores values ‘Power’ and ‘Automate’ respectively. To concatenate two strings we will pass the 2 variables containing the % symbol e.g. %String1% %String2%, in Power Automate Desktop.

Step 1: Open Power Automate Desktop, then provide the flow name and click on the Create button.

Power automate desktop concatenate string

Step 2: Now we will set a variable that contains the string ‘Power’, For this expand the Variable section, and then drag and drop the Set variable action. Then provide the below information:

  • Change the variable name to String1
  • Value: Provide the value as Power.