cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xellemang
Helper I
Helper I

Send email with data from two different SQL SP

Hey all,

I'm trying to pull a set of active customers and their email then pass them through two different stored procs once a month. The two stored procs I want to create to two HTML tables to format two tables and send in an email to each customer. I'm running into issues with create the HTML tables and then being able to get them into the same email. Any ideas?

 

Thanks,

 

 

 

 

 

 

 

 

2 REPLIES 2
ChristianAbata
Super User
Super User

@xellemang  could u share screanshots?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

@ChristianAbata ,

Yes, but keep in mind I've been trying many different ways to configure the apply to each for the stored procs. I just redid it to the basic starting level without all the For Each actions to build the HTML tables and variables. I think I have to append to the array variables then create the HTML tables. Once the HTML tables are built though, they're both in their own apply to each loop and can't be put into the same email. Here is a stripped down overview of the process without most of the clutter. If you want me to try and build a bit more with the variables and HTML tables, let me know. Once I do that it puts each step into its own apply to each loop and just gets messy.

 

xellemang_1-1624288518315.png

 

 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,735)