The Form-Builder API

Custom Email

We typically send you an email on every submission, which includes all submitted questions and answers.

It's possible to customize the body of this email if necessary. Simply create a hidden question with the name FORMULATE_EMAIL_BODY, with the answer set to the body of the email you'd like to have sent out.

Markdown in the answer is supported and will be converted to HTML.

Here's a quick example:

await form.short("What's your name?");
let email = await form.short("What's your email address?", {email: true});
await form.hidden('FORMULATE_EMAIL_BODY', `**New signup**: ${email}`);

Here's an email you would've received without FORMULATE_EMAIL_BODY:

And here's the email you'd receive with the FORMULATE_EMAIL_BODY from the example above: