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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Populate word document...
Power Automate
Unanswered

Populate word document with encodian using multi select checkboxes

(0) ShareShare
ReportReport
Posted on by 55

I am using encodian to populate word documents (i am in the free tier).

 

Everything works fine for single select and text boxes but my issue comes about when i have multiselect check boxes.

 

When i get results in power automate, it creates an array of all of the selected options.  The issue is the array doesnt look how encodian wants it.

 

This is my json for encodian:

 

{
"EVENTNAME": "",
"NOWDATE": "",
"CLIENTNAME": "",
"SUBPROCESSOR1": "",
"PROCESSING1": "",
"COLLECTEDDATA": "",
"EXAMPLE": ""
}

 

and this is what is populated

 

{
"EVENTNAME": "TEXT",
"NOWDATE": "17 July 2023",
"CLIENTNAME": "TEXT",
"SUBPROCESSOR1": "Test Name Of Subby",
"PROCESSING1": "This is some info.",
"COLLECTEDDATA": "[
"Data 1",
"Data 2",
"Data 3"
]",
"EXAMPLE": "TEST"
}

 

encodian want it to look like this

 

{
"companyName":"Encodian",
"bullets": [
{
"listFirstName": "Efren",
"listLastName": "Gaskill"
},
{
"listFirstName": "Sanly",
"listLastName": "Keyme"
},
{
"listFirstName": "Mark",
"listLastName": "Nigma"
}
]
}

This has key/value pairs.

 

How could i go about getting this from forms?

Categories:
I have the same question (0)
  • AlexEncodian Profile Picture
    4,409 Moderator on at
    Re: Populate word document with encodian using multi select checkboxes

    @AdamHewitt 

    Happy to help. I don't think I fully follow your requirements however. Is this a Microsoft Form? And where is the data between the first and second array you posted coming from as a check box is simply a yes/no type answer? Also, the first array does not look like a check box answer (it has empty values).


  • AdamHewitt Profile Picture
    55 on at
    Re: Populate word document with encodian using multi select checkboxes

    Yes this is an MS form.

     

    The first bit of JSON is how I am populating the word doc.

     

    This

     

    {
    "EVENTNAME": "TEXT",
    "NOWDATE": "17 July 2023",
    "CLIENTNAME": "TEXT",
    "SUBPROCESSOR1": "Test Name Of Subby",
    "PROCESSING1": "This is some info.",
    "COLLECTEDDATA": "[
    "Data 1",
    "Data 2",
    "Data 3"
    ]",
    "EXAMPLE": "TEST"
    }

     

    Is what encoding is seeing coming in when I look at the raw inputs.

     

    The data is coming in from the form, where I have a list of options in one questions where the user can tick as many as they need to.

     

    Ultimately I will be turning this into a bulleted list which is why I have included the JSON that encoding expect - based on info from their website.

  • AdamHewitt Profile Picture
    55 on at
    Re: Populate word document with encodian using multi select checkboxes

    I have attached the power automate flow hoping that will provide more clarity

     

    Screenshot 2023-07-18 at 09.29.33.png

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard