findResponsesBySubmitPerson()
Returns form responses for a specific form where the submitter (the person who filled out the form) matches a given person, optionally filtered by date range.
Useful when you want to see all form submissions made by a particular employee — for example, all shoutouts a person has sent, or all self-reviews they've submitted.
Syntax
findResponsesBySubmitPerson(form, submitPerson[, from][, until])
Parameters
Return Type
ListList <FormResponseFormResponse>
Examples
findResponsesBySubmitPerson('Shoutout', person, '-90d').count()
Counts the number of shoutouts the current person has sent in the past 90 days.
findResponsesBySubmitPerson('1:1 Notes', person, intervalFrom, intervalUntil).count()
In a Dashboard, returns the number of 1:1 Notes the current person has submitted over the dashboard's time interval.
