Skip to main content

How to Create an Automated Cloud Flow in a Solution in Power Automate

· 8 min read
Jagdish Kumawat
Founder @ Dewiride

An automated cloud flow runs by itself when something happens, such as an item being added to a SharePoint list. Create it inside a solution with New > Automation > Cloud flow > Automated, give it a name and a trigger, and add one action before you save it.

A flow that belongs with an app, and has to move to other environments with it, goes inside the app's solution. Microsoft calls these solution-aware cloud flows: Cloud flows you create in a solution are known as solution-aware cloud flows or solution cloud flows (Create a cloud flow in a solution).

The example is the approval flow of the Overtime Timesheet app, which runs when an overtime entry is added or changed in a SharePoint list.

Prerequisites​

Step 1: Open the Solution and Choose Automated​

In Power Automate, select Solutions on the left and open your solution. Then select New > Automation > Cloud flow > Automated:

The Objects page of a solution with All (6) and Cloud flows (0), and the New menu open at Automation, then Cloud flow, with Automated outlined next to Instant and Scheduled

Instant flows are started by a person; How to Create an Instant Cloud Flow Inside a Solution in Power Automate covers those. Scheduled flows run on a timetable.

Step 2: Name It and Choose the Trigger​

Build an automated cloud flow asks for two things:

FieldValue hereWhy
Flow nameOvertime ApprovalSay what it does; it's how you'll find it in My flows and in the solution
Choose your flow's triggerWhen an item is created or modified (SharePoint)The event that starts the flow

Type part of the trigger's name in the search box, select it in the list, and select Create:

The Build an automated cloud flow dialog with Flow name Overtime Approval outlined, the trigger search When an item is created or modified, the SharePoint trigger When an item is created or modified selected and outlined above other SharePoint and SQL Server triggers, and the Skip, Create and Cancel buttons with Create outlined

Several triggers have similar names, and the connector's name under each one tells them apart.

Step 3: Fill In the Trigger​

The flow opened in the classic designer, inside the solution's page, with the trigger's card ready and no New designer toggle in its toolbar:

The classic designer with the When an item is created or modified card showing an empty Site Address with the example https://contoso.sharepoint.com/sites/sitename and an empty List Name, the + New step and Save buttons, and a toolbar with Undo, Redo, Comments, Save, Flow checker and Test

Choose the trigger's settings. For this trigger, the site and the list:

The trigger card with Site Address Overtime Timesheet - https://contoso.sharepoint.com/sites/OvertimeTimesheet and List Name OvertimeEntries

In a solution, values that change between environments, like this site, belong in environment variables; the flow switched to them later (How to Use Environment Variables in a Power Automate Flow).

Step 4: Add the First Action and Save​

A flow can't be saved with only a trigger. Microsoft's Triggers and actions says: To save a cloud flow, it must have at least a trigger and one action. Selecting Save too early shows Should at least contain one trigger and one action (Fixed: "Should at least contain one trigger and one action" When Saving a Flow in Power Automate).

Select + New step, add the flow's first action, and select Save. Here it was SharePoint's Get item, which reads the entry's department (How to Get a SharePoint List Item by ID in Power Automate).

Step 5: Open It in the New Designer​

The classic designer the flow opened in has no New designer toggle. Leave it, select My flows on Power Automate's left menu, and find the flow on the Cloud flows tab:

Power Automate's My flows page on the Cloud flows tab with the My flows filter, listing Overtime Approval, modified 2 min ago, type Automated, outlined

Open it and select Edit. Opened from here, the designer has the New designer toggle, switched on:

The new designer's toolbar with Save draft, Test, Publish and Copilot, and the New designer toggle switched on and outlined, above the canvas with the When an item is created or modified and Get item cards

The flow is still in the solution; this is only a different way into it. The new designer saves with Save draft and makes changes live with Publish (How to Save a Draft and Publish a Flow in Power Automate).

Common Mistakes​

MistakeWhat happensDo this instead
Creating the flow from My flowsIt isn't in the app's solutionCreate it with New inside the solution
Picking a trigger by name aloneA SQL Server or file trigger with a similar nameCheck the connector under each trigger
Saving with only the triggerShould at least contain one trigger and one actionAdd the first action, then save
Looking for the New designer toggle in the solution's designerIt isn't thereOpen the flow from My flows

Troubleshooting​

SymptomLikely causeFix
The trigger list doesn't show your triggerThe search text doesn't matchType part of its name, or the connector's
The flow isn't in the solutionIt was created outside itCreate it in the solution
No New designer toggleThe flow was opened from the solutionOpen it from My flows and select Edit

FAQ​

What's the difference between automated, instant and scheduled flows?​

An automated flow starts by itself on an event, an instant flow when a person starts it, and a scheduled flow on a timetable.

Can I add an existing flow to a solution instead?​

Microsoft's article has an Add existing > Automation > Cloud flow option, and says You can't add some non-solution cloud flows into a solution. Creating the flow in the solution avoids the question.

Conclusion​

In the solution, New > Automation > Cloud flow > Automated, a name and a trigger create the flow. Fill in the trigger, add the first action so it can be saved, and open it from My flows to keep building in the new designer.

Additional Resources​