Skip to main content

Best Practices: Getting the Most from RB2B + n8n

Updated in the last hour

Overview

Once your RB2B → n8n integration is connected, n8n becomes a powerful automation hub for scoring, routing, alerting, and intent detection.


Even without a dedicated repeat-visit field, n8n can derive return visits and account-level activity using only the data RB2B provides.

This guide shows how to build high-value automations using the exact fields included in the RB2B payload.

Identify a Visitor (Person-Level Identity Keys)

To track an individual across multiple visits, choose a stable “identity key.”

Best identity keys from RB2B:

  1. LinkedIn URLgold standard, unique per person

  2. Business Email ← also strong

  3. (Company Name + First Name + Last Name) ← fallback if needed

Example n8n function: extract identity key

return {   identity_key: $json["LinkedIn URL"] || $json["Business Email"] };

This is the foundation for return visitor tracking.

Detect Returning Visitors (Person-Level)

Since RB2B sends every visit, you can detect repeats by logging timestamps in n8n.

Workflow: Repeat Visitor Detection

  1. RB2B Webhook Trigger

  2. Lookup (Data Store / Airtable / Google Sheets) using identity_key

  3. If record exists → return visitor

  4. Append new timestamp

  5. Update “visit_count_person”

  6. Trigger alerts/scores based on the new count

Why this matters

  • 2+ visits within 7 days = strong buying intent

  • Visitors re-checking pricing = even stronger

  • Repeated visits from a C-suite title = AE-worthy alert

Detect Active Accounts (Company-Level)

RB2B provides Company Name and Website domain. You can use either to group multiple visitors from the same company.

Account key options:

  • Websitehttps://retention.com → extract retention.com

  • Company Name → “Retention.com”

Workflow: Active Account Tracker

  1. Extract domain from Website

    const url = new URL($json["Website"]); return { domain: url.hostname };
  2. Lookup in Data Store by domain

  3. Append visit: person_key + timestamp + captured URL

  4. Derive:

    • visit_count_account

    • unique_visitors_account (unique LinkedIn URLs)

    • last_seen_account

  5. Alert or route based on thresholds

Buying committee signals

  • 2+ visitors from the same domain → multi-stakeholder interest

  • 4+ total visits → account is “heating up”

  • Multiple unique LinkedIn URLs → high-value flag

  • Repeat visits to pricing or integration pages → active evaluation

Use High-Intent Page Detection

RB2B sends Captured URL, which is a powerful behavioral signal.

Examples:

  • …/pricing → bottom-of-funnel

  • …/integrations → technical evaluation

  • …/demo → pre-conversion interest

  • …/features → early research

Workflow: Page-Based Routing

In n8n:

const url = $json["Captured URL"]; return { is_pricing: url.includes("/pricing") };

Then create branches:

  • If pricing page & repeat visitor → send to AE Slack

  • If integration page → assign to technical rep or create CRM task

  • If Hot Page tag exists → route to outbound automation

Build a Lead Score Using Available Fields

You can create a lead score that blends:

  • ICP fit (Hot Lead tag)

  • Frequency (returning visits)

  • Page intent (pricing / integrations)

  • Firmographics (industry, employee count, revenue)

Sample scoring logic

Signal

Source

Points

Hot Lead

Tags

+40

Pricing page

Captured URL

+30

Repeat person

via identity log

+20

Active account

via domain log

+20

Exec title (“CEO”, “VP”, “Head”)

Title

+10

Relevant industry

Industry

+10

Total Score determines routing

  • ≥80 → AE immediate alert

  • 60–79 → automated outreach

  • 40–59 → marketing nurture

  • <40 → low priority

Real-Time Slack Alerts

Send useful alerts to your team without overwhelming them.

Suggested Slack payload

  • Name: Adam Robinson

  • Title: CEO

  • Company: Retention.com

  • Visit Type: Returning or first-time

  • Page Viewed: Pricing

  • Visit Count (person/account)

  • Domain: retention.com

  • Tags: Hot Page, Hot Lead

  • Time: Seen At

  • Link: LinkedIn URL

Example: Slack Alert Message

High-Intent Visitor  Company: Retention.com   Contact: Adam Robinson (CEO)   Viewed: /pricing   Activity: 2nd visit this week   Tags: Hot Lead, Hot Page   LinkedIn: https://www.linkedin.com/in/retentionadam/

Route Leads to Your CRM or Sequencer

Based on score and behavior, send visitors to:

  • HubSpot

  • Salesforce

  • Apollo

  • Reply.io

  • Growth-X

  • Clay

  • Email marketing

  • Custom APIs

Routing Examples

  • Hot Lead + Pricing page → Create CRM task for AE

  • Repeat visitor + relevant title → Add to Apollo sequence

  • Multi-visitor account → Notify account owner in Slack

  • Early interest → Add to marketing nurture

Run Weekly Reporting Using Sheets or DB

Use n8n → Google Sheets/Airtable to build:

  • Top returning individuals

  • Top active accounts

  • Most viewed URLs

  • Repeat-visit leaderboard

  • Repeat-visit → meeting booked correlation

This takes the RB2B data from “real-time” → “intelligence.”

Common Pitfalls to Avoid

  • Don’t rely solely on “first visit”—repeat visits are where the gold is

  • Don’t fire every event into your CRM; n8n should filter

  • Don’t treat every page equally—pricing/integrations matter more

  • Don’t forget to dedupe records using LinkedIn URL or email

  • Don’t ignore Captured URL—it’s your behavioral insight

Final Thoughts

With just the fields RB2B provides, n8n can:

  • Track repeat visitors

  • Track multi-visitor accounts

  • Score and route leads

  • Trigger Slack and CRM updates

  • Reveal real buying intent

This turns your RB2B integration into a complete intent engine that reacts instantly when the right prospect is on your site—or back on your site again.

Did this answer your question?