HI @Stevenb12 ,
Just assisting my colleague @mdevaney here - he has got you 95% of the way so please accept his solution.
You don't need Value() around numberOfTeamMembers if it is already a number.
I translated the Dutch (getal = number) and with auto decimals, it certainly should Collect to the the list. If not try
Patch(
Teams;
Defaults(Teams);
{
TeamID: teamIDUnique;
requestor:
{
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims:"i:0#.f|membership|" & User().Email,
Department:"",
DisplayName:User().FullName,
Email:User().Email,
JobTitle:"",
Picture:""
};
teamName: teamName;
NrParticipants: numberOfTeamMembers;
surveyID: "Collaboration Survey";
requestDateTime: Now()
}
)