You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/business-apps/get-started/set-up-sharepoint-site-lists-libraries.md
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,25 @@
1
1
---
2
2
title: Set up your SharePoint site with lists and libraries
3
3
description: Set up your SharePoint site with lists and libraries
4
-
ms.date: 12/12/2018
4
+
ms.date: 3/11/2020
5
5
ms.prod: sharepoint
6
6
localization_priority: Priority
7
7
---
8
8
9
9
# Set up your SharePoint site with lists and libraries
10
-
11
10
To successfully complete the *Getting Started* tutorials, set up your SharePoint site with the following items.
12
11
13
-
## Projects list
12
+
## Microsoft 365 tenant
13
+
To use Power Automate and build flows, you need an Office 365 tenant.
14
+
15
+
If you already have an Office 365 tenant, see section **Create Projects list** below.
16
+
17
+
If you don't have one, you can get an Office 365 developer subscription when you join the [Office 365 Developer Program](https://developer.microsoft.com/office/dev-program). See the [Office 365 Developer Program documentation](https://docs.microsoft.com/office/developer-program/office-365-developer-program) for step-by-step instructions about how to join the Office 365 Developer Program and sign up and configure your subscription.
18
+
19
+
## Create Projects list
14
20
Create a new SharePoint list called **Projects**. To create a new SharePoint list, follow these steps.
15
21
16
22
### Create a new list
17
-
18
23
1. In your Microsoft 365 tenant, browse to a modern SharePoint site.
19
24
20
25
> **Note:** You can use either a modern Teams site or a Communications site.
@@ -24,7 +29,6 @@ Create a new SharePoint list called **Projects**. To create a new SharePoint lis
24
29
3. In the **Create list** panel, enter the following:
25
30
26
31
***Name**: Projects
27
-
***Description**: Projects list
28
32
29
33
4. To create the list, select **Create**
30
34
@@ -40,7 +44,6 @@ Create a new SharePoint list called **Projects**. To create a new SharePoint lis
40
44
7. To add the column to the Projects list, select **Save**. The new **Owner** column becomes available in the **Projects** list.
41
45
42
46
### Add new project items
43
-
44
47
In the List command bar, select **New**, and add the following list items:
45
48
46
49
* Item 1
@@ -58,3 +61,5 @@ In the List command bar, select **New**, and add the following list items:
58
61
## Next steps
59
62
60
63
Now that you have set up your SharePoint site with the lists and libraries, you are ready to build your first flow.
64
+
65
+

description: Connect your flow to 200+ services available in Power Automate, and build an integrated experience to perform actions in the services.
4
-
ms.date: 12/12/2018
4
+
ms.date: 3/11/2020
5
5
ms.prod: sharepoint
6
6
localization_priority: Priority
7
7
---
8
8
9
9
# Connect your flow to other services
10
-
11
10
Connect your flow to 200+ services available in Power Automate and build an integrated experience to perform actions in the services. This article continues building the *Projects* list flow built in the previous article *Create your first flow*.
12
11
13
12
## Connect to Microsoft Teams
14
-
15
13
In this article, we will connect to Microsoft Teams and post a message to one of the channels.
16
14
17
15
> **Note:** While this article focuses on Microsoft Teams, you can also connect to various other services in your flow.
18
16
19
17
### Edit the flow
20
-
21
18
1. In your browser, switch to the **flow designer** tab.
22
19
23
20
2. If you do not have the flow designer tab opened, to open the flow, follow these steps:
24
21
* Browse to the **Projects** list.
25
-
* Select **Flow**, and then select **See your flows**.
26
-
* If promoted, sign in with your Microsoft 365 account.
27
-
* In the **My flows** tab, select **Send an email for new projects** flow.
28
-
* To edit the flow, select **Edit flow**.
22
+
* Select **Automate**, then select **Power Automate**and then expand to select **See your flows**.
23
+
* If prompted, sign in with your Microsoft 365 account.
24
+
* In the **My flows** tab, select **Send a customized email when a new SharePoint list item is added** flow.
25
+
* To edit the flow, in the flow details page, select **Edit** in the top command bar.
29
26
30
27
3. In the flow designer, select **+ New step**.
31
28
32
-
4.Select **Add an action**. The actions list opens where you can search and browse for various actions available in your flow in Power Automate.
29
+
4.In the search box, to search for Teams-based actions, enter **Teams**.
33
30
34
-
6. In the search box, to search for Teams-based actions, enter **Teams**.
31
+
5. In the results, to filter the actions to just Teams, select the **Microsoft Teams** connector.
35
32
36
-
7. In the results, to filter the actions to just Teams, select the **Microsoft Teams** connector.
33
+

37
34
38
-
8. In the available actions list, select **Microsoft Teams - Post message**.
35
+
6. In the available actions list, select **Microsoft Teams - Post message**.
39
36
> To read more about the action and what it does, select the **information** icon.
40
37
41
38

42
39
43
-
9. As soon as the action is added, Power Automate begins to create the Teams connection. After the connection is created successfully, the action with the available inputs appears.
40
+
7. As soon as the action is added, Power Automate begins to create the Teams connection. After the connection is created successfully, the action with the available inputs appears.
44
41
45
42

46
43
47
-
10. To see the connection information, select the **...** (ellipsis) button. To see the connection information the Teams action is using, check the **My connections** section.
44
+
8. To see the connection information, select the **...** (ellipsis) button. To see the connection information the Teams action is using, check the **My connections** section.
48
45
49
-
11. For the Teams action, enter the inputs.
50
-
* Team Id: From the picker, select a team.
51
-
* Channel Id: From the picker, select a channel.
46
+
9. For the Teams action, enter the inputs.
47
+
* Team: From the picker, select a team.
48
+
* Channel: From the picker, select a channel.
52
49
53
-
12. To construct a message that includes the project information, we must interact with the dynamic content panel. In the **Message**, enter the following in this same order:
50
+
10. To construct a message that includes the project information, we must interact with the dynamic content panel. In the **Message**, enter the following in this same order:
54
51
* Enter: **A new project**.
55
52
* In the dynamic content list, search and select the following property: **Title**.
56
53
* Enter: **was added to the Projects list by**.
57
54
* In the dynamic content list, search and select the following property: **Created By DisplayName.**
58
55
59
56

60
57
61
-
13. To save your flow, on the command bar, select **Save**.
58
+
11. To save your flow, on the command bar, select **Save**.
62
59
63
60
## Test your flow
64
-
65
61
1. On the command bar, select **Test**.
66
62
67
63
2. Select **Using data from previous runs**. Because you already had previous runs of this flow in the previous article, you can select the same data for this flow run as well.
@@ -75,5 +71,4 @@ In this article, we will connect to Microsoft Teams and post a message to one of
75
71
5. As a result of this flow run, you receive an email, and a message is posted on the selected Teams channel.
76
72
77
73
## Next steps
78
-
79
-
In the next topic, we will use the same flow and add ... .
74
+
Learn new skills and discover Power Automate with step-by-step guidance by exploring learning paths and modules available here: [Power Automate Learning Paths](https://docs.microsoft.com/en-us/learn/browse/?term=Power%20Automate&products=power-automate).
Copy file name to clipboardExpand all lines: docs/business-apps/power-automate/get-started/create-your first-flow.md
+9-16Lines changed: 9 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,20 @@
1
1
---
2
2
title: Send an email when a new item is created or modified in a SharePoint list
3
3
description: Send an email when a new item is created or modified in a SharePoint list
4
-
ms.date: 12/12/2018
4
+
ms.date: 3/11/2020
5
5
ms.prod: sharepoint
6
6
localization_priority: Priority
7
7
---
8
8
9
9
# Send an email when a new item is created or modified in a SharePoint list
10
-
11
10
Using Power Automate, you can easily automate day-to-day tasks or build repetitive tasks in SharePoint that help you stay productive.
12
11
13
12
In this tutorial, you will create a flow that sends an email when a new item is added or modified in a SharePoint list.
14
13
15
14
## Required setup
16
-
17
-
Before proceeding with these instructions, make sure your SharePoint site is set up with the required lists and libraries.
15
+
Before proceeding with these instructions, make sure your SharePoint site is set up with the [required lists and libraries](../../../business-apps/get-started/set-up-sharepoint-site-lists-libraries).
18
16
19
17
## Create a flow
20
-
21
18
1. In your SharePoint site, browse to the **Projects** list.
22
19
23
20
2. To create and manage flows for a list or a library, from the command bar, on the list or library page, select **Automate** > **Power Automate**. Selecting **Power Automate** expands to show you more options:
@@ -49,16 +46,16 @@ Before proceeding with these instructions, make sure your SharePoint site is set
49
46
50
47

51
48
52
-
6. To create the flow, select **Create Flow**. Any connections that require a connection is also attempted during this step. After the flow is created successfully, you are redirected to the flow designer where you can edit and modifify the flow if needed.
49
+
6. To create the flow, select **Create Flow**. Any connections that require a connection is also attempted during this step. After the flow is created successfully, you are redirected to the flow details page where you can edit and modifify the flow if needed.
50
+
>Your flow is active as soon as you save the flow. In this case, this flow that will send an email when new items are added to the list is now active, and runs whenever new items are added to the **Projects** list in the specified SharePoint site.
53
51
54
-

52
+

55
53
56
-
7. Select the name of the flow that reads **Send a customized email when a new SharePoint list item is added**, and enter the following name for the flow:
57
-
* Send an email for new projects
54
+
7. Click **Edit** in the top command bar to edit the flow in the flow designer.
58
55
59
-
The SharePoint actions are represented with the SharePoint logo in the flow designer.
56
+

60
57
61
-
8.In the**When the new item is created**action, to expand the action, select **Edit**. Note the input configured to the SharePoint site address and list name from where you created the flow.
58
+
8.Click on**When the new item is created**trigger to expand and view the configured properties.Note the input configured to the SharePoint site address and list name from where you created the flow.
62
59
63
60
9. In the **Send Email** action, to expand the action, select **Edit**. All the input is filled in with dynamic values from the **Get my profile** and **When the new item is created** actions.
64
61
@@ -68,17 +65,14 @@ Before proceeding with these instructions, make sure your SharePoint site is set
68
65
69
66
11. To save the flow, select **Save**.
70
67
71
-
Your flow is active as soon as you save the flow. In this case, this flow **Send an email for new projects** is now active, and runs whenever new items are added to the **Projects** list in the specified SharePoint site.
72
-
73
68
## Test your flow
74
-
75
69
To test your flow, either add a new item in SharePoint list by adding a new item, or initiate the test run directly from the flow designer. To test the flow from the designer, follow these steps. Testing the flow from the designer helps you to quickly see the flow run as the flow is executed.
76
70
77
71
1. In the flow designer, on the top command bar, select **Test**.
78
72
79
73
2. In the **Test Flow** panel, select **I'll perform the trigger action**, and then select **Save & Test**.
80
74
81
-

75
+

82
76
83
77
A message appears instructing you to add a new list item to the SharePoint list you selected.
84
78
@@ -127,7 +121,6 @@ To test your flow, either add a new item in SharePoint list by adding a new item
127
121
You receive an email with the updated owner information in it.
128
122
129
123
## Next steps
130
-
131
124
Congratulations on creating your first flow!
132
125
133
126
In the next topic, we will use the same flow, and add the ability to interact with Microsoft Teams.
Copy file name to clipboardExpand all lines: docs/business-apps/power-automate/guidance/working-with-get-items-and-get-files.md
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -12,36 +12,42 @@ The **Get items** and **Get files** SharePoint actions for flows in Power Automa
12
12
**IMPORTANT:** First, and of primary consideration, the **Get items** action only works with lists, whereas the **Get files** action only works with libraries.
13
13
14
14
## Item limits
15
-
16
-
The default item limit is 100.
15
+
The default item limit is 100 and items are paginated by default as well.
17
16
18
17
If you are using the default options, and simply specifying the site address and list or library name, Power Automate returns 100 items from the list or library.
19
18
20
19
If you are working with large lists, you can increase this limit up to the list view threshold limit of 5,000.
21
20
22
21
To specify the number of items to be returned, expand the **Advanced options**, and specify the number in the **Top Count** action property.
23
22
23
+

24
+
24
25
If you go beyond 5,000 item limit, Power Automate fails and generates an error dialog.
25
26
26
-
When you select **Apply** to each action to the returned item collection, the items are paginated as well.
27
+
## Limit items to a specific folder
28
+
By default, the action will return all items or files in the list or library, recursively from all folders if available. You can change this behavior with the following:
29
+
* Use _Limit Entries to Folder_ property to select a speific folder in the list or library
30
+
* Use _Include Nested Items_ property to limit entries to that specific folder or within all sub-folders
27
31
28
-
## Limit columns by view
32
+

29
33
34
+
## Limit columns returned by view
30
35
List views are a useful configuration where you can customize what columns to show along with any other conditions or groupings of list items. This is not only useful for users, but also for any other computation you want to do using that view data.
31
36
32
37
To retrieve the list items along with their columns, select the **Get items** and **Get files** actions. However, retrieving the columns retrieves all the columns. While this is useful, it could be excessive when you only need to work with a specific set of columns configured in a specific view.
33
38
34
39
To limit your column retrieval, in the **Get items** and **Get files** actions, expand **Advanced options**, select the **Limit columns by view** option. While retrieving list items, you can now limit the columns by view.
35
40
41
+

42
+
36
43
This option is useful in cases where you want to perform a set of operations on specific data, like in the previous example where you want a view for different events. In this case, working with food events, it would be optimal to limit the columns by the *Food Events*.
37
44
38
45
## Filter queries
39
-
40
46
This action also supports specifying filter queries so you can filter items on the server. Using filter queries are as functional as filtering the returned results in your flow in Power Automate.
41
47
42
48
We support the following OData filter queries in SharePoint that you can use:
43
49
44
-
Filter by column name:
50
+
-Filter by column name:
45
51
46
52
```
47
53
Location eq 'Midwest'
@@ -53,13 +59,14 @@ Other examples:
53
59
54
60
* Location eq 'Midwest' and Status eq 'Approved'
55
61
* startswith(Title, 'A')
56
-
* startswith(Title, 'A') and Due_x0020_Date gt 'formatDateTime(utcNow(),'yyyy-MM-dd')'
57
-
* formatDateTime(utcNow(),'yyyy-MM-dd') is an expression
62
+
* startswith(Title, 'A') and Start_x0020_Date gt 'formatDateTime(utcNow(),'yyyy-MM-dd')'
63
+
* formatDateTime(utcNow(),'yyyy-MM-dd') is an expression
64
+
65
+

58
66
59
67
We support the following query methods and operators.
60
68
61
69
### Numeric comparisons
62
-
63
70
* lt
64
71
* less than
65
72
* le
@@ -74,14 +81,12 @@ We support the following query methods and operators.
74
81
* not equal
75
82
76
83
### String comparisons
77
-
78
84
* startsWith
79
85
* substringOf
80
86
* eq
81
87
* ne
82
88
83
89
### Date and time functions
84
-
85
90
* day()
86
91
* month()
87
92
* year()
@@ -90,18 +95,15 @@ We support the following query methods and operators.
90
95
* second()
91
96
92
97
## Order by query
93
-
94
98
You can also specify an order by query to order items based off of a column either in ascending or descending order. For example:
95
99
96
-
*Due_x0020_Date desc
100
+
*Start_x0020_Date desc
97
101
* Title asc
98
102
99
103
Spaces in the column name are replaced with `_x0020_` (0 is numeral zero).
100
104
101
-
The format is the column name followed by asc or desc depending on ascending or descending order, respectively.
105
+

102
106
103
-
## Lookup columns support
107
+
The format is the column name followed by asc or desc depending on ascending or descending order, respectively.
104
108
105
-
If your list/library has lookup columns, **Get items** and **Get files** actions support returning items with a maximum of 12 lookup columns, excluding the out-of-the-box **Created by** and **Modified by** fields. If your list or library exceeds this threshold, the flow in Power Automate fails.
106
109
107
-
We do not support lookup columns in both **filter by** and **order by** queries in the action. These include fields such as person fields, lookup columns to another list, taxonomy fields, and so on.
0 commit comments