Select to view content in your preferred language

Send attachment and attribute to Onedrive or Sharepoint when using "When a record is updated in a feature layer" connector on Power automate

249
2
02-20-2025 03:08 AM
KwabenaDenteh1
Occasional Contributor

Hello community , I have flow in power automate to upload attachment in a feature to a onedrive folder but the attachment only uploads if it feature meets a certain condition. The attached file is demo I tried with an email but I dont know how to query and add the attachments to the email power automate.JPG

 

 

0 Kudos
2 Replies
AnninaRupe1
Frequent Contributor

There are a couple of things:

  • If you want to have an email always sent, you have to remove the condition, otherwise it will only be sent when that condition is satisfied.
  • I've never played with attaching files to emails, but are you trying to attach the file that's associated with the record that's being modified (the trigger) or a different file that's been saved to OneDrive? If it's the latter, you need to make sure OneDrive is connected to the Flow somehow (I don't see it in there now).
  • I worked with Esri Services to help get my Flow working. There's not great documentation out there--now that I have something that works, I know I wouldn't have been able to figure out my process without assistance.
0 Kudos
BenjaminAmissah-Ocran
New Contributor

@AnninaRupe1

Yes so I want the condition to be true before the mail is sent and also I want the attachment associated with the record to be shared with the mail and also backed up on one drive
0 Kudos