Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With Power Automate, every automation if is completely customizable. Following this guide, you will create an automation that:

  1. Saves the attachment of an incoming email from your department printer/scanner unit into a SharePoint site.

  2. Deletes the email (sends to the Trash folder).

Creating the automation

  1. Conduct a scan from your networked scanner and send it to your UConn email address. This will give you information you will use in a later step.

  2. Navigate to s.uconn.edu/powerautomate

  3. Sign in with your Email address and NetID password if asked.

  4. Click on Templates in the left-hand menu.

  5. Search for “save email to sharepoint”

  6. You will see some completed automations created by community members. You choose Choose one that sounds good to you. For this guide, choose Save email attachments to SharePoint and delete the email.

  7. Be sure that Power Automate recognizes your accounts by displaying your email address for the two flow connectors.

Click Continue.

Trigger

Tip

You must be specific in defining your trigger so that the automation only runs on the intended emails. If there is concern, you may remove the Deletion action that follows.

  1. The top box

...

  1. on this new page is the “Trigger”. This is the action that triggers the automation. For this guide, the trigger is receiving a specific email in your personal inbox.
    Click on the folder icon to view your inbox folder.

    Image Added
  2. Choose your Inbox then click on Show advanced options.

  3. This is where you will need to get specific so that this automation only triggers on emails from your network

...

  1. scanner.

...

    1. Using the information you gathered from your test:

    2. In the To field, enter your own email address.

    3. In the From field, enter the address that your printer/scanner unit sends you emails from.

    4. In the Include Attachments field, select Yes.

    5. In the Subject filter field, enter the Subject that your printer/scanner generates.

      1. You may want to create a new Subject that is used only when scanning something that you want saved in your SharePoint. Otherwise, if you enter your printer/scanner’s default Subject into this automation, every time you receive an email from this printer/scanner, the automation will trigger.

    6. In the Only with Attachments field, select Yes.

    7. Pictured below is an example setup using the scanner in the Technology Support Center:

      Image Added

Action 1

  1. This next box is

...

  1. an “Action”

...

  1. tool.
    The first option already has “Attachments” filled in thanks to this template you are using.

...

  1. In the Create file

...

  1. box,

    1. You may click on the Site Address field to see a list of your SharePoint sites, but you may find it easier to open a new browser tab

...

    1. and navigate to s.uconn.edu/sharepoint

...

    1. to visit your SharePoint site there. Then simply copy the URL from the address bar and paste it into the Site Address field in the Power Automation setup.

    2. Once you have the SharePoint site field filled in, you may choose the folder in which you want the file to be deposited.

...

    1. This folder will be the repository for all of your scans.

      1. Click on the folder icon and then choose the arrow next to Shared Documents to open that location.

...

      1. Image Added
      2. Then continue until you find your desired folder and this time click on the folder name to choose it from the list.

    1. The next two fields, File Name and File Content you will see preset values.

...

    1. Image Added
      1. The File Name field contains a function that pulls the name of the email attachment and keeps that as the file name.
        You

...

      1. can keep this

...

      1. as it is; you may change the file name once it is in your SharePoint.

      2. Leave the File Content field as it is.

...

If these two presets are not present, you may copy-paste the following into the fields:

...

items('Apply_to_each_Attachment_on_the_email')?['name']

...

Action 2

Info

You can remove this Action if you do not want the email to be automatically deleted.

  1. The last box on this page is another Action that deletes the email from

...

  1. your inbox.

    1. Leave this box as is.

  2. If

...

  1. you want to remove this action, click on the ellipsis and then choose Delete to remove this action.

    Image Added

Click Save to save this automation. It will take a few moments to save.
You will receive the following message when it has completed: Your flow is ready to go. We recommend you test it.

Filter by label (Content by label)
showLabelsfalse
max5
showSpacefalse
cqllabel = "sharepoint"