Adds an item to a given SharePoint list using the Microsoft Graph API.
Last updated
Was this helpful?
To use this procedure, make sure your agent has learned the Sharepoint Book (BDK).
Syntax
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
add the item to the slist
What does it do? This is the base syntax for the procedure.
Where does it go? This phrase should be written on a new line.
Is it required? ✅ Yes — This phrase is required in the syntax.
Does it require input data? ✅ Yes — The list to which the item will be added must be specified for the slist and the item to be added to the list must be specified for the item.
The item should be a set of labeled data. Make sure the labels match the column names exactly. It is recommended that you create the item using .
SharePoint columns have two names: the display name and an internal name used behind the scenes. Always use the internal name when adding items, since different columns can have the same display name. You can find these internal names when you .
Examples
1. Example 1
create a json
use the above as the item body
set the item body's "Title" to "First Item"
set the item body's "column1" to "col 1 value"
add the item body to the list