Skip to main content
createForm creates a form, then can add its description, settings, and initial items in display order.

Example

Inputs

title is required. documentTitle defaults to title; description is optional. settings can set emailCollection (none, verified, or respondentInput) and/or isQuiz. items accepts the item definitions listed on Add item. Set unpublished: true to create the form unpublished and not accepting responses. account selects the Google account.

Output

Returns the complete created Form; see Get form. Provider-generated item and question IDs appear in this result.