⌘I

Send a confirmation email

Updated May 20, 2024 ·
goldplatinumpluginsformspree-cliautoresponse
Also available in:

Adding the autoresponse action in the formspree.json file has the same effect as adding the Autoresponse plugin in the Formspree dashboard.

Make sure you have a field titled email so Formspree knows what email to send the autoresponse to. Formspree will return an error if you don’t provide an email in one of these fields.

Formspree.json configuration

KeyTypeDescription
type  StringMust be autoresponse
fromName StringAutoresponse email from name
subject StringAutoresponse email subject
message StringAutoresponse email message sent to visitors
template StringThe name of the template to use. The template should already exist on the project.

Example

{
  "forms": {
    "support": {
      "name": "Request Form",
      "actions": [
        {
          "type": "autoresponse",
          "fromName": "Support Team",
          "subject": "Request received",
          "message": "We received your call! We'll get in touch soon."
        }
      ]
    }
  }
}

Validation rules

The create support ticket action adds the following validation rules implicitly:

FieldValidation Rule
emailType is email
emailRequired

Still have questions? or .