SharePoint get list item action

Use the Get list item action to retrieve the list item details from a list in your SharePoint site.

Prerequisites

Ensure that you are authenticated before initiating any SharePoint action. For more details, see SharePoint authenticate action.

Procedure

  1. From the Actions pane, select SharePoint > List and list items > Get list item and place it in the canvas.

    SharePoint get list item
  2. In the Site field, select one of the following options:
    • Default site: The site name used during authentication is considered the default site.
    • Other site: If you want to choose a different site, specify the different site name.
  3. In the List name field, specify the list name.
  4. In the Filter field, choose one of the following options:
    • All list items: Retrieve details of all the list items in the SharePoint list.
    • List item ID: Specify the list item ID to retrieve details of this specific list item.
    • List item title: Specify a list item title to retrieve details of this specific list item that contains the title.
  5. In the Download image(s) field, select one of the following options:
    • No: Select this option if you do not want to download the image attached to the list item.
    • Yes: Select this option and specify a destination folder path to download the image attached to the list item.
  6. In the Session field, select one of the following options:
    • Session name: The name you provided for the session during authentication.
    • Variable: Select a variable which contains the session name.
  7. In the Matched records field, select a variable to store the list item details.
The specified list item details are retrieved and stored in the variable.
Note: The output is retrieved as a list of type Dictionary. To read an individual record (row) in this list, you need to loop through all the dictionary items using the Loop action and read or extract the records (rows) individually. For example, the output of get multiple records is saved in the variable list_of_records_any. If the variable contains five records, then each record is passed to the Loop action to be processed one at a time.Loop action for get multiple records