Create SharePoint List Item Using Copilot Studio [Step By Step]

One day, a team member asked whether there was an easier way for employees to apply for leave without having to fill out forms or update SharePoint lists manually.

That’s when I thought, why not create a Copilot in Copilot Studio that can handle this automatically?

With just a few simple steps, you can build a smart Copilot that asks employees for their leave details, calculates the total days, and instantly adds the information to your SharePoint list, all without writing a single line of code.

In this tutorial, I will show you step by step how to create a Leave Request Copilot that adds new items to your Employee Leave Requests SharePoint list.

Create a SharePoint List Item Using Copilot Studio

Before we start, make sure you have:

  • Access to Microsoft Copilot Studio
  • A SharePoint site
  • A SharePoint list named Employee Leave Requests with the following columns:
Column NameType
TitleSingle line of text
DepartmentChoice (HR, IT, Finance, Sales)
Leave TypeChoice (Annual Leave, Sick Leave, Casual Leave, Work from Home)
Start DateDate and Time
End DateDate and Time
Total DaysNumber
Reason for LeaveMultiple lines of text
StatusChoice (Pending, Approved, Rejected)
Manager CommentsMultiple lines of text

Steps to Create a Copilot that Adds Items to SharePoint

Now that we’ve set up our Employee Leave Requests SharePoint list, let’s build a Copilot in Copilot Studio that can automatically add new leave requests to the list.

Follow these simple steps to create your Copilot:

  1. Go to Copilot Studio -> click Create -> + New agent.
    • Enter a name like Leave Request Copilot.
    • Description: Helps employees submit leave requests and automatically creates items in a SharePoint list.
  2. Click Create.
Copilot Studio creating SharePoint list item automatically

Now we will save the leave details in SharePoint. Follow the steps below to add a Create item action:

  1. In the above agent, select the “Tools” tab, then click the + Add a tool button. Select “Create item” from the SharePoint connector.
  2. Then, click Add and configure.
creat a SharePoint list item using Copilot Studio
  1. Next, expand the ‘Additional details’ section, then select ‘Maker-provided credentials’ under credentials to use.
Microsoft Copilot Studio integration with SharePoint list creation
  1. In the Inputs section, add the Site Address where you create the SharePoint list. Then, in the List Name, change ‘Dynamically fill with AI’ to ‘Custom value’ under ‘Fill using’, and select your SharePoint list, in my case, ‘Employee Leave Requests’.
Automated process to create SharePoint list items using Copilot Studio
  1. Then, click the + Add input to the column where you want to add the item. In my case, the fields are Email, Department, Leave Type, Start Date, End Date, and Reason for Leave.
Copilot Studio interface for creating SharePoint items through automation

Note:

You might not see all the input field names exactly as they appear in your SharePoint list. For example, instead of Reason for Leave, you might find something like item.ReasonforLeave or item.LeaveType.value.

Then we need to customise the above input parameters. Here, I will customise one; you need to customise the rest of the field.

  1. Click Customize in the Leave Type input field. Then, under Description, provide the following details:
Type of leave the employee wants to take. Choose from Annual Leave, Sick Leave, Casual Leave, or Work from Home.
Copilot chatbot adding a new record to SharePoint list
  1. In the same way, add a description for Total Days, Start Date, Reason for Leave, End Date, Employee Name, and Department.
Employee NameName of the employee applying for the leave.
DepartmentThe department the employee belongs to (HR, IT, Finance, or Sales).
Start DateThe first day of the employee’s leave period.
End DateThe last day of the employee’s leave period.
Total DaysAutomatically calculate the total number of leave days between Start Date and End Date.
Reason for LeaveThe reason the employee is applying for leave.
  1. After that, save the action by clicking the “Save” button on the top right side.
Copilot Studio integration for SharePoint list creation

Add Instructions to Copilot

Now that the Create item action is ready, we need to tell our Copilot how to behave when users interact with it.

These instructions help the Copilot understand what to ask, how to collect information, and what to do if any required field is missing.

  1. Go to the Overview tab -> click Edit under the Instructions section -> then add the following text:
When a user says something like “Apply leave” or “Submit my leave request”,
you need to collect all the required details to create a new leave item in the SharePoint list.
Ask the employee for:
Employee Name
Department
Leave Type
Start Date
End Date
Reason for Leave
If any of these details are missing, politely ask the user to provide them before submitting the request.
For example:
“To apply for leave, I need your Start Date and Leave Type. Could you please share those?”
Once all the required details are collected, automatically calculate the Total Days by finding the difference between Start Date and End Date,
and then create a new item in the Employee Leave Requests SharePoint list.
Finally, confirm with the employee by saying something like:
“Your leave request has been submitted successfully! I’ve shared it with your manager for review.”
  1. Click Save once you’ve added the instructions.
Configure Agent Instructions and Prompts

Test Copilot in Copilot Studio

Now that your Leave Request Copilot is built and published, it’s time to test how it works in action.

Follow the steps below to ensure your Copilot can successfully collect inputs, calculate total days, and create a SharePoint list item.

  1. Go to your Agent in Copilot Studio and click Test your copilot (available on the top-right corner of the screen). This will open a chat window where you can start talking to your Copilot just like an employee would.
Using Copilot Studio Create Item in SharePoint
  1. Type something like:
“Apply for leave”
or
“Submit my leave request”

The Copilot will start asking questions such as:

Create a SharePoint List Item Using Copilot Studio
  1. If you skip any information, the Copilot will politely ask again because we’ve added instructions to ensure all required fields are captured.
Create SharePoint list items automatically using Microsoft Copilot Studio
  1. Once the Copilot confirms submission, go to your Employee Leave Requests SharePoint list.
Copilot Studio for SharePoint list item creation
  1. You’ll see a new item created with all the details you entered, including the total number of days.
How to Create SharePoint List Item Using Copilot Studio

Now our Copilot is live and ready to handle leave requests automatically.

Also, you may like some tutorials:

Power Apps functions free pdf

30 Power Apps Functions

This free guide walks you through the 30 most-used Power Apps functions with real business examples, exact syntax, and results you can see.

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App