How to Build a Lead Routing Workflow with Make
Build a Make scenario that receives leads by webhook, routes them with filters, updates your CRM, alerts the right Slack channel and handles errors.

Before you start
- A Make account
- A form or website that can send data to a webhook URL
- Access to your CRM (for example HubSpot, Pipedrive or Salesforce) and a Slack workspace
- Agreed routing rules, such as which region or company size goes to which team
In this guide you will build a Make scenario that receives new leads from a website form, sends each one down the right path based on rules you define, creates or updates the contact in your CRM, alerts the right team in Slack, and recovers gracefully when something fails. Along the way you will learn how Make's building blocks (modules, routers, filters and error handlers) fit together, and how to keep the scenario's operation usage under control.
Make concepts you will use
- Scenario: the automated workflow as a whole, built visually on a canvas.
- Module: a single step, such as receiving a webhook, searching a CRM or posting to Slack. Data moves between modules in units Make calls bundles.
- Router: a module that splits the flow into several routes, so different leads can follow different paths.
- Filter: a condition set on the link between two modules. Only bundles that match continue past it.
- Operation: one run of a module. Make measures usage against your plan in operations, so the design of a scenario affects its running cost.
The scenario in this guide has three routes: enterprise leads go to the enterprise sales team, smaller leads from EMEA go to the regional team, and everything else goes to a general queue.
Step 1: Create the webhook trigger
- Create a new scenario and add the Webhooks app's custom webhook module as the first module.
- Create a new webhook, give it a descriptive name such as "Website leads", and copy the URL Make generates.
- Paste the URL into your form tool's webhook or integration settings.
- While Make is waiting for data, submit a realistic test lead. Make uses this sample to determine the data structure, which makes the fields available to later modules.
A typical payload from a lead form looks like this:
{
"first_name": "Priya",
"last_name": "Shah",
"email": "priya.shah@example.com",
"company": "Northwind Logistics",
"company_size": 350,
"region": "EMEA",
"message": "Looking for a demo for our operations team."
}Step 2: Add a router and filters
- Add a router after the webhook module and create three routes.
- On the first route, add a filter labeled "Enterprise": company size greater than or equal to 200. Use a numeric operator, not a text one.
- On the second route, add a filter labeled "EMEA, under 200": region equal to EMEA and company size less than 200.
- Set the third route as the fallback route, so it receives any lead that matched no other filter.
- Give every route a clear label so the scenario is readable to whoever maintains it next.
Filters compare values exactly, so inconsistent input causes misses. If one form sends "emea" and another "EMEA", choose a case-insensitive operator or clean the value with Make's text functions, such as trim and lower, before comparing.
Step 3: Create or update the CRM record
On each route, add your CRM's module. Most popular CRMs have Make apps; if yours does not, Make's HTTP module can call its API directly.
- If your CRM's app offers a module that creates or updates a contact by email address, use it. It prevents duplicates in a single step.
- Otherwise, add a search module that looks up the contact by email, then update the match or create a new record.
- Map the webhook fields to CRM properties, and set the owner or pipeline for that route. This is where the routing decision becomes visible to your sales team.
- Run the module with test data and confirm the record in the CRM itself.
Step 4: Notify the right Slack channel
- After the CRM module on each route, add Slack's module for posting a message and connect your workspace.
- Choose the channel for that route, for example
#sales-enterprise,#sales-emeaand#sales-general. - Write a short message with the lead's name, company, size and a link to the CRM record, so the team can act without searching.
New enterprise lead: [first name] [last name], [company] ([company size] employees)
Message: [message]
CRM record: [record URL]The bracketed placeholders stand for fields you map from earlier modules in Make's mapping panel. Keep notifications short, with one lead per message and the most important detail first.
Step 5: Add error handling
External services fail occasionally: a CRM rate limit, an expired connection, a required field left blank. Without error handling, the run stops and the lead can fall out of the workflow. Make lets you attach an error handler route to any module.
- In the scenario settings, enable storing of incomplete executions.
- Add an error handler to the CRM module on each route.
- For temporary failures, use the Break directive. Make stores the failed run as an incomplete execution so it can be retried automatically or resolved manually.
- For problems a retry will not fix, add a Slack or email module on the error route that alerts an owner with the lead details and the error message, followed by the Ignore directive so the run finishes cleanly.
Step 6: Test and activate
- Run the scenario once manually and send test leads that cover each route: an enterprise lead, a smaller EMEA lead and one from another region.
- Inspect each module's output after the run to confirm which bundles passed each filter and what data they carried.
- Send one deliberately broken lead, for example without an email address, to confirm the error route works.
- Delete test records from the CRM, then activate the scenario. Webhook-triggered scenarios process data as soon as it arrives.
Troubleshooting
- The webhook receives nothing. Check the URL in your form settings, confirm the scenario is active, and look at the webhook's queue for data that arrived while it was off.
- A lead went down two routes. Your filters overlap. Make them mutually exclusive or rely on the fallback route.
- Fields are missing in later modules. The data structure was determined from an incomplete sample. Redetermine it with a complete test submission.
- Slack posting fails for a private channel. Make sure the connected Slack app or user has been added to that channel.
- Operations are higher than expected. Check for search modules returning several results, which makes every later module run once per result, and remove steps that do not need to run for every lead.
Still choosing a platform? Our Zapier vs Make vs n8n comparison explains how Make's model differs, and our guide to automating email follow-ups with Zapier pairs well with this routing logic. Our Make profile covers pricing structure and alternatives.
- #Make
- #Lead routing
- #CRM automation
- #Webhooks
- #Slack
WebAIAutomation Research Desk
Research & Analysis
The research desk tracks the AI and automation landscape, compares products side by side and explains the technology behind them.
More guides

How to Automate Email Follow-Ups with Zapier and AI
Build a Zapier workflow that sends a personalized follow-up email when a form is submitted or a row is added, with an optional AI step to draft the text.

How to Write Effective AI Prompts: A Practical Framework
Learn a repeatable prompt structure (role, context, task, format and constraints) plus a simple iteration loop for getting useful answers from AI tools.

How to Choose the Right AI Tool for Your Work
A practical framework for choosing an AI tool: define the job, check data sensitivity, integrations and pricing, then run a structured, side-by-side trial.
Newsletter
Stay ahead of AI and automation
A concise weekly brief with new tools worth trying, practical workflows and the technology shifts that matter.