|
| 1 | +Microsoft SharePoint Connector in Power Automate supports the following flow triggers and actions. |
| 2 | + |
| 3 | +## SharePoint triggers |
| 4 | + |
| 5 | +#### When an item is created |
| 6 | +Triggers the flow when an item is created. |
| 7 | + |
| 8 | +#### When an item is created or modified |
| 9 | +Triggers the flow when an item is created, and also each time it is modified, in a SharePoint list. |
| 10 | + |
| 11 | +#### When an item is deleted |
| 12 | +Triggers the flow when an item is deleted in a list. To get the properties of the deleted item, this trigger will need to connect using a site collection user account to the associated SharePoint site on which the trigger is epxected to run. |
| 13 | + |
| 14 | +#### For a selected item |
| 15 | +Triggers the flow for a selected item in a list. |
| 16 | + |
| 17 | +#### When a file is created (properties only) |
| 18 | +Triggers the flow when a file is created in a document library and returns only the custom file properties associated with that file. |
| 19 | + |
| 20 | +#### When a file is created in a folder |
| 21 | +Triggers the flow when a file is created in a SharePoint folder. This trigger does not run if a file is added or updated in a subfolder inside the folder this trigger is operating on. If it is required to trigger on subfolders, different flows for one or more subfolder should be created. |
| 22 | + |
| 23 | +#### When a file is created or modified (properties only) |
| 24 | +Triggers the flow when a file is created, and also each time if the file properties are modified in a library. Returns only the custom file properties associated with that file. |
| 25 | + |
| 26 | +#### When a file is created or modified in a folder (properties only) |
| 27 | +Triggers the when a file is created, and also each time the file properties are modified in the selected SharePoint folder. The trigger does not fire if a file is added/updated in a subfolder. If it is required to trigger on subfolders, different flows for one or more subfolder should be created. |
| 28 | + |
| 29 | +#### When a file is deleted |
| 30 | +Triggers the flow when a file is deleted in a document library. You can optionally specify a folder to watch as well. When a folder is deleted, the trigger will fire only once for the deleted folder including its subfolders. To get the properties of the deleted file, this trigger will need to connect using a site collection user account to the associated SharePoint site on which the trigger is epxected to run. |
| 31 | + |
| 32 | +#### For a selected file |
| 33 | +Triggers the flow for a selected file in a document library. |
| 34 | + |
| 35 | +#### When a site has requested to join a hub site |
| 36 | +Triggers a flow upon hub site join approval request. |
| 37 | + |
| 38 | +## SharePoint actions |
| 39 | + |
| 40 | +### Add attachment |
| 41 | +Adds a new attachment to the specified list item. |
| 42 | + |
| 43 | +### Approve hub site join request |
| 44 | +Approve hub site join request. This will return an approval token that can be used to complete the join request using the join hub site action. |
| 45 | + |
| 46 | +### Cancel hub site join request |
| 47 | +Cancel hub join request. If applicable, you should specify the same Approval Correlation Id as used in the "Set hub site join status to pending" action. |
| 48 | + |
| 49 | +### Check in file |
| 50 | +Check in a checked out file in a document library, which makes the version of the document available to others. |
| 51 | + |
| 52 | +### Check out file |
| 53 | +Check out a file in a document library to prevent others from editing the document, and your changes from being visible until the documented is checked in. |
| 54 | + |
| 55 | +### Copy file |
| 56 | +Copies a file. Works in a similar way to the "Copy to" command in SharePoint libraries. Returns information about the new file after copy. |
| 57 | + |
| 58 | +### Copy file (deprecated) |
| 59 | +Copies a file to a SharePoint site. |
| 60 | + |
| 61 | +### Copy folder |
| 62 | +Copies a folder. Works in a similar way to the "Copy to" command in SharePoint libraries. Returns information about the new folder after copy. |
| 63 | + |
| 64 | +### Create file |
| 65 | +Uploads a file to a SharePoint site. Make sure to pick an existing library. |
| 66 | + |
| 67 | +### Create item |
| 68 | +Creates a new item in a SharePoint list. |
| 69 | + |
| 70 | +### Create new folder |
| 71 | +Creates a new folder or folder path. |
| 72 | + |
| 73 | +### Create sharing link for a file or folder |
| 74 | +Create sharing link for a file or folder. |
| 75 | + |
| 76 | +### Delete attachment |
| 77 | +Deletes the specified attachment. |
| 78 | + |
| 79 | +### Delete file |
| 80 | +Deletes the file specified by the file identifier. |
| 81 | + |
| 82 | +### Delete item |
| 83 | +Deletes an item from a SharePoint list. |
| 84 | + |
| 85 | +### Discard check out |
| 86 | +If you check out a file and don’t make changes to it, or you make changes that you don’t want to keep, you can simply discard the checkout, rather than saving the file. If your organization tracks versions, a new version is created each time you check a file back into the library. By discarding the checkout, you can avoid making new versions when you haven’t made any changes to the file. |
| 87 | + |
| 88 | +### Extract folder |
| 89 | +Extracts an archive file into a SharePoint folder (example: .zip). |
| 90 | + |
| 91 | +### Get all lists and libraries |
| 92 | +Get all lists and libraries. |
| 93 | + |
| 94 | +### Get attachment content |
| 95 | +Returns file contents using the file identifier. The contents can be copied somewhere else, or be used as an attachment. |
| 96 | + |
| 97 | +### Get attachments |
| 98 | +Returns the list of attachments for the specified list item. You can add a "Get attachment content" step and use the "File identifier" property returned by this action to get to the contents of the file. |
| 99 | + |
| 100 | +### Get file content |
| 101 | +Gets file contents using the file identifier. The contents can be copied somewhere else, or be used as an attachment. |
| 102 | + |
| 103 | +### Get file content using path |
| 104 | +Gets file contents using the file path. |
| 105 | + |
| 106 | +### Get file metadata |
| 107 | +Gets information about the file such as size, etag, created date, etc. Uses a file identifier to pick the file. Use "Get file properties" action to get to the values stored in the columns in the library. |
| 108 | + |
| 109 | +### Get file metadata using path |
| 110 | +Gets information about the file such as size, etag, created date, etc. Uses a file path to pick the file. Use "Get file properties" action to get to the values stored in the columns in the library. |
| 111 | + |
| 112 | +### Get file properties |
| 113 | +Gets the properties saved in the columns in the library for the item specified by the item id. You can add a "Get file content" step and use the "File identifier" property returned by this action to get to the contents of the file. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually. |
| 114 | + |
| 115 | +### Get files (properties only) |
| 116 | +Gets the properties saved in the columns in the library for all folders and files stored in the library. You can also filter down to the items that match a condition. An "Apply to each" section is usually used to work with the output from this action. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually. |
| 117 | + |
| 118 | +### Get folder metadata |
| 119 | +Gets information about the folder. Uses a file identifier to pick the folder. |
| 120 | + |
| 121 | +### Get folder metadata using path |
| 122 | +Gets information about the folder. Uses a folder path to pick the folder. |
| 123 | + |
| 124 | +### Get item |
| 125 | +Gets a single item by its id from a SharePoint list. |
| 126 | + |
| 127 | +### Get items |
| 128 | +Gets items from a SharePoint list. |
| 129 | + |
| 130 | +### Get list views |
| 131 | +Gets views from a SharePoint list. |
| 132 | + |
| 133 | +### Get lists |
| 134 | +Gets SharePoint lists from a site. |
| 135 | + |
| 136 | +### Grant access to an item or a folder |
| 137 | +Grant access to an item or a folder in SharePoint to specific people. |
| 138 | + |
| 139 | +### Join hub site |
| 140 | +Join the requested site to the hub site. An Approval Token is required to complete the join successfully if that hub requires approval. If applicable, you should specify the same Approval Correlation Id as used in the "Set hub site join status to pending" action. |
| 141 | + |
| 142 | +### List folder |
| 143 | +Returns files contained in a SharePoint folder. |
| 144 | + |
| 145 | +### List root folder |
| 146 | +Returns files in the root SharePoint folder. |
| 147 | + |
| 148 | +### Move file |
| 149 | +Moves a file. Works in a similar way to the "Move to" command in SharePoint libraries. Returns information about the new file after move. |
| 150 | + |
| 151 | +### Move folder |
| 152 | +Moves a folder. Works in a similar way to the "Move to" command in SharePoint libraries. Returns information about the new folder after move. |
| 153 | + |
| 154 | +### Resolve person |
| 155 | +Returns a single matching user value so it can be assigned to a column of type person. If there are no matches, or multiple matches, this action will error out. |
| 156 | + |
| 157 | +### Send an HTTP request to SharePoint |
| 158 | +Construct a SharePoint REST API to invoke. Note – This action may execute any SharePoint REST API you have access to. Please proceed with caution. |
| 159 | + |
| 160 | +### Set content approval status |
| 161 | +Sets the content approval status for an item in a list or library that has content approval turned on. You must provide an ETag for pages and files. You can get the ETag using the Get File Metadata action. This action is only available for SharePoint Online and SharePoint 2019. |
| 162 | + |
| 163 | +### Set hub site join status to pending |
| 164 | +Set the requested site's hub join request status to pending. The Approval Correlation Id is an optional parameter that helps SharePoint identify a particular hub join request. The requesting site can only have one pending request at a given time. |
| 165 | + |
| 166 | +### Stop sharing an item or a file |
| 167 | +Delete all links giving access to an item or a file and remove all people with direct access except for owners. |
| 168 | + |
| 169 | +### Update file |
| 170 | +Updates the contents of the file specified by the file identifier. |
| 171 | + |
| 172 | +### Update file properties |
| 173 | +Updates the properties stored in columns in a library for the item specified by the item id. Use "Update file" action to update file contents. When using this with the On-Premises Data Gateway, the name of the library to connect to may need to be entered manually. |
| 174 | + |
| 175 | +### Update item |
| 176 | +Updates an item in a SharePoint list. |
0 commit comments