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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sending an email to us...
Power Automate
Suggested Answer

Sending an email to users based on their job title.

(2) ShareShare
ReportReport
Posted on by 19
Trying to build a flow that will do the following:
 
The flow will run every day at 8 am.  It will pull all documents with a review date of today.  For those documents that are found, the flow should pull Users in based on their job title (Owner1 column).  Then the flow should pull the email addresses of those users and send an email to them.
 
This is what I have written:
 
 
I looks like the problem is with the Body.  The URI does return the correct information. Any ideas?
 
Thanks in advance.
Categories:
  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at
    Hi
     
    So gonna stop you.
     
    You said, 
     
    For those documents that are found I need to pull the value from the Owner 1 column and compare it Users and pull those Users that have the same value in their job title.
     
    What is this file type? Excel? You do not say so the rest of it I cannot answer. Owner 1 column where? a List?
     
     
  • Suggested answer
    abc 123 Profile Picture
    789 Moderator on at
    Based on the error, you're trying to stuff a non-string into a string parameter.
     
    To assist in debugging, initialize a variable called strEmailTo. 
     
    At some point in your Flow, set this variable to whatever string value you need. 
     
    In the Send Email Action, in the "To" parameter, assign the strEmailTo variable.
     
    This will get you started with overcoming this initial error, but I have a feeling it will result in more, so ask more questions as needed. 
     
     
  • SJAEMK1 Profile Picture
    19 on at
    @FLMike
     
    The files are Word documents, so it's a document library.
  • SJAEMK1 Profile Picture
    19 on at
    New Error:
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard