# טופס נשלח

> מתחיל כשמישהו ממלא אחד הטפסים שלכם, עם התשובות שלו.

Source: https://docs.go-lumen.ai/he/reference/triggers/form-submitted

## במבט אחד

| מאפיין | ערך |
| --- | --- |
| **Trigger name** | `form-submitted` |
| **Resource** | ClusterTrigger (`lumen.ai/v1alpha1`) |
| **Source** | event |
| **Needs a connection** | no |
| **Produces** | `fields` |
| **Emits** | item |
| **Installation must provide** | nothing |

The trigger goes under `spec.triggers` of a Flow. Its outputs are referenced as `<triggerId>.<field>`. A trigger can also carry a `when` condition ("Start only when") and `disabled: true`.

## פלט

צומת מאוחר יותר מפנה לפלט כ-`{nodeId.field}` בטקסט, או כ-`nodeId.field` בתנאי.

| פלט | סוג |
| --- | --- |
| `rowId` | string |
| `submittedAt` | date |
| `formName` | string |
| `lang` | string |

More outputs are declared in the setting `fields`.

## הגדרות

Set under `config:` on the flow trigger.

| הגדרה | סוג | ברירת מחדל | תיאור |
| --- | --- | --- | --- |
| `form` (חובה) | string |  | Name of the form whose submissions start the flow. (minLength 1) |
| `fields` | list of object |  | Fields are the form's questions, written by the editor when a form is picked. (maxItems 100) |
| `fields[].name` (חובה) | string |  | (minLength 1) |
| `fields[].type` | string |  | (one of string, number, boolean, date, money) |

ה-JSON Schema המלא של ההגדרות: [form-submitted.schema.json](https://docs.go-lumen.ai/schemas/triggers/form-submitted.schema.json).
