cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Forms Response to Email - Email formatting help

I have a built a flow that takes a rather lengthy quality control check list and formats responses into an email that it submits to team members that need that info back from the field. I have several multiple answer questions in the form and when I call the dynamic data into my email body, it shows in the email like this:

 

["GROUT LINES FOR EACH AREA ARE STRAIGHT, HAVE CONSISTENT WIDTH ACROSS EACH AREA OF INSTALL (IF APPLICABLE), ARE NOT OVER OR UNDER FILLED, HAVE CORRECT AND CONSISTENT COLORATION THROUGHOUT, AND ARE FREE OF VOIDS/PINHOLES/CRACKS/ETC. ","COLOR MATCH GROUT CAULKING OR EQUIVALENT HAS BEEN USED AT ALL CHANGES OF PLANE THROUGHOUT TILED AREAS","TILE INSTALLED IN EACH AREA IS THE CORRECT TILE AND HAS CONSISTENT/CORRECT PATTERN PER OUR NOTES, IS FREE OF EXCESSIVE LIPPAGE, CRACKS, CHIPS, SCRATCHES OR OTHER DEFECTS/DAMAGE, IS WELL BONDED AND FREE OF HOLLOW SOUNDING SPOTS OR MOVEMENT, HAS EVEN SPACING OF COLOR VARIATIONS OR VEINING SUCH THAT DUPLICATE TILES ARE NOT INSTALLED TOO CLOSELY TO EACHOTHER.","WHERE APPLICABLE, TILE THAT REQUIRES SEALING IS SEALED"]

 

How do I split up the answers so they show on separate lines. I ready through some other posts with a similar question but their flows differ from mine and I am a total novice at this and it took a lot of work just to get this one working original. Here is my current flow

 

Feathergun_0-1718817766750.png

Here is an example of one of the questions where this occurs:

Feathergun_1-1718817801119.png

 

The end of my form has a field where users are requested to submit up to 10mb of photos relevant to the inspection they completed onsite. Wanted to throw that out there so you might better understand the later parts of the flow. Help is appreciated, thank you!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

Pls try this expression:

concat('<li>',join(json(outputs('Get_response_details')?['body/r8c48692e3f1040a8ace86e1372ec63c0']),'<li>'))

 

 

 

If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

 

Thanks
Manish Solanki
View my blog
Linkedin

View solution in original post

5 REPLIES 5

Hi @Feathergun 

 

Pls share the sample of expected output from the input array:

["GROUT LINES FOR EACH AREA ARE STRAIGHT, HAVE CONSISTENT WIDTH ACROSS EACH AREA OF INSTALL (IF APPLICABLE), ARE NOT OVER OR UNDER FILLED, HAVE CORRECT AND CONSISTENT COLORATION THROUGHOUT, AND ARE FREE OF VOIDS/PINHOLES/CRACKS/ETC. ","COLOR MATCH GROUT CAULKING OR EQUIVALENT HAS BEEN USED AT ALL CHANGES OF PLANE THROUGHOUT TILED AREAS","TILE INSTALLED IN EACH AREA IS THE CORRECT TILE AND HAS CONSISTENT/CORRECT PATTERN PER OUR NOTES, IS FREE OF EXCESSIVE LIPPAGE, CRACKS, CHIPS, SCRATCHES OR OTHER DEFECTS/DAMAGE, IS WELL BONDED AND FREE OF HOLLOW SOUNDING SPOTS OR MOVEMENT, HAS EVEN SPACING OF COLOR VARIATIONS OR VEINING SUCH THAT DUPLICATE TILES ARE NOT INSTALLED TOO CLOSELY TO EACHOTHER.","WHERE APPLICABLE, TILE THAT REQUIRES SEALING IS SEALED"]

 

Also, show the email body set in "send an email" action in edit mode.

 

 

Thanks
Manish Solanki
View my blog
Linkedin

This is how I'd like the output to read in the body of the email that gets sent:

  • GROUT LINES FOR EACH AREA ARE STRAIGHT, HAVE CONSISTENT WIDTH ACROSS EACH AREA OF INSTALL (IF APPLICABLE), ARE NOT OVER OR UNDER FILLED, HAVE CORRECT AND CONSISTENT COLORATION THROUGHOUT, AND ARE FREE OF VOIDS/PINHOLES/CRACKS/ETC.
  • COLOR MATCH GROUT CAULKING OR EQUIVALENT HAS BEEN USED AT ALL CHANGES OF PLANE THROUGHOUT TILED AREAS
  • TILE INSTALLED IN EACH AREA IS THE CORRECT TILE AND HAS CONSISTENT/CORRECT PATTERN PER OUR NOTES, IS FREE OF EXCESSIVE LIPPAGE, CRACKS, CHIPS, SCRATCHES OR OTHER DEFECTS/DAMAGE, IS WELL BONDED AND FREE OF HOLLOW SOUNDING SPOTS OR MOVEMENT, HAS EVEN SPACING OF COLOR VARIATIONS OR VEINING SUCH THAT DUPLICATE TILES ARE NOT INSTALLED TOO CLOSELY TO EACHOTHER.
  • WHERE APPLICABLE, TILE THAT REQUIRES SEALING IS SEALED

Here is the email body in code view:

 

***** CUSTOMER/JOBSITE INFORMATION:

TODAY'S DATE: @{outputs('Get_response_details')?['body/r8e2d96e0d19944d68a3bd0be33ec842a']}

 

BUILDER/CLIENT: @{outputs('Get_response_details')?['body/rbfea969df3784a2181c6053fc56cbddd']}

 

LOT/BLOCK/SUBDIVISION: @{outputs('Get_response_details')?['body/r2d987178b0164da6a47322b006ba1415']}

 

STREET ADDRESS: @{outputs('Get_response_details')?['body/r835b1e861dcd404b9cfaaf88ce628e94']}

 

***** TILE: HAS ALL TILE WORK LISTED IN THE SCOPE OF WORK BEEN COMPLETED?: @{outputs('Get_response_details')?['body/r8a5b4b3e9b4541788bb1c8b3d9af4571']}

 

IF NOT COMPLETE, WHAT TILE ITEMS ARE STILL NEEDING COMPLETED? @{outputs('Get_response_details')?['body/ra67bfd9c6bfb42fda822249973b6ed2a']}

 

FOR ALL TILE WORK THAT IS COMPLETE, PLEASE CHECK ALL THAT APPLY:

@{outputs('Get_response_details')?['body/r8c48692e3f1040a8ace86e1372ec63c0']}

 

FOR TILE, IF ANY OF THE ABOVE WERE NOT CHECKED, PLEASE EXPLAIN WHY AND ITEMIZE WHAT NEEDS TO BE DONE TO ADDRESS THESE ISSUES: @{outputs('Get_response_details')?['body/r184616375f8b446d8f931c1af652e095']}

 

***** HARDWOOD/LVP/LAMINATE:

 

HAS ALL HARDWOOD/LVP/LAMINATE LISTED IN SCOPE OF WORK BEEN COMPLETED?: @{outputs('Get_response_details')?['body/r60c4e934bdc0449eaaf784df22f87085']}

 

IF NOT COMPLETE, WHAT HARDWOOD/LVP/LAMINATE ITEMS ARE STILL NEEDING COMPLETED? @{outputs('Get_response_details')?['body/r8ae84af9f5854e49a0de513c905649a5']}

 

WHAT TYPE OF FLOOR VENTS ARE INSTALLED? @{outputs('Get_response_details')?['body/r5923c3b0bdad4819855d3c631f46466a']}

 

FOR ALL HARDWOOD/LVP/LAMINATE WORK THAT IS COMPLETE, PLEASE CHECK ALL THAT APPLY: @{outputs('Get_response_details')?['body/r9d169b8864094a8cba837879e032cf73']}

 

FOR HARDWOOD/LVP/LAMINATE, IF ANY OF THE ABOVE WERE NOT CHECKED, PLEASE EXPLAIN WHY AND ITEMIZE WHAT NEEDS TO BE DONE TO ADDRESS THESE ISSUES: @{outputs('Get_response_details')?['body/rb0d29eb33ea84296a3321cf3f3c0dd4d']}

 

***** COUNTERS:

 

HAVE ALL QUARTZ/GRANITE/PORCELAIN SLAB/LAMINATE COUNTERS LISTED IN THE SCOPE OF WORK BEEN COMPLETED?: @{outputs('Get_response_details')?['body/rb6f3a0d1d0ae4176a24ddbf8bd39998d']}

 

IF NOT COMPLETE, WHAT QUARTZ/GRANITE/PORCELAIN SLAB/LAMINATE COUNTER ITEMS ARE STILL NEEDING COMPLETED? @{outputs('Get_response_details')?['body/r82dac362859a44608de84ff717d05fa6']}

 

FOR ALL QUARTZ/GRANITE/PORCELAIN SLAB/LAMINATE COUNTER WORK THAT IS COMPLETE, PLEASE CHECK ALL THAT APPLY: @{outputs('Get_response_details')?['body/r68e9ea66286e47b2b11bd902d2072af3']}

 

FOR QUARTZ/GRANITE/PORCELAIN SLAB/LAMINATE, IF ANY OF THE ABOVE WERE NOT CHECKED, PLEASE EXPLAIN WHY AND ITEMIZE WHAT NEEDS TO BE DONE TO ADDRESS THESE ISSUES: @{outputs('Get_response_details')?['body/r03d22d9253994fcbb8d138c12f362186']}

 

***** SHEET VINYL/RUBBER:

 

HAVE ALL SHEET VINYL AND/OR RUBBER FLOOR INSTALLATIONS LISTED IN THE SCOPE OF WORK BEEN COMPLETED?: @{outputs('Get_response_details')?['body/r0de1b67454f3443a8d9af59b1e6bac48']}

 

IF NOT COMPLETE, WHAT SHEET VINYL AND/OR RUBBER FLOOR INSTALLATIONS ARE STILL NEEDING COMPLETED? @{outputs('Get_response_details')?['body/rb95b34a4b4e74c10ac543b58b49fa7fc']}

 

FOR ALL SHEET VINYL AND/OR RUBBER FLOOR WORK THAT IS COMPLETE, PLEASE CHECK ALL THAT APPLY: @{outputs('Get_response_details')?['body/r0a0d5ba7014d408bade5b6b972053042']}

 

FOR SHEET VINYL/RUBBER IF ANY OF THE ABOVE WERE NOT CHECKED, PLEASE EXPLAIN WHY AND ITEMIZE WHAT NEEDS TO BE DONE TO ADDRESS THE ISSUES: @{outputs('Get_response_details')?['body/r0366ea1f36a14eb9ba0b569964eb4724']}

 

***** CARPET:

 

HAS ALL CARPET LISTED IN THE SCOPE OF WORK BEEN COMPLETED?: @{outputs('Get_response_details')?['body/r7ae1313b8a3046b0accdce4a26264d72']}

 

IF NOT COMPLETE, WHAT CARPET ITEMS ARE STILL NEEDING COMPLETED? @{outputs('Get_response_details')?['body/rb2d4b36968444ef4bc71222eddffa828']}

 

FOR ALL CARPET WORK THAT IS COMPLETE, PLEASE CHECK ALL THAT APPLY: @{outputs('Get_response_details')?['body/ra965bbaee1d94649976ed55f35b111b8']}

 

FOR CARPET, IF ANY OF THE ABOVE WERE NOT CHECKED, PLEASE EXPLAIN WHY AND ITEMIZE WHAT NEEDS TO BE DONE TO ADDRESS THESE ISSUES: @{outputs('Get_response_details')?['body/r562d3008d0cb42daaeefea5caafcb134']}

 

***** GENERAL JOBSITE INSPECTION:

 

ARE INSTALLATION AREAS & GARAGE FREE OF LOOSE TRASH, DEBRIS, AND EXCESS INSTALLATION MATERIALS?: @{outputs('Get_response_details')?['body/r6f8cf1fe2d7c4fca85b58fe4d299a058']}

 

IS THE HOUSE STILL CLIMATIZED TO A LIVABLE TEMPERATURE AT THE TIME OF THIS INSPECTION? @{outputs('Get_response_details')?['body/re581d2544f604812bf765a89b5c13acb']}

 

LIST ANY MAJOR CONCERNS WITH THE STRUCTURAL INTEGRITY OF THE JOBSITE DISCOVERED DURING YOUR INSPECTION (I.E. FLOODING, ROOF LEAKS, MUST ODORS, PORTIONS OF OUR INSTALLS THAT HAVE BEEN REMOVED TO MAKE WAY FOR OTHER TRADE'S REPAIRS, MISSING WINDOWS, DOORS, GARAGES, ETC.): @{outputs('Get_response_details')?['body/r6fbb3d46fcda437dae162729adf1204a']}

 

***** SUMMARY:

 

POST WALK COMPLETED BY: @{outputs('Get_response_details')?['body/r1943da4423ae457c908fd0c2b5cd81d9']}

 

PLEASE CONFIRM PICTURES WERE TAKEN OF ANY ITEMS THAT REQUIRE REPAIR/REPLACEMENT/TOUCH-UP LISTED IN THE SECTIONS ABOVE: @{outputs('Get_response_details')?['body/ra6580f0683f34ed8beb8a4cbefc78826']}

 

Hi,

 

Pls try below expression for that particular field in email body. Expression needs to be added in the expression box as shown below:

ManishSolanki_0-1718820746741.png

concat('<li>',join(outputs('Get_response_details')?['body/r8c48692e3f1040a8ace86e1372ec63c0'],'<li>'))

 

 

 

 

If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

 

Thanks
Manish Solanki
View my blog
Linkedin

I got this failure when attempting your solution:

Feathergun_0-1718824520239.png

 

Hi,

 

Pls try this expression:

concat('<li>',join(json(outputs('Get_response_details')?['body/r8c48692e3f1040a8ace86e1372ec63c0']),'<li>'))

 

 

 

If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

 

Thanks
Manish Solanki
View my blog
Linkedin

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages