capabilities.work

Create and Publish a Form

A 4-step recipe with Google Forms. We can help you get access.

Recipe · 4 steps

Create and Publish a Form

Stand up a new Google Form end to end and return its shareable responder link.

  1. Create the form. Only info.title is honored at creation time; the description and all items are added by the batch update that follows.
  2. Apply the description and both questions in a single batch update. The revision id from the create call is supplied as write control so the update is rejected if the form changed underneath this flow.
  3. Publish the form and open it for responses so the responder URI becomes usable by the people receiving it.
  4. Read the finished form back to capture the responder URI to distribute and the revision id to carry into any later edit.
What you'll need to have ready
  • title: The title of the form shown to responders (e.g. "Customer Feedback Survey").
  • description: The description shown under the form title.
  • satisfactionQuestionTitle: The title of the 1-5 satisfaction scale question.
  • commentsQuestionTitle: The title of the free-text comments question.
For your developer

Arazzo workflow google-forms:create-and-publish-form, 4 operations: createForm → batchUpdateForm → setPublishSettings → getForm. Specs on APIs.io.