...
The top box 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.Choose your Inbox then click on Show advanced options.
This is where you will need to get specific so that this automation only triggers on emails from your network scanner.
Using the information you gathered from your test:
In the To field, enter your own email address.In the From field, enter the address that your printer/scanner unit sends you emails from.
In the Include Attachments field, select Yes.
In the Subject filter field, enter the Subject that your printer/scanner generates.
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.See Note below.
In the Only with Attachments field, select Yes.
Pictured below is an example setup using the scanner in the Technology Support Center:
You will likely want to use a unique Subject for this email. The Subject line will dictate whether your scan will follow this automation or not. The default Subject line from the printer will likely resemble: “Scanned from a Xerox Multifunction Printer”.
Depending on which process you perform more often, you will need to choose whether the Printer’s default Subject should trigger the automation or not. If you’re more likely to need this automation, then the default Subject should trigger the automation. Then when it comes time to scan something that should not go through this automation, you will change the Subject line to anything other than the default.
If you’re more likely to not need the automation, then the opposite is true.
Action 1
This next box is an “Action” tool.
The first option already has “Attachments” filled in thanks to this template you are using.In the Create file box,
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 and navigate to s.uconn.edu/sharepoint 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.
Once you have the SharePoint site field filled in, you may choose the folder in which you want the file to be deposited.
This folder will be the repository for all of your scans.Click on the folder icon and then choose the arrow next to Shared Documents to open that location.
Then continue until you find your desired folder and this time click on the folder name to choose it from the list.
The next two fields, File Name and File Content you will see preset values.
- The
he File Name field contains a function that pulls the name of the email attachment and keeps that as the file name.
If you do not alter this field, each new scan will overwrite the last.
You can keep this as it is; you may change the file name once it is in your SharePoint.In this example, I will name the file “Scan - [time of scan].pdf
The time-of-scan will be the unique identifier that prevents the over-writing of files.
Click on the File Name field and clear it out. When you click on the field, a popup window will appear: click on the Expression tab of this window.
Copy and Paste the following text into the textbox:
formatDateTime(utcNow(),'yyyy-MM-ddTHH:mm:ssZ')
Then click Update.The dynamic text is now in the field. You make place your cursor at the front to add some static text.
You need to add
.pdf
to the end of the name to maintain file integrity.
Leave the File Content field as it is.
Action 2
Info |
---|
You can remove this Action if you do not want the email to be automatically deleted. |
...
Open File Explorer (Windows) or Finder (macOS).
Click on [Your Name] - University of Connecticut in the lefthand menu to open your OneDrive.
Open your SharePoint files and navigate to the folder that is receiving the scans but do not open the folder.
Right-click on the folder and choose Always keep on this device.
These steps are assuming that this folder is simply the repository of the scans, and the scans will be moved from this folder and distributed to other folders.
...