Hey Community,
How do you count the number of items that has been created by a "Create Item" in SharePoint action?
Scenario: I have a Power Automate step that IF the EmployeeID is already in the SharePoint list (tblEmployee) SKIP the create new and IF the EmployeeID is NOT in the SharePoint List (tblEmployee) then CREATE ITEM in SharePoint table. Now that is working fine.. my problem is i wanted to check or how many new records has been created IF the EmployeeID is not in the table.
How do i do that? I used the below code in a compose action but it has error.
length(outputs('Create_item')?['body'])

any help is appreciated.
Thanks