# Form automation specification

Version: 2026-11-20. Planning document only. This is not an executable workflow or native import for any vendor. Do not paste credentials into it.

## Job and ownership

- When [event] happens, [action] should happen for [audience].
- Workflow owner: [role]
- Backup owner: [role]
- Form URL and version: [approved reference]
- Source system: [form platform]
- Destination system of record: [system]
- Data-handling owner: [role]
- Decision policy version: [version]

## Receive and validate

- Event type: [specific provider event]
- Stable submission ID: [field and source]
- Sender authentication or signature validation: [documented mechanism, where applicable]
- Required input fields: [field names and purpose]
- Allowed categories: [list]
- Length, type and format checks: [rules]
- Unknown or conflicting input: [review queue and reason]
- Field changes: [who approves them and how mappings are retested]

## Store and decide

- Minimum fields retained: [list]
- Raw-response access: [roles]
- Retention and removal owner: [decision and role]
- Duplicate definition: [same event versus new request or revised request]
- Persistent uniqueness or action-idempotency mechanism: [verified destination control]
- Concurrent event handling: [how one worker claims the action safely]
- Ordered routing rules: [rule, destination and reason]
- Fallback owner: [role]

## External actions

For each action, record:

| Action | Unique action key | Success evidence | Known failure | Uncertain outcome |
| --- | --- | --- | --- | --- |
| [Create record / assign / acknowledge] | [submission plus action identity] | [destination ID or documented confirmation] | [retry or review] | [check destination before replay] |

Do not mark an email Delivered only because the workflow accepted a send request. Do not automatically enrol respondents in marketing.

## Failure and recovery

- Maximum retry attempts and delay policy: [chosen values and reason]
- Terminal failure destination: [queue]
- Alert contents: [ID, stage and short reason; avoid raw answers]
- How the owner checks whether a timed-out action already happened: [procedure]
- How completed actions survive a replay: [mechanism]
- Monitoring for missing or stuck submissions: [comparison and frequency]
- Procedure when an account owner leaves or permissions change: [owner]

## Acceptance tests

Use the companion CSV with fictional input and approved test accounts. Fill in actual results, workflow version and evidence references. Leave verdicts blank until each test is run. An unexecuted test is not a pass.

## Change review

Rerun relevant tests after changes to fields, branching, destination schema, routing rules, permissions or notification templates. Review the active form link and queued failures with the named owner.

Guide: https://cut-the-saas.com/guides/form-automation

Runnable offline decision example: https://cut-the-saas.com/workflow-kits/lead-routing
