Add a form
add_formMake a form (like Google Forms): a Form tab of questions, shared as a link anyone can fill in without an account. Each response becomes a card on a board (to work through: bug reports, requests, applications) or a row in a sheet (to count: RSVPs, feedback, surveys). From a starter, or from questions (or sections of them) of types short, paragraph, number, email, link, date, single, multi, rating and checkbox. On a board, each answer can be the card’s title, its description, or a card field (made when the card type lacks it). Without documentId it makes a document of its own. Answers as read_form does; share_form publishes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The form’s heading, which is its tab’s name, up to 80 characters. | |
| theme | No | The Form tab’s theme; the document’s when left out. A form wears its tab’s look. | |
| starter | No | A ready-made form: bug-report, feature-request, job-application and contact send cards to a board; feedback and rsvp send rows to a sheet. Its questions, card type and fields come with it. | |
| sections | No | Pages of questions, shown one at a time with Next and Back; a later one may show only on an earlier answer. | |
| settings | No | When it closes, how many responses it takes, and its messages. | |
| questions | No | The questions, in order, on one page. Use sections for several pages. | |
| documentId | No | The document to add the Form tab to. Absent: a new document named after the form, holding it. | |
| respondsTo | No | Where responses go. Absent: a starter’s own way; for questions, a new board. | |
| description | No | A line under the heading (questions only; a starter brings its own). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link that opens the document in the livediagram editor. | |
| link | Yes | The form link anyone can fill it in at; null unpublished or for a non-Editor. | |
| made | No | The documents and tabs the call made. | |
| cover | No | The cover band’s colours. | |
| lines | No | What the call did. | |
| state | Yes | accepting: the link takes responses. paused: published, but responses have nowhere to go. | |
| tabId | Yes | The Form tab. | |
| unseen | Yes | Responses the caller has not seen (opening the Form tab sees them). | |
| heading | Yes | The form’s heading, which is its tab’s name. | |
| problems | Yes | What stops it being published, in Share Form’s words; empty when ready. | |
| sections | Yes | The pages of the form, in order. | |
| settings | Yes | closesAt (ISO), limit, and the confirmation and closed messages respondents see. | |
| responses | Yes | Responses so far. | |
| documentId | Yes | The document. | |
| respondsTo | Yes | Where responses go: {to: "board", board, cardType, column}, {to: "sheet", sheet} or {to: "nowhere"}. | |
| description | No | The line under the heading. | |
| closedReason | No | Why a published form is closed: switched_off, closes_at (its time passed) or limit (it is full). | |
| respondsToProblem | No | Why responses cannot land there now. |