Signup

Use the Logic Map to capture leads in Typeform

As a busy marketing pro, time is your most valuable resource. You don’t want to waste a second of your day—and you don’t think your clients and prospects should have to, either!

In this article, we’ll walk through creating a lead-generation form using Typeform’s intuitive form builder and interactive Logic branching. You’ll be able to collect all the information you need from new contacts, and thanks to Logic, your respondents will only see the questions that are relevant to them. It all comes together in a matter of minutes!

Oh, and great news: a Free Typeform account is all you need to create and publish this form. Let’s jump in!

1. From your Workspace, click the Create a new form button to open a new form:

Screenshot 2024-04-04 at 13.40.17.png

2. You can choose to import your questions or create a form with AI. We’ll click Start from scratch for now. You can add custom design elements later on!

Screenshot 2024-04-04 at 13.43.26.png

3. Now, you’ll see the Create panel. This is where you can add and design questions for your form—there’s even a preloaded question to help get you started:

Screenshot 2024-04-04 at 13.45.21.png

You can also set up Logic from the Create panel. Logic is Typeform’s handy tool for guiding respondents through a form, using their previous answers to make sure they only see the questions that are most relevant to them.

We’ll get to Logic in just a bit. For now, click + Add content to see the full menu of question types.

Screenshot 2024-04-04 at 13.46.33.png

Search for or select a question type to add it to your form:

Screenshot 2024-04-04 at 13.47.54.png

You can add as many questions as you need! Check out the full list of question types to learn about your options. Here’s what we’ll use in this form:

- A Multiple Choice question asking which services interest the respondent

- A Short Text question to collect the respondent’s name

- An Email question asking for their email

- A Yes/No question asking if the respondent would like a quote on a current project

- Several follow-up questions for respondents working on a current project, like a Date question asking for their project due date, a Number question asking for their budget, and a Calendly question so that they can schedule a call. Later, we’ll set up Logic so that people without a current project won’t see these questions!

- A Yes/No question asking if the respondent wants to know anything else about your company

- A Long Text question so respondents who answer Yes can leave any questions or comments

We’ll also add an End Screen thanking respondents for filling out the form:

Screenshot 2024-04-05 at 12.40.16.png

(Want hints on how to create better questions in a lead-generation form? Here’s a list of data-based tips!)

4. Once you’ve set up all of your questions, use the Design tab to add custom visual elements, like a background image, color palette, and favorite font, to your form:

Design_selection.png

If you’re on a Typeform Plus plan or above, you can even add your brand logo to the form.

5. Now, click Logic on the right-hand side of the Create panel to set up the rules that will decide which questions your respondents see, based on their answers:

Screenshot 2024-04-04 at 16.45.22.png

In the center of the panel, you’ll see your Logic Map:

Screenshot 2024-04-05 at 11.38.05.png

The Logic Map is a visual summary of the different question paths, or flows, that your respondents can follow when answering the form. Before you set up any Logic rules, your questions will appear in a straight line from left to right, according to the order they appear in your form. You can scroll or zoom out to see all of your questions:

Screenshot 2024-04-05 at 11.39.07.png

6. Add your first rule. This rule will make sure that only respondents who are currently working on a project will see questions about project details. To create this rule, hover over the + icon on the right edge of the first Yes/No question (#4), asking whether respondents are working on a project:

Screenshot 2024-04-05 at 12.22.07.png

Click the icon. Drag and drop it onto the second Yes/No question (#8), asking whether respondents have additional questions. This is the question that you want respondents who are not currently working on a project to see:

Screenshot 2024-04-05 at 12.24.49.png

7. Connecting these two questions creates a branch after question #4. Respondents will travel down one side of the branch, to question #5, or the other, to question #8, depending on their answer to question #4.

Creating this connection will also open a sidebar to the left of the Logic Map. Here’s where you’ll set up the rules that send respondents to question #5 or question #8:

Screenshot 2024-04-05 at 12.26.39.png

Here, use the dropdown menu under Or create a new rule to specify that respondents should go to question #8 only if they answer No to question #4:

Screenshot 2024-04-05 at 12.27.55.png

If the respondents answer yes, they’ll see question #5 instead.

Now, just click Save. Your rule is all set up!

Screenshot 2024-04-05 at 12.28.54.png

Read more about setting up Logic to hide following questions here.

Any time you create a branching rule in Logic, branching icon(s) will appear on the paths you created. Click the icon to view the logical conditions you set up for branching:

leadmap24.png

You can then click Edit to edit the condition, or the trashcan icon to delete it

8. Set up a second branching rule after question #8, which asks respondents if they have any additional comments. Respondents who say Yes should go to a Long Text question, and respondents who say No should go to the form Ending.

Click the + icon on the right edge of question #8, and drag and drop it onto the Ending:

Screenshot 2024-04-05 at 12.30.50.png

Create a condition to specify that respondents will go to the Ending only if they answer No to the Yes/No question:

Screenshot 2024-04-05 at 12.31.33.png

Click Save again to save your second rule.

9. Looking good! Did you know that you can add rules to your Logic map without dragging and dropping links between questions? To edit a question’s Logic, just click on the step for that question from the Logic Map.

You can then edit the question’s Logic from the left-hand side of the panel. Just click + Add rule to start creating a new rule:

Add_rule.png

For example, here we’ll add a rule to the Number question, which asks about project budget. Since you have a tight schedule and can’t take on every project, you might only want to offer a Calendly appointment to leads with a certain budget, while accepting other projects as you’re able.

This rule will only show the Calendly question to respondents with a project budget of over 5000:

Screenshot 2024-04-05 at 12.35.54.png

Everyone else will jump to the Yes/No question that asks if they have any additional comments. Since you added an Email question, you’ll still have their contact information, just in case!

Here’s what your Logic Map looks like after setting up the three rules shown here:

Screenshot 2024-04-05 at 12.43.40.png

10. Remember that you can also use Logic to change the value of form scores, Hidden Fields, and variables based on question answers. Click on each feature name to learn more about how it works.

11. If you’ve created more than one rule for a question, each rule will appear as a gray bar under the Existing Logic header. For example, this question, from another form, has four rules:

leadmap19.png

Click on a bar to expand the rule. You can edit the rule, or click Delete this rule to remove it from your form:

leadmap20.png

You can also click Remove all at the bottom of the panel to remove all Logic for that step.

leadmap21.png

Once you’ve finished, click Save at the bottom of the panel.

HC_Note_new.png
Note: To see a full summary of the Logic rules in your form, close the left-hand panel, and click Branching and calculations, under Simple Logic, on the right side of the screen.

Logic_set.png

12. Awesome! You’ve become a pro at using the Logic Map. All that’s left is to hit Publish.

2024-05-14_16-43-22.png

Your form is live, and your lead-gen powers are off the charts. Go ahead, celebrate! If you have any questions later on about Logic in Typeform, these guides will be right there to lend a hand.

Tap into our community knowledge