Skip to main content

Configure page URL targeting rules for workflows

Learn how to target specific pages or subdomains with workflow URL trigger rules.

Beth-Ann Sher avatar
Written by Beth-Ann Sher
Updated over 3 weeks ago

You can configure workflows in Intercom to trigger based on specific page URLs, allowing targeted automation on chosen pages or domains. URL targeting rules are essential for precision—especially when workflows depend on a visitor’s current or previous page, or when you want to limit triggers to specific subdomains.


Understanding URL targeting in workflows

URL targeting rules determine when a workflow runs based on a visitor’s location on your website. They help ensure that automations activate only where intended, preventing overlap between multiple workflows.

Types of URL conditions

Intercom supports three main URL conditions:

  • Exact match:
    The workflow triggers only when the URL matches exactly, including query parameters.

    • Example: https://example.com/page triggers only for that exact URL.

    • Tip: Use this for precise targeting when no URL variations are expected. If minor variations exist, switch to URL contains for flexibility.

  • URL contains:
    The workflow triggers when the specified string appears anywhere in the URL (domain, path, or parameters).

    • Example: A rule with URL contains /pricing matches https://example.com/pricing?plan=basic.

    • Important: Use with care—broad matches can trigger multiple workflows unintentionally. Add unique identifiers (e.g., /pricing-us/) or use URL starts with for clearer targeting.

  • URL starts with:
    The workflow triggers for any page where the URL begins with the defined prefix.

    • Example: URL starts with https://business.example.com matches all subpages under that subdomain.

    • Pro tip: This is the most reliable option for subdomains or sections with multiple child pages.


How to configure URL targeting rules

Follow these steps to create precise and effective URL targeting conditions:

  1. Define your goal:
    Identify the workflow’s purpose and which pages it should include or exclude.

    • Example: To trigger on https://domain.com/crm/ only, add a rule that excludes similar paths (e.g., /app/).

  2. Set conditions in the workflow:

    • Open your workflow and click Edit.

    • In the Audience rules, add your target URL condition (starts with, contains, or exact match).

    • Choose the condition type that best fits your targeting needs.

  3. Activate and test:

    • Publish your workflow.

    • Visit the targeted pages to confirm the trigger works correctly.

Important: Ensure the Intercom Messenger is installed and domain settings include all relevant URLs.


Troubleshooting workflow page URL triggers

If your workflow doesn’t trigger or fires unexpectedly for page URLs, check the following:

  • Workflow doesn’t trigger on matching URLs:

    • Confirm the Messenger is installed on the page.

    • Verify that URL conditions exactly match the target page format.

  • Workflow triggers incorrectly:

    • Check if broad rules like URL contains are causing overlap between workflows.

    • Switch to URL starts with for more specific targeting.

  • Survey or event-based workflows fail to appear:

    • Ensure Current Page URL conditions match the redirect destination.

    • Avoid combining Last Page and Current Page targeting within the same rule.


Best practices for URL targeting

  • Keep it simple: Use only the necessary conditions for each workflow to prevent conflicts.

  • Avoid conflicting “AND” rules: Users can’t meet conditions for two different pages simultaneously.

  • Target subdomains precisely: Use URL starts with and include the full path for each subdomain.

  • Review regularly: Update URL conditions when site structures or page URLs change.


💡Tip

Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts


Did this answer your question?