Skip to content
MyAppBuilder
StableWorkflow trigger

A form is submitted

Overview

Starts the workflow when a specific Form component saves a record through a Create record action, with the form's values as event data.

Purpose

Follow-ups that need the raw form input (including fields that are not stored): send a copy to the person, route the request by a choice they made, or notify the right team member.

Inputs

  • Form — the Form component (listed with its page). Leave empty to react to any form that creates a record.

Configuration

  • The form's On submit event must contain a Create record action — that is the moment the workflow starts (on the server, right after the record is stored).
  • A form that saves to its entity without any On submit actions does not start this trigger yet; add the Create record action explicitly, or use “A record is created” on the entity instead.

Outputs

  • {{event.<input name>}} — every submitted value by input name.
  • Current record — the record created by the form's Create record action.
  • Available data in every step: Current record / {{record.field_key}} (the record that triggered the run), Event / {{event.name}} (inputs passed to the run; {{event.before.field_key}} holds the previous values after an update), Action results / {{results.key}} (values saved by earlier steps) and Current user / {{user.email}} (whoever caused the run; for test runs, you).

Example

Route a contact request

Example
Trigger: A form is submitted · Form: Contact form (Home)
Step 1  Branch
  Case “Sales”:   {{event.topic}} is “quote”  → Send email to sales@…
  Case “Support”: {{event.topic}} is “repair” → Send email to support@…
  Otherwise → Notification “New contact request from {{event.email}}”

Errors

  • If the Create record action fails (validation, permissions), the record is not created and the workflow does not start.

Limitations

  • Only Create record actions on the form's On submit event start it (not Update record, not the Form's automatic save). The trigger panel therefore shows the “not fired automatically” warning — use Test run with an Input JSON to try it.

Advanced

  • Trigger: { type: "form_submitted", componentId?, entityId? }. Fired in executeServerAction after a create_record action runs for event onSubmit; input = the form values, record = the created record.

Related

Was this helpful?