SharePoint Create list item action

Use the Create list item action to create a list item in an existing list in your SharePoint site.

This procedure shows how to configure a Create list item action to create a list item in an existing list that is available on SharePoint Online site. This configuration uses Microsoft Graph API for the Authenticate action and SharePoint discovery assistant to retrieve the list details.

Prerequisites

Ensure that you meet the following requirements before configuring the Create list item action:

Procedure

  1. Go to SharePoint > List and list items and double-click Create list item to add the action.
  2. Click Use SharePoint discovery assistant and perform the following steps in the Connect to SharePoint modal to retrieve the lists available in your SharePoint site.
    For more information on the SharePoint discovery assistant, see SharePoint discovery assistant.
    1. Click Pick and follow the prompts in Pick an OAuth connection modal to select the OAuth connection.
      Ensure that you select the same connection that you had used for the Authenticate action.
    2. Select Microsoft Graph API in API.
      If you choose SharePoint REST API, the connection fails.
    3. Enter your SharePoint subdomain in Subdomain.
    4. Enter your SharePoint site name in Site name.
    5. Click Connect to connect to the SharePoint and retrieve the list details.
    6. Select the appropriate list where you want to make the changes in the Select a list modal.
      The list details are auto-populated in the List name/List Id and Columns fields respectively.
    7. Optional: Use the Add entry option to add new columns with column name, column type and value.
      For information about supported and unsupported column types, see Supported APIs.
  3. Select one of the following options in the Session field:
    • Session name: The name you provided for the session during authentication.
    • Variable: Select a session variable which contains the session name.
  4. Select a number variable to store the list item ID after the list item is created in List item ID.
  5. Click Save to save the configuration.

    SharePoint create list item
When run the bot, the system creates a list item with the specified parameters in the specified SharePoint list.