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 Automate / Convert apply to each ...
Power Automate
Answered

Convert apply to each output to a single comma separated string

(0) ShareShare
ReportReport
Posted on by 47

Hi Fellows,

 

Goal is to save all Outlook email properties to a single Sharepoint item, including attachments and its names. I have knowledge to save the attachment contents to one single line item using (Add attachment) action by referring to the ID of Sharepoint line item.

 

My challenge is, when i loop the incoming attachment property (Attachment Names), for every loop system creates a new line item in sharepoint. All i want is the names of attachments need to be stored as a comma separated string in Sharepoint column.

 

ApplyToEacg.png

My understanding is, the logic should be - Converting Apply to each output to a single comma separated string and then add it to the column when creating Sharepoint item. But i do not know how to do that. Please can you help?

 

The answer to this, will help me solve few more related doubts. Thank you in advance.

 
 
 
Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Franklin_vaz 

     

    You want to setup a string variable and then append the item to the string on each loop.  If you want the new string to be comma seperated, instead of dropping in the attachments name, you would need to build an expression instead and use concat([AttachmentName......],',').

     

    DamoBird365_0-1614842509869.png

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien

     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard