cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Send email template based on data in SQL server

I mostly just need help building a Flow.. I have data in a SQL server (email, length of service) all in the same row per person. I would like to send out emails to those people every day (several different templates) based on their length of service being a week, a month, a year, etc. I just don't know how to build this or how to connect to my exact server.

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: Send email template based on data in SQL server

Hi @Anonymous ,

It seems you want to send different templates email to the person based on the length of service value.

Could you please more details about the SQL data?

What's the data type of the length of service?

I have made a test on my side, please take a try with the following workaround:

Capture6.PNG

Best Regards,

Community Support Team _ Zhongys

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

 

View solution in original post

1 REPLY 1
v-zhos-msft
Level 10

Re: Send email template based on data in SQL server

Hi @Anonymous ,

It seems you want to send different templates email to the person based on the length of service value.

Could you please more details about the SQL data?

What's the data type of the length of service?

I have made a test on my side, please take a try with the following workaround:

Capture6.PNG

Best Regards,

Community Support Team _ Zhongys

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

 

View solution in original post

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,950)