Skip to content

Use form data and return a response

Submitted fields arrive in initial. A Return step can turn the workflow result into a message, structured details, a redirect, or a useful next action.

When a form is submitted, the field values are available in the workflow via {{ initial.* }}:

{{ initial.first_name }}
{{ initial.email }}
{{ initial.group }}

The form context object provides submission metadata:

{{ initial.form.formName }}
{{ initial.form.submittedAt }}
{{ initial.form.triggerId }}

For authenticated forms, the user’s identity is also available:

{{ initial.form.authenticatedUser.username }}
{{ initial.form.authenticatedUser.connectionName }}
{{ initial.form.authenticatedUser.metadata.department }}

For sectioned forms, the key of the section the user submitted from is exposed as:

{{ initial.form.section }} // e.g. "contact-info" or "billing"

By default, users see a generic success message after submitting. To customize the response, add a Return step to your workflow — the step editor shows a Form Response tab when the workflow has a form trigger.

Return step Form Response tab showing response type, message, description, redirect URL, response details, and action buttons
FieldDescriptionExample
Response TypeThe visual style of the response screenSuccess, Error, Warning, Info
MessageMain heading shown to the user — supports templatesThanks, {{ initial.name }}! Your submission was received.
DescriptionOptional subtitle below the headingWe'll review your submission and get back to you shortly.
Redirect URLIf set, redirects the user instead of showing a message — supports templateshttps://example.com/thank-you?ref={{ initial.email }}

All text fields support template expressions, so you can personalize the response with the submitted form data or values from earlier workflow steps.

The Response Type dropdown controls the icon and color theme of the response screen:

Response Type dropdown showing Success, Error, Warning, and Info options with colored icons
TypeIconUse Case
SuccessGreen checkmarkSubmission processed successfully
ErrorRed exclamationSubmission failed or was rejected
WarningYellow triangleSubmission accepted with caveats
InfoBlue infoInformational acknowledgment

Add key-value pairs that are displayed below the message as a structured data table. This is useful for showing the user results from the workflow — like a reference number, a summary of what was processed, or data fetched from an API.

LabelValue
leads{{ http-get-leads.body }}
Reference ID{{ $util.uuid }}

Click + Add Detail to add more rows. Objects and arrays are rendered as formatted tables automatically.

Add buttons to the response screen for follow-up actions. Each button has a label, URL, mode, and style.

Action Buttons configuration showing two buttons with label, URL, mode, and style fields
FieldDescription
LabelButton text — supports templates
URLThe target URL — supports templates (e.g., https://my-crm.com/orders/{{ http-create-order.body.orderId }})
ModeOpen Link opens the URL in a new tab. Send Request fires an HTTP request to the URL without navigating away — useful for triggering another webhook or workflow. In Send Request mode the button shows loading and success/error states based on the request outcome, so users get immediate feedback without leaving the response screen.
StylePrimary (filled), Secondary (neutral filled), or Outline (bordered)

Click + Add Action Button to add more. Buttons appear at the bottom of the response screen in the order you define them.

Successful submission — the response screen shows the message, response details as a formatted table, action buttons, and a “Make Another Submission” link:

Form success response showing a green checkmark, thank you message, Leads data table, and View Order Details and Submit Notification action buttons

Failed submission — if the workflow errors and “Expose detailed error messages” is enabled in form settings, the user sees the error message along with the execution ID for debugging:

Form error response showing a red icon, Submission Failed heading, error message, execution ID, and Try Again button