Add list Item in sharepoint using microsoft 365 activity

Hi Team,
Can you please help me to add the list items in sharepoint list. I tried using Add list item activity but getting below error:
image
Note: I have used build data type activity to create a datatable and passing the same variable in Add list item activity. Do we have another approach through which we can take the input from user in run time and add the same in sharepoint list.

Thanks,
Riya

Hi @Riya1

Some of the columns you are adding is in different data types which not matches the Existing list in Sharepoint. Check the datatype of each column and follow the same datatypes for column that you have created in Build datatable activity.

If you want to receive input from the user at runtime, you can use the Input Dialog Box activity. This activity displays a popup window in the foreground, allowing the user to provide their input.

Hope it helps!!

@mkankatala,
Can you let me know how to pass that variable in Add list item activity?