> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runalloy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automated Lead Routing

> Alloy simplifies the process of setting up lead routing from any third-party system directly into your app.

You can do so in three steps:

<Steps>
  <Step title="Select the 3rd party app">
    * Select and connect the third-party system (e.g., Salesforce, HubSpot) where your leads are managed by using Alloy’s pre-built connectors.
  </Step>

  <Step title="Configure the data flow">
    * Define the trigger event for the workflow, such as a new lead creation or lead status change in the third-party system.

    <Frame>
      ![](https://alloy-assets.s3.amazonaws.com/alloy-docs/embedded/use-cases/sales-crm/automated-lead/1.png)
    </Frame>
  </Step>

  <Step title="Set up lead routing rules">
    * Specify the conditions for routing leads, such as lead source, geographic location, industry, or lead score.
    * Define the rules for assigning leads to the appropriate team members or departments within your app based on the specified conditions.

    <Frame>
      ![](https://alloy-assets.s3.amazonaws.com/alloy-docs/embedded/use-cases/sales-crm/automated-lead/2.png)
    </Frame>
  </Step>
</Steps>
