How to Connect Microsoft Forms to HubSpot CRM (With Auto-Duplicate Prevention)


When new leads and client intakes come through online forms, manually copying that data into HubSpot is more than just a massive bottleneck—it is a recipe for human error, delayed response times, and an absolute duplicate data nightmare.

What if your sales team trusted that their CRM was instantly updated with perfectly mapped, duplicate-free data the exact second a prospective client hits "Submit"?

In this tutorial, we’ll build an intelligent, automated pipeline between Microsoft Forms and HubSpot CRM using Microsoft Power Automate. But we’re not just blindly pushing data—this workflow has error-handling brains built in to identify duplicate Contacts and Companies, bypass conflicts, and automatically generate HubSpot Deals based on conditional logic.

The Big Picture: Workflow Architecture Here is a blueprint of the pipeline we will build today:

Trigger: Microsoft Forms submission is received.

Variable Initialization: Prepares identifiers to track Contact and Company data.

Conflict Resolution: Searches for existing HubSpot records before making new ones.

Conditional Mapping: Evaluate submission details to trigger a new Deal with accurate parent associations.

Step 1: Real-Time Trigger & Variable Initialization First, we need to create the entry point for the automation.

Add the trigger: When a new response is submitted (Microsoft Forms) and select your intake form.

Follow up immediately with Get response details to grab the actual data from that submission.

Add a series of Initialize Variable actions. We need these to act as placeholder "buckets" to store crucial IDs further down:

Company ID (String)

Contact ID (String)

Company Branches (Object)

Contact Branches (Object)

Step 2: Intelligent Duplicate Check & Contact Creation Instead of creating a brand-new contact on every submission (which ruins your HubSpot data integrity), we will try to create the contact, and if a duplicate conflict occurs, we'll find the old contact instead.

Add the HubSpot action to Create a Contact and map it using the email and name from Microsoft Forms.

Select the ... (three dots) on the next block, and configure your flow with parallel error-handling logic (or Try/Catch behavior).

If the creation succeeds, continue to Set Contact ID.

If a conflict occurs (Duplicate found), the flow branches to Conflict Contact ("True" branch):

Search for the contact by email.

Pull the existing Contact ID and save it to your tracking variable.

Step 3: Resolving Company Duplicates Just like with Contacts, we must protect our Company records.

Add the HubSpot action to Create a Company using the company name field from the form.

Below that, handle the Conflict Company evaluation.

If the record already exists, bypass creation, fetch the existing Company ID, and assign it to our variable. If it’s new, capture the newly created ID.

Step 4: Conditional HubSpot Deal Generation With exactly one unique Contact ID and Company ID guaranteed, the workflow can confidently generate a sales Deal.

Add a Condition card. For example, evaluate: Is the service address different from the billing address?

Under the True branch: Create a Deal mapped for a "Different Address" scenario.

Under the False branch: Create a Deal mapped for a "Same Address" scenario.

Link the Entities: Ensure you pass the Contact ID and Company ID you retrieved/saved in Steps 2 & 3 into HubSpot’s association fields!

Lastly, close out your branch with a Terminate (Succeeded) action to gracefully resolve the run.

Want to automate your business? Book a Free Strategy Call