Skip to main content

Intake forms

What this page is — bridges that turn each submission of a marketing form into a Papers document of a chosen type, with the submitted answers mapped into its fields.

What it is for — so a request that arrives through a form on your website becomes a real draft document, instead of a row somebody re-keys.

The problem it solves — form submissions are re-keyed into documents by hand, slowly and with transcription errors.

Route: /org/settings?tab=papers → Intake forms · Permission: Configure intake-form bridges: map a marketing form to a Papers document type with a field mapping so each submission auto-generates a document (FB-238)..


1. What it is​

A bridge joins one marketing form to one document type:

PartYou chooseNotes
Marketing formThe form to listen toFixed once created — delete and recreate to change it
Document typeWhat each submission becomesActive types with a published version only
Title templateThe generated document's titleBlank → {{form_name}} intake
Field mappingForm field → document fieldMay be empty
ActiveOn / off—

How a submission becomes a document:

StepWhat happens
1The form is submitted; the submission is queued on the Papers outbox as form.submitted
2The outbox worker (RESIDENT_PAPERS_OUTBOX, about every minute) picks it up
3Each active bridge for that form creates a draft of its type, in the bridge's project
4Mapped answers fill fields; unmapped fields take defaults and merge sources
5A second delivery of the same submission is skipped: a document for this submission already exists (skipped as duplicate)

Bridges and generation triggers both listen. A form bound to a bridge and a form.submitted generation trigger produces two documents.


2. Why you would use it​

  • No re-keying. The customer's answers land in the document's fields.
  • Requests become work immediately. A draft appears in the documents list within about a minute.
  • Deliveries are safe to repeat. The outbox may redeliver; the bridge will not duplicate.
  • One form, one type, explicit mapping. What fills what is visible on one screen.

3. Step by step​

  1. + Bridge → Marketing form → Document type.
  2. Optionally a Title template, e.g. {{form_name}} — {{fields.company_name}}.
  3. Field mapping — for each answer, pick the form field and the document field.
  4. Save and leave it active.
  5. Submit the form once yourself and check the documents list.

4. Field reference​

FieldRulesRefusal
Marketing formRequired; cannot be changed afterwardsThe form cannot be changed — delete this bridge and create a new one instead.
Document typeRequired; must have a published versiontype has no published version
Title template{{form_name}} and {{fields.<form field id>}}—
Field mappingForm field id → document field namefield_map must be a JSON object of form field id -> document field name

Retiring a mapped type is refused: this type is generated by a Papers intake bridge from the "X" form — delete that bridge in Organization Settings → Papers → Intake forms before retiring the type.

A failed generation is not shown on this screen

If a submission cannot become a document — the type lost its published version, say — the failure is recorded in the outbox audit, and the bridge still looks healthy here. Submit a test after any change to the type.


5. Designing a form for a bridge​

A bridge can only map what the form asks. Start from the document type, not the form.

  1. List the type's required fields on its Fields tab. Each one is either a required form question, a default, or a merge source — or it becomes a draft someone has to finish by hand.
  2. Ask each question in the shape the field expects. A date question for a date field, a number for a number, a choice list whose values match the field's select options.
  3. Keep form questions stable once mapped. The mapping is keyed on the form field's id. Renaming a question's label is safe; deleting and re-adding the question gives it a new id, and the mapping silently fills nothing.
  4. Write the title template so a list of generated drafts is scannable — the requester's company, not the form's name alone.
  5. Test before announcing the form.

Test checklist​

TestExpect
Submit with every question answeredA draft within about a minute, every mapped field filled
Submit with optional questions blankA draft; those fields empty or at their defaults
Submit the same answers twice, as two submissionsTwo drafts — duplicate protection is per submission, not per content
Check the draft's projectThe bridge's project
Submit the draft for approvalNo missing required fields refusal — or a known list of fields staff complete

When the type changes​

Change to the typeEffect on the bridge
A new version is publishedNew submissions use it
A mapped field is renamed or removedThat mapping fills nothing, silently
A new required field is addedDrafts need that field completed by hand, until the form asks for it
The type is retiredRefused while the bridge exists

6. Worked example​

A sales team's website has an NDA request form: company name, contact name, email, purpose.

SettingValue
Marketing formNDA request
Document typeMutual NDA (India)
Title templateNDA request — {{fields.company_name}}
Mappingcompany_name → counterparty_name · purpose → purpose · effective_on → effective_date

Contoso submits the form. About a minute later the list shows NDA request — Contoso Ltd, a draft with the counterparty and purpose filled. The effective date is empty — Contoso left it blank — and the type requires it, so the legal assistant fills it before submitting.

Someone later adds a form.submitted generation trigger for the same form, and the next submission produces two drafts. They remove the trigger.


7. The admin contract​

Must be trueWhereWhat breaks without it
The role holds Configure intake-form bridges: map a marketing form to a Papers document type with a field mapping so each submission auto-generates a document (FB-238).Role editorThe section is missing
The type is active and publishedType DesignerGeneration fails silently
The form asks for every required document fieldMarketing forms; FieldsDrafts need completing by hand
The outbox worker is enabledJob monitorSubmissions queue and nothing is generated
No trigger duplicates the bridgeGeneration triggersTwo documents per submission

8. Downstream​

When…Then
A submission arrivesA draft of the type appears in the bridge's project
You deactivate a bridgeNew submissions generate nothing
You change the type's fieldsMappings to removed fields fill nothing

9. Don't confuse this with…​

The Service Desk catalogAlso form-driven, but creates tickets — see Orbit Resolve
Generation triggersAny platform event, including form submissions
Capture inboxFiles that arrive, not structured answers
Building the formDone in marketing forms; a bridge only maps one

10. Troubleshooting​

SymptomCause
Submissions produce no documentBridge inactive, type unpublished, or the outbox worker is off
Two documents per submissionA generation trigger also listens to the form
Fields are emptyUnmapped, or the answer was blank
The form cannot be changedDelete and recreate the bridge
The type cannot be retiredA bridge uses it