Sales automation / Proof of work

Prioritise leads for sales follow-up.

Live workflow

Lead Prioritisation & Sales Routing

Turn customer conversations into prioritised leads with clear reasons and assigned sales owners.

One workflow for scoring, review queues, duplicate checks, and follow-up handoff.

n8n Facebook Google Sheets WhatsApp

Lead PrioritisationIllustrative preview
Customer conversation“How much is it? Do you deliver to my area?”
84Lead score
Buying signalsPrice + delivery enquiry
Scoring basisConfigurable rules
Sales ownerAssigned representative
Next stepReview and follow up
Sheet updatedPriority queue
WhatsApp handoffSales notification
01

The problem

Manual review and lead distribution slow down follow-up.

02

The approach

Extract, prioritise, store, and assign each lead with reasons.

03

The evidence

Workflow exports support the implementation description. The views below are illustrative demonstrations, not production records.

01 / The problem

Sales teams need a clearer queue than an inbox full of conversations.

01Customer enquiries arrive as conversation threads that take time to inspect.

02Buying signals, contact details, objections, and stale leads can be missed.

03Lead allocation needs to avoid duplicates while still giving sales a useful next step.

02 / The approach

Show the reasons behind each lead score.

The workflow keeps each decision traceable: what was detected, how the score changed, where the lead was stored, and who received it.

01

Conversation intake

The workflow starts from Facebook conversations rather than asking sales to inspect every thread manually.

02

Explainable scoring

Rules add or subtract points for buying signals, objections, contact details, and repeated engagement.

03

Duplicate-aware allocation

A sent-lead log helps avoid assigning the same conversation repeatedly across sales owners.

04

Sales handoff

Sales receives a concise lead summary with score, contact data where available, and a direct conversation link.

03 / How it works

From customer message to sales follow-up.

The production path is simplified here to show how each conversation becomes a reviewed, assigned sales opportunity.

  1. 01

    Trigger

    Run manually or on a scheduled cadence to collect recently updated conversations.

  2. 02

    Collect

    Fetch Facebook conversation and message data, then split conversations into processable records.

  3. 03

    Extract

    Detect phone numbers, addresses, quantity intent, recent activity, and purchase-state signals.

  4. 04

    Score

    Apply configurable positive and negative keyword rules, then keep active leads in priority range.

  5. 05

    Store

    Write lead records, scores, and reasons into Google Sheets for review and reuse.

  6. 06

    Route

    Allocate non-duplicate leads to sales owners and send follow-up details through WhatsApp.

04 / Evidence

What the input, build, and output look like.

This demo translates the n8n export into the three views a reviewer needs: what enters the workflow, how the lead logic is built, and what sales receives.

Evidence scope: The supplied n8n export documents workflow structure. Production deployment is reported by BytePilot; the export alone does not verify live execution. All example inputs, outputs, and logs below are fictional. No verified measured results are presented.

Lead Prioritisation demoInput > development > output

Illustrative demonstration

01 / InputsWhat enters the workflow
Incoming conversation“How much is it? I want to buy 2 units. Can you ship them to my area? My number is 202-555-0147.”

The workflow fetches the full message history, keeps recently updated conversations, and prepares each record for extraction.

TriggerSchedule every hour / manual execute
SourceFacebook conversations from configured pages
Incoming messageHow much is it? I want to buy 2 units. Can you ship them to my area? My number is 202-555-0147.
Freshness filterUpdated today / within activity window
Existing logLead_log checked before assignment
02 / Development viewHow the n8n workflow is built
Get conversationsFetches Facebook conversation and message history, then splits each conversation into records.
Extract signalsExtracts customer name, phone, quantity intent, profile link, page source, and message text.
Rule-based scoringAdds and subtracts score from configured buying signals and objections.
Filter qualified leadsKeeps qualified leads and removes anything already sent by phone or customer ID.
Allocate to salesAllocates non-duplicate leads across sales owners and prepares direct inbox links.
Extracted signals
Customer messageHow much is it? I want to buy 2 units. Can you ship them to my area? My number is 202-555-0147.
Phone202-555-0147 (fictional)
Quantity intent2 units
Activity windowUpdated today
Duplicate checkNot found in Lead_log
Rule-based score
100

Illustrative qualified lead: 35 + 20 + 25 + 15 + 15 = 110, capped at 100.

Base score35
+ Price enquiry+20
+ Buying intent+25
+ Ship+15
+ Phone+15
03 / OutputsWhat sales receives
Google Sheets row
NameCustomerFictional buyer
rule_score100
rule_reasons+20 price enquiry, +25 buying intent, +15 shipping, +15 phone; base 35; capped at 100
saleNameDemo sales owner
conversation_linkWeb Inbox direct link
WhatsApp sales messageNew qualified lead assigned

Score, contact details, reason summary, and direct conversation link are sent to the assigned owner.

05 / Technical details

Designed around n8n, sheets, and sales notifications.

The workflow separates intake, extraction, scoring, storage, and sales handoff so each stage can be reviewed and improved.

FunctionToolStatus
Orchestrationn8nProduction workflow
Conversation sourceFacebook Graph APIFetches conversations and message history
Signal extractionJavaScript code nodesPhone, address, quantity, activity window, and purchase indicators
ScoringConfigurable rule setKeyword-based positive and negative signals with score capping
StorageGoogle SheetsLead records, score reasons, allocation logs, and lost-reason summaries
Sales routingWhatsApp HTTP handoffSends allocated leads and direct conversation links to sales owners
Assistant branchGoogle GeminiClassifies WhatsApp sales requests and drafts responses from sheet context

Production controls

  • Credentialed Facebook, Google Sheets, and WhatsApp connections stay inside the production environment.
  • The rule-based score can be calibrated against sales outcomes as more qualified and lost leads are recorded.
  • Duplicate checks and sent-lead logs reduce repeat assignments while preserving review history.
  • Webhook and notification endpoints should remain monitored so failed handoffs are visible quickly.

Discuss your sales workflow

Build a queue your sales team can review.

Discuss your lead routing