# Workflow based on form entry (country)

**URL:** <https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276>\
**Category:** Lists, Lead Scoring & Workflows\
**Tags:** workflows\
**Created:** [January 19, 2023, 11:21am UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276 "2023-01-19T11:21:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jkvet](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@Jkvet](https://community.hubspot.com/u/Jkvet)\
**Post date:** [January 19, 2023, 11:21am UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/1 "2023-01-19T11:21:59Z")

</div>

Can we use if/then branches based on the submitted form entry? I would like to create tasks for different salespeople based on the country/region.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [January 19, 2023, 11:50am UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/2 "2023-01-19T11:50:13Z")

</div>

Hi @Jkvet,

Yes, this is possible. First, you would enroll contacts based on their form submission:

 ![karstenkoehler_2-1674129080606.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/9/9d85b191cc963e3d5cdac2bcecc58ee22fb35bbb.png)

You can then choose between setting up the branches yourself or having HubSpot automatically create a branch for each value option. (With a _Value equals branch_, HubSpot creates a branch for each value in a multiple checkboxes or dropdown property.)

 ![karstenkoehler_0-1674128950478.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/5/6591ca94a683514a04742d76d890c172212864d3.png)

In each branch you can then use the workflow action Create task:

 ![karstenkoehler_1-1674128977177.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/a/7afcea21aecb0b52f536a6c648ea9e5a8a868460.png)

Let me know if you have any follow-up questions!

---

<div class="post-metadata">

**Author:** ![Jkvet](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@Jkvet](https://community.hubspot.com/u/Jkvet)\
**Post date:** [January 19, 2023, 11:52am UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/3 "2023-01-19T11:52:13Z")

</div>

Hi, Karsten!

I set it up yesterday.. but didn’t seem to work during the test.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [January 19, 2023, 11:55am UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/4 "2023-01-19T11:55:09Z")

</div>

Hi @Jkvet,

How exactly did you set it up? Can you share a screenshot? How did you test it?

If nothing happens when you submit the form, have you maybe forgotten to enable re-enrollment?

 ![karstenkoehler_0-1674129305492.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/8cc6e4de2b761933c9a6565658d817f4292f83cf.png)

(By default, contacts enroll only once into a workflow.)

Best regards

---

<div class="post-metadata">

**Author:** ![Jkvet](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@Jkvet](https://community.hubspot.com/u/Jkvet)\
**Post date:** [January 19, 2023, 12:04pm UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/5 "2023-01-19T12:04:00Z")

</div>

Hi Karsten,

The initial idea is to email the correct salesperson responsible for the country/region. I have tested by filling out the form with different entries, but sales people didn’t receive any emails..

 ![Workflow.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/b/2b940bcbc2fd7e4ecc6c328842fcd7a795fedaed.jpeg)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [January 19, 2023, 12:29pm UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/6 "2023-01-19T12:29:26Z")

</div>

Hi @Jkvet,

Have you checked the re-enrollment settings, as explained in my previous answer?

If those settings are already enabled: Can you click _Details_ in the top left corner and then check the _Enrollment_ tab? Do your test submissions show up there?

Best regards

---

<div class="post-metadata">

**Author:** ![Jkvet](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@Jkvet](https://community.hubspot.com/u/Jkvet)\
**Post date:** [January 19, 2023, 1:53pm UTC](https://community.hubspot.com/t/workflow-based-on-form-entry-country/73276/7 "2023-01-19T13:53:27Z")

</div>

Thank you, Karsten! It works now 🙂 It was the re-enrollment settings that were missing.
