All right.
Welcome to section six we're going to talk about create and in this video we're to talk about automated
flow.
So if I click on Create you have four options here we can do automated flow instant flow scheduled flow
business process flow.
So let's do another automated flow for this examples.
I'll click on that and we can add a name or will generate or we'll generate one.
OK.
So choose your flows trigger.
So when a new response is submitted Microsoft forms when the item is created when a file is created
and one drive.
So let's do that one.
OK.
So the first flow process the first step to your flow is when a file is created and one drive for business.
So create that.
OK.
So do you knew the unique identifier or of the folder.
So if I click on this we'll do new documents.
OK.
So we don't even have that folder created.
So here's what we're gonna do.
We're gonna go into one drive.
OK.
And what I'm going to do is I'm going to create a new folder so go to New Folder and we'll do new flow
and we'll create that.
Then when I go back here we can click on this and then I'll pop it up new flow.
OK.
So that's where the when a file is created and new flow.
Then we go to the next step.
OK.
So now when we go to the next step I want to get an email.
So we're going to do officers sixty five outlook send an email.
OK.
So when a file is created we're going to send an email to my email address.
So I'm going to open up the J Warner and learn tech plus 20 20 that on Microsoft dot com I copy that
will minimize us I pasted in there and then new file has been
has been added to one drive.
OK check out one drive
for new file.
OK so we'll save that
OK.
There we go.
So there was an error in there so.
So here let me just show you a click by save this.
OK.
There's one error.
So two is required.
So obviously I wrote that in here but with the space you see I have a space there.
It doesn't find the e-mail address.
So if I hit delete the real it finds it right there.
And now we're good to go.
So I save that.
And now we've created a flow.
So we've saved it and we can do flow checker.
So there's no errors here.
So you always want to check your float your flow and then also test it.
OK.
So I'll perform the trigger action save and test
to see if to see it work now add a file to wonder if folder you selected this may take a few moments.
OK.
So we're going to test it.
And while that's loading let's go to one drive and we'll open up new flow and I'll create a file here.
So just make a word document and we'll just call this test
OK.
This is a test for my automated flow.
OK.
So we'll let that save and you can see right here we got an e-mail.
OK.
So new file has been added to one drive.
Check out one drive for new file.
OK.
Now to make this even better.
What we can do is we can grab the folder and copy the link.
So if I open up in a private browser real quick card I don't want to do that sorry if I copy the link
here and then we open up a private browser and I right click and I paste and go.
It's not giving me the right information but copy link.
That's why.
Because I'm jumping ahead.
OK now let me open up the private browser and paste this in
OK so here's what I'm going to show you.
The reason why I want to show you this link is B what cause what we can do is to add to the flow is
we can then we go back and in the flow of this here
my flows.
OK.
So when a file is created send an email.
So let's edit this
OK so let's add it.
So one of files created send an email.
So we're going to edit this one
So
OK let me see if I can add a link.
Yep.
OK so we'll add the link.
Click HERE to view and then we'll put that in there and then we'll open the link on the new window.
OK.
Now we'll save that.
And once it's been saved then let's test it
using data from previous runs.
OK.
So we're gonna test it.
So we'll let this run give it a second.
There goes.
And now when we get a new file added once this loads then what it's gonna do is while it should.
Where's my
OK.
I don't think it's saved my flow here.
So let's make sure that it saved OK.
Let me close that and close this and that and this and that and let's go back to my flow is real quick
and let's edit this and go here.
Yeah I didn't say it.
OK.
So let me try that again.
Click HERE to view.
So the idea behind this is if I add the link in there and then we save it what it's gonna do is when
you get the email you don't have to click up here and go to one drive you just click here on the on
the link and we'll take you right to the 1 Drive folder and then you'll be able to see all the new files
in there.
So we're making it even easier because instead of adding a step we're eliminating a step.
OK.
So I'll save it again just to make sure it saves and then we'll save it here and then we'll do flow
checker just to make sure there's no errors and then we'll leave it there.
And then what I'm going to do is I'm gonna open up one drive and I'm going to go to that folder and
we're gonna do it ourselves instead of testing it and I'll do new and we'll do an Excel workbook and
we'll call this test to so test two.
That'll save.
And then we'll come back here and we'll open up Outlook.
And we should get a message here soon.
OK.
Because that's one that we just did.
So we'll give that a second and we'll refresh this.
So that was the previous one
so I'll give that a second.
And while we're waiting for that let's look at the history of our flows here.
So if we go to our flows and just click on it we can see the runs.
OK.
So test succeeded and then succeeded.
So the last run that I did which was at 125 or 124 ish.
It hasn't gone through yet but that's all right.
So we'll wait a little more and if it doesn't work then we'll test it.
So I'll refresh.
OK.
So nothing's worked at
so let's run a test then so we'll go to
flows and we'll click on it and then it should give us the ability to test if we go to edit
cannot there.
There we go.
Click on edit and then click on Test perform the trigger action save and test.
And then what I'll do is I'll go to the ok new file has been added
so it did work but it didn't save the link which is all right.
But again the idea behind that was just to make it easier for some reason that didn't work.
So that's OK.
I just want to show you how to use the flow how to automate it and how you can easily create a automated
flow.
OK.
So if we look at the other options hero click let's go to create again if we go to automated again you
can see all these different options so when a new email arrives G.M. right then you can do certain action.
OK.
When a new section is created and one note then you can do that.
So there's all these different options to get started with which is really cool.
So you can really get creative in what you want to do.
All right.
So that's the automated flow.
All right.
So thanks for watching.
I'll see in the next video.