Power Automate
SECTION 01 · TOPIC 1.2

How a flow works

Something starts the flow. Then the flow carries out a series of actions.

The big picture

Start here. Then do this.

Think about a simple instruction: when a purchase request arrives, send an email and record the request. The first part tells us when to start. The rest tells us what to do.

START · TRIGGERA new request arrives
ACTIONSend an email
ACTIONRecord the request
Two words to remember

A trigger is the starting point of a cloud flow. An action is a task the flow carries out after it starts. One trigger can lead to several actions.

What can start a flow?

Ask one question: what should make this process begin? For the cloud flows in this course, there are three common answers.

A PERSON STARTS IT

Manual start

You choose when to run the flow, such as by pressing a button.

“When I press a button, send my request.”

Instant cloud flow
SOMETHING HAPPENS

An event

The flow starts in response to something, such as a new item or an incoming email.

“When a request is added, notify the manager.”

Automated cloud flow
THE TIME ARRIVES

A schedule

The flow starts at a set time, often repeating at an interval you choose.

“Every morning at 9:00, send a request summary.”

Scheduled cloud flow

The way the flow starts gives us these three cloud flow types. The actions that follow can be similar: all three could send an email, for example.

What if there is more than one item?

Suppose you have three pending requests. You want to send a reminder for each request. The task is the same, but you repeat it using a different item each time.

REPEAT FOR EACH REQUESTSend a reminder
  • Request AReminder for A
  • Request BReminder for B
  • Request CReminder for C
The term you will meet: loop

A loop repeats an action or a group of actions. In Power Automate, Apply to each is the control we will use to work through a collection of items.

What if the action depends on a value?

A purchase request includes a department. IT requests should go to the IT manager, while HR requests should go to the HR manager. We still want to send an email, but the recipient depends on the department.

Is the department IT?
YESEmail the IT manager
NO · HR IN THIS EXAMPLEEmail the HR manager
The term you will meet: condition

A condition checks a value and chooses a path. The paths are often called branches. Here, a different branch sends the email to a different manager.

A value can also come directly from the current item. If every request already includes a manager’s email address, the same email action can use that address. We only need a decision when there is a rule to evaluate.

PUT THE IDEAS TOGETHER

Describe it before you build it.

“Every morning, look at the pending requests. For each request, check its department and send a reminder to the right manager.”

  • Trigger: the morning schedule starts the flow.
  • Action: get the pending requests.
  • Loop: work through each request.
  • Condition: check which department it belongs to.
  • Action: send the reminder to the appropriate manager.
KNOWLEDGE CHECK

Test your understanding

Choose one answer for each question, then check your answers. You can try again as often as you like.

Question 1A flow runs when an employee presses a button. What type of cloud flow is it?
Question 2A flow starts when a request is added to a list. What is its trigger?
Question 3You want a request summary sent every morning at 9:00. Which flow type fits?
Question 4A flow saves each attachment from an email. What helps it process all the attachments?
Question 5Requests must go to different managers according to their department. Which concept checks the department and chooses a path?
Question 6Each request already contains the correct manager email address. Must you add a condition just to send to that address?

The words to take with you

Flow
The automation: its starting point and the work that follows.
Trigger
What starts a cloud flow.
Action
A task the flow carries out.
Loop
A way to repeat actions, such as once for each item.
Condition
A check that decides which path to follow.