Create Submission
form_io.create_submission
ActionBusiness appsconnection required
Calls the Form.io API with the connection's credentials.
Submit data to a form as if someone had filled it in.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Form.io
- Secret shape
- {"api_key": "…"} for a project API key, or {"jwt_token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
form_id Identifier of the form, as returned by form_io.list_forms. | string | Yes | — | — | 5e5b6d4f0a1b2c3d4e5f6a7b |
data The values to submit, as a JSON object keyed by the form's component keys. | object | Yes | — | ≥ 1 characters | {"email":"ada@example.com","firstName":"Ada"} |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"data": {
"email": "ada@example.com",
"firstName": "Ada"
},
"form_id": "5e5b6d4f0a1b2c3d4e5f6a7b"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
_id Identifier of the submission. | string | — |
form Identifier of the form the submission belongs to. | string | — |
data The submitted values, keyed by the form's component keys. | object | — |
owner Identifier of the user the submission is owned by. | string | — |
state Submission state, such as submitted or draft. | string | — |
created ISO-8601 timestamp of when the submission was created. | string | — |
modified ISO-8601 timestamp of when it was last changed. | string | — |
metadata Browser, timezone and other metadata Form.io recorded. | object | — |
{
"_id": "",
"created": "",
"data": {},
"form": "",
"metadata": {},
"modified": "",
"owner": "",
"state": ""
}See Create Submission run in a workflow.
In a technical demo we add the Form.io connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.