Skip to main content
If you have not created a form before, start with Create a form.
form.yaml
version: 1
title: "Example form"
description: "A simple form that sends completed submissions by email."

sections:
  - id: section_1
    title: "Section 1"
    fields:
      - id: question_1
        type: short_text
        label: "Question 1"
        validators:
          - required

      - id: question_2
        type: email
        label: "Question 2"
        validators:
          - required

    next: done

connections:
  - type: email
    to: "ops@example.com"
    # Subject and body can use submission data.
    subject: "New submission from {{data.question_1}}"
    body: "Reply to {{data.question_2}}."
    include_responses: true
Email connections run when the submission is completed.