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 / Automating Welcome ema...
Power Automate
Unanswered

Automating Welcome emails to the organization

(3) ShareShare
ReportReport
Posted on by 11
Hello,
I am struggling to figure out what I am doing wrong and looking for help. I am trying to design a flow that does this:
 
CSV file is dropped in SP -> Email exists in a column -> Automated email is sent to each email in the new file.
 
This seems very easy to me on the surface but for some reason I have hit a snag. Below are the steps I have and the configurations in each.
 
1. SP: When a file is created in a folder: I have the site address and folder ID identified
2. Initialize Variable: Name - Stored CSV, Type - String, Value - File Content from SP
3. Get File Content - Not sure where to point this file identifier, currently pointed at a static file
4. Compose Rows: split(outputs('Get_file_content')?['body'], '\n')
5. Compose Header: first(outputs('Compose Rows'))
6. Split Header (Compose): split(outputs('Compose Header'), ',')
7. Initialize Variable: Named 'emailColumnIndex', Type - Integer
8.Apply to Each (outputs)
 - Condition
 - True
 - Set Variable: 'emailColumnIndex', Value - indexOf(item())
 - Split Row (compose): split(items('Apply_to_each_row'), ','
 - Extract Email: items('Split Row')?[variables('emailColumnIndex')
 - Outlook: Send an email: To @(variables(::EmailColumnindex""))
 
Any help is appreciated! I am still learning the ropes so I probably did something dumb.
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at
    I think I might be missing something, but for step three, the ID to use in the get file content action would be the ID of the file from your trigger condition. Is that what you're asking?
  • KM-20081842-0 Profile Picture
    11 on at
    @David MA,
    Is that not what I am using?

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard