web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to use content con...
Power Apps
Unanswered

How to use content controls and if-then-else statements in word with power automate?

(0) ShareShare
ReportReport
Posted on by

I am using Power automate to populate my microsoft word template using a JSON Payload. To create the template I am using content control - plain text, I create tags using plain-text which are then assigned the values by the power automate flow. I wish to add check - boxes and use if else statements to either check the boxes or leave them blank according to the value of that particular data. For example:


Word: (all the placeholders are written here using << >> and the IF statement is written using the field option from Insert -> QuickParts-> Field)
Firm’s Full Legal Name, Include Any DBA: <<LegalName>>

Primary Practice Address: <<PrimaryPracticeLocation>>  
City/State/Zip:  <<CityStateZip>>

Address for Additional Locations: <<Additional Address>>  No Other Locations : {IF <<"FirstApplication">> = "True" "☑ " "â—»" \* MERGEFORMAT }

Json Payload:
[

    {

      "id": "0b2c7418-7b69-4689-babf-fb1cdc66dd85",

      "templateName": "HHHApplication.docx",

      "data":

      [

        {

          "id": "c01149ed-56d8-4722-b716-c99bff0d4a30",

          "LegalName": "Alex Mitchel",

          "PrimaryPracticeLocation": "2-B acdb",

          "CityStateZip": "NY, 10038",

          "AdditionalAddress": "N.A. City hall",

          "OtherLocation": "True"
}
]
}
]

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard