Use the Create list item
action to create a list item in an existing list in your SharePoint site.
About this task
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.
Before you begin
Ensure that you meet the following requirements before
configuring the Create list item action:
Procedure
-
Go to and double-click Create list item to add the
action.
-
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.
-
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.
-
Select Microsoft Graph API in
API.
If you choose SharePoint REST API, the connection
fails.
-
Enter your SharePoint subdomain in
Subdomain.
-
Enter your SharePoint site name in Site
name.
-
Click Connect to connect to the SharePoint and retrieve the list details.
-
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.
- 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.
-
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.
-
Select a number variable to store the list item ID after the list item is created
in List item ID.
-
Click Save to save the configuration.
Results
When run the bot, the system creates a list item with the
specified parameters in the specified SharePoint list.