Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Query
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"
}
]
}
]

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Query

#1
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 7

#3
SD-13050734-0 Profile Picture

SD-13050734-0 6

Overall leaderboard

Featured topics