Forms
A form is a file in the repository: write its questions like a document, publish it, and read the answers as they come in.
A form is a .form.yaml file kept in the project's
repository, beside its documents, spreadsheets and slides. You edit it
in the same Office editor, publish it to your organization or to anyone
with its link, and read the answers on the form's Answers tab.
Making one
New ▸ Form in Code, Assets or the wiki starts a blank form, or a form from one of the repository's templates. A Google form brings one across from its link (the form must be shared with anyone who has the link) or from its Forms API JSON file. Pages, branching, required answers, scales, dates and file uploads come with it. Grids, times, pictures and videos stay behind, and the editor lists what was left out.
Questions
The editor shows the form the way people will fill it in. Press a question to edit it in place: its words, its kind, and whether it is Required. The kinds are:
- Text, one line or a paragraph, with a shortest and longest length if you want them;
- Email, checked as it is typed, and Number, whole or not, between two values;
- Choice: one answer or several, drawn as a list, cards, picture tiles or a dropdown, with an optional Other that takes the person's own words;
- Scale from 0 or 1 up to 10, with words at each end;
- Date, and Files, up to ten a question.
Add page splits the form into pages. Each page says where to go after it, and a page's last single-answer choice can send each answer somewhere else: the next page, another page, or straight to Submit form. Pictures you add are saved beside the form, in a folder named after it. A question kind this editor doesn't know is kept exactly as it was written, and the yellow line at the bottom says so.
Form ▸ Settings… holds the message people see after submitting, a closing date, a limit on the number of answers, one answer per person, asking for an email address, offering a copy of their answers, and letting people go back a page. Preview fills it in without sending anything.
Filing a task for each answer
Turn on File a task for each answer in the form's settings and every answer files a task on the project's board. Two settings shape it:
- Status: the column a member's answer lands in. Left as First status, it uses the board's first one. An answer through the public link always goes to triage, whatever this says.
- Title from: a short-answer, email or single-choice question whose answer titles the task. Left as Form title and sender, the title reads like Bug report — kim@client.com.
The task's description holds the whole answer, question by question, the files people sent are attached to it, and the task links back to the form. Deleting the answer later leaves the task its files. A question can also fill a field of the project's (task fields):
- a single choice fills a select;
- a multiple choice fills a multi-select;
- a scale or a number fills a number;
- a date fills a date;
- an email fills a person, matched to the member with that address;
- any question can fill a text field.
An answer the field can't take, such as an option it doesn't have, is said in the task's description rather than lost.
A member's answer is filed as theirs, and it starts a run only if they could have started one themselves. An answer through the public link is filed by the form, into triage: it starts no run and fires no task trigger until somebody in the organization accepts it, so somebody outside can never set work going on their own. One by one shows Filed as ENG-41 on each answer that filed a task, and opens it.
Starting a workflow on each answer
A trigger with the source Form starts a workflow for each answer to a published form, or to any form in the project when it names none:
on: form
form: forms/release.form.yaml
filter: 'answer.values.rating <= 2'
workflow: feedback-followup
The run reads the answer as {{ event.answer }}: who
sent it, the task it filed, and values, each question's
answer by its id, as the words people typed or picked. A filter reads
them the same way, such as
answer.values.role == "Designer". Such a trigger starts at
most 30 runs an hour unless it says otherwise, because anyone with a
form's link can answer it. The trigger is what lets an answer start
work, and a member set it up.
Asking for answers in a workflow
A Form step (Ask for answers) asks people to fill in a published form and waits for their answers, the way a wait step waits: the run sleeps and holds no machine.
- type: form
form: forms/release.form.yaml
to:
- role: [design]
until: all # or a number of answers
timeout: 3d
onTimeout: continue
Everyone it asks gets a notification that opens the form ready to
fill in. The run's page counts the answers as they come. Once everyone
answered (or the number it waits for), the run carries on, and the
next step's agent is handed the answers (up to 50) and a summary of
each question, as data under What the wait heard. When time
runs out it carries on
with the answers that came, or fails under onTimeout:
fail; Continue carries it on early. A run never
publishes a form: a step naming a form that isn't published fails and
says so.
Publishing
Publish asks who can answer:
- Members of the organization who can see the form's file fill it in from Peractor with Fill in;
- Anyone with the link fills it in on a public page at
/f/<link>, with no Peractor account.
People answer the form as it was when you published it. Later edits reach them when you choose Update published form. If the form has changes that aren't committed yet, publishing commits the form and its pictures first; anything else you changed keeps waiting in Changes.
Published ✓ opens Share. It has the link with Copy, Accepting answers (to pause answers without unpublishing), Reset link… (the old link stops working) and Stop publishing…, which keeps the answers.
Publishing a form and reading its answers needs Edit files on the form. Letting anyone with the link answer it also needs Share files publicly (roles).
Answers
Summary sums each question up: a choice's answers as bars with their counts, a scale's answers by value, a number's average, least and greatest, and the latest written answers. One by one shows each answer as it was filled in, with who sent it and Delete answer. The ⋯ menu has:
- Export spreadsheet (.xlsx) and Export CSV, one row per answer;
- Notify me: of each answer, in a daily digest at 9:00, or not at all. Whoever publishes a form hears of each answer until they change it;
- Delete all answers….
Answers live on your Peractor host, not in the repository.
Limits
Public form pages aren't listed by search engines. One connection can send ten answers an hour to a form, and a form takes 2,000 answers a day. A file can be up to 10 MB, and one answer's files up to 25 MB in all.
Agents, the assistant and MCP
A workflow's Document step can write a
.form.yaml: the agent is told the form file's shape, and a
form Peractor can't read cleanly is sent back to it with what is
wrong. The form reaches the phase's gate like any file, and publishing
it stays a person's act.
The assistant drafts and edits forms as files, brings a Google form across from its link, reads a form's summary and answers, and publishes, pauses, deletes answers, sets Notify me or answers a form for you. Publishing, deleting answers and answering always wait for your approval.
MCP's read_form lists the project's published forms,
or reads one with its summary and answers, and
form_publish publishes a form, pauses its answers, resets
its link or stops publishing it. Both work only within your
permissions.