SOLVED

Using Flow to send email to contact found in SharePoint list

%3CLINGO-SUB%20id%3D%22lingo-sub-289913%22%20slang%3D%22en-US%22%3EUsing%20Flow%20to%20send%20email%20to%20contact%20found%20in%20SharePoint%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289913%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20a%20Form%20from%20which%20the%20output%20is%20saved%20in%20a%20SharePoint%20list.%20I%20now%20need%20to%20create%20a%20Flow%20that%20combines%20data%20in%20the%20Form%20output%20list%20with%20data%20in%20another%20SharePoint%20list%2C%20to%20send%20an%20email%20or%20notification.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20output%20list%20I%20have%20a%20column%20called%20'site'.%3C%2FP%3E%3CP%3EIn%20my%20contacts%20list%20I%20have%20a%20column%20called%20'site'%20and%20a%20column%20called%20'contact'.%3C%2FP%3E%3CP%3ESo%20whenever%20a%20new%20item%20is%20created%20in%20the%20output%20list%2C%20the%20flow%20should%20look%20at%20the%20column%20called%20'site'%2C%20go%20to%20the%20contacts%20list%20and%20find%20the%20contact%20for%20that%20site.%20And%20send%20an%20email.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20do%20that%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20a%20bit%20new%20to%20Flow%2C%20and%20so%20far%20I%20only%20managed%20to%20setup%20notifications%20for%20myself.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-289913%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-289990%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20Flow%20to%20send%20email%20to%20contact%20found%20in%20SharePoint%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-289990%22%20slang%3D%22en-US%22%3E%3CP%3EShould%20be%20able%20to%20just%20use%20Get%20items%20to%20accomplish%20this%20by%20taking%20Site%20from%20the%20%22When%20item%20is%20added%22%20Trigger%20and%20using%20in%20in%20the%20query%20of%20the%20'Get%20Items'%20step%20where%20site%20eq%20%22site%22%20from%20the%20first%20step.%20Then%20in%20the%20send%20email%20action%20use%20the%20e-mail%20address%20from%20the%20get%20items%20step%20that%20matched%20the%20site.%20Quick%20version%20shown%20below.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F60491i1D9F572728A3AE23%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22flowemail.jpg%22%20title%3D%22flowemail.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hi,

I have a Form from which the output is saved in a SharePoint list. I now need to create a Flow that combines data in the Form output list with data in another SharePoint list, to send an email or notification.

 

In the output list I have a column called 'site'.

In my contacts list I have a column called 'site' and a column called 'contact'.

So whenever a new item is created in the output list, the flow should look at the column called 'site', go to the contacts list and find the contact for that site. And send an email.

 

How do I do that?

 

I am a bit new to Flow, and so far I only managed to setup notifications for myself.

1 Reply
best response
Solution

Should be able to just use Get items to accomplish this by taking Site from the "When item is added" Trigger and using in in the query of the 'Get Items' step where site eq "site" from the first step. Then in the send email action use the e-mail address from the get items step that matched the site. Quick version shown below. 

flowemail.jpg