How to Build Multi-Form Workflows!

Nadia A. By Nadia A. | November 6, 2015
Quick Tip

Our new Workflow Automation feature makes it easy to build powerful, flexible workflows on a single form.

Cognito Forms offers a lot of advanced features - but did you know that you can combine some of those features to build a multi-form workflow? Essentially, a user can fill out a form and submit it, then follow a link from their confirmation email leading to another form that they can complete. This method works especially well for request forms; in this example, we’ll illustrate how a user can send an email request for a letter of reference to two individuals, and then take those individuals straight from their email inbox to a letter of reference form with their contact information already filled in.

Step 1: Create your request form

First, we’re going to create a letter of reference request form that collects some basic contact information from the user, as well as their two references:

A letter of reference request form with Name, Email, and Phone Number fields.

Make sure to set fields to required as needed.

Step 2: Create your response form

Next, we’ll create a second form for responses, so people can fill out their reference letters:

A letter of reference response form, with Name, Email, and Phone fields.

Above the reference section, you can include a content field with some brief instructions, and insert the name of the person requesting the reference:

A content field with a Name field inserted along with the test.

Step 3: Insert prefilled calculation fields

A calculation field that collects prefilled form data.

In this workflow, we want the people receiving the reference letters to already have their contact information (and that of the person requesting the letter) filled in when they click the response link in their email request. Before we can insert this prefilled form link into our references’ emails, we need to add two calculation fields to our request form (one for each reference) that will help specify the data we want to prefill.

For our example, we’ll label these calculation fields “Reference 1 Prefill” and “Reference 2 Prefill.” Also, don’t forget to set the “Show This Field” option as “Never” so your users won’t see them.

In the calculation section, we need to include all the the fields that will be prefilled when someone goes to complete a reference request. First, we’ll include the section name (‘On Behalf Of’), followed by the full name, email, and phone number of the person requesting the letter:

="{OnBehalfOf: { Name: { First: '" + YourName.First + "', Last: '" + YourName.Last+ "' }, Email: '" + YourEmail + "', Phone: '" + YourPhoneNumber + "' }

Then, we’ll include the full name, email, and phone number of the person receiving the request, making the final calculation look something like this:

="{OnBehalfOf: { Name: { First: '" + YourName.First + "', Last: '" + YourName.Last+ "' }, Email: '" + YourEmail + "', Phone: '" + YourPhoneNumber + "' }, Name: { First: '" + Reference1.Name.First + "', Last: '" + Reference1.Name.Last + "' }, Email: '" + Reference1.Email + "', Phone: '" + Reference1.Phone+ "' }"

Use this same calculation in your second calculation field, while replacing “Reference1” with “Reference2” wherever necessary. With these calculations in place, you’ll be able to pull data through a link in the confirmation message.

Check out our help guide to learn more about prefilling forms.

Step 4: Set up your email confirmations

Now, we need to set up three confirmation messages - one for the user, and one for each of the two references:

Multiple email confirmations that are customized for different users.

To start, select the Confirmation Emails option from your form’s Submission Settings. The email for the user will be pretty simple; just include the From address, the To address, a subject, and a message (where you can insert a field containing their name).

A confirmation email that includes entry details and other customizable options.

Next, we can set up the confirmation emails for our references. These emails need a couple more details than the one we just made; to make them clear and direct, insert the reference’s name into the subject line as well as the message. Plus, make sure to include the user’s name in the message, so the person receiving the request knows who it’s coming from. Lastly, set the “Send when Submitted” option to ensure that this email is only send when the correct reference (either Reference 1 or Reference 2) is filled out:

A confirmation email with inserted form fields and a custom message.

Lastly, you’ll notice that there’s a link in the confirmation message titled “Submit Your Reference.” When the person who receives this request clicks this link, it’ll take them to our response form, with their details (Name, Email, Phone Number) already filled in for them. We’ve already added our calculation fields, Reference 1 Prefill and Reference 2 Prefill, and now we just need to insert the actual link, which will look like this:

https://www.cognitoforms.com/cognitosupport/letterofreferenceresponse?entry=[Reference1Prefill]

This URL is simply a public link to your response form, with a prefilled field token inserted at the end.

A prefilled form link that will transfer information from one form to another.

Also, don’t forget to replace “Reference1Prefill” with “Reference2Prefill” when you insert the link into the second reference’s confirmation email. This will ensure that the correct information is prefilled for each person.

Step 5: Test out your forms!

Finally, when the user submits their letter of reference request:

Letter of reference request form.

They’ll receive a confirmation email letting them know that their request has been received:

Email confirming that the letter of reference request was received.

Meanwhile, the two individuals will receive an email explaining who the request is from and a link to a response form:

Email with request to submit a reference letter.

And when they click “Submit Your Reference”, they’ll be taken to a form prefilled with their information and ready to go:

Letter of reference request form with information prefilled.

You can, of course, build off this example and add as many references as you would like.

If you have any questions about building a multiform workflow, or about Cognito Forms in general, don’t hesitate to contact us!


Nadia A.

Nadia A.

Nadia, the Technical Writer for Cognito Forms, develops documentation, support content, and how-to videos. No matter your experience – with her help, you'll be able to take full advantage of the product. In her spare time, Nadia enjoys listening to French house, drinking coffee, and talking about herself in third person.