Skip to main content

Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI

Workflow preview

Workflow preview
100%
Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI preview
Open on n8n.io

1. Workflow Overview

AI Powered PLG Revenue Engine: Segment, Attio & Outreach Sync This workflow bridges the gap between raw product data and revenue sales tools. It automates the entire Product Qualified Lead (PQL) li...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.respondtowebhook, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.switch, n8n-nodes-base.if, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by n8n Lab.

Original n8n.io source

1.1 Workflow description

Title
Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI
Workflow name
Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI

AI-Powered PLG Revenue Engine: Segment, Attio & Outreach Sync

This workflow bridges the gap between raw product data and revenue sales tools. It automates the entire Product Qualified Lead (PQL) lifecycle—from real-time intent routing to churn prevention—reducing SalesOps overhead by 80%.

Who’s it for

  • B2B SaaS Teams looking to automate PQL outreach based on product usage.
  • Revenue Ops needing to sync Attio CRM, ActiveCampaign, and Lemlist.
  • Growth Teams requiring real-time AI classification of user intent.

How it works

  • Real-Time Intent Routing: Segment webhooks trigger Claude AI to classify PQLs. High-intent users are instantly moved to Lemlist for outreach.
  • Deal Progression Sync: Changes in Attio deal stages automatically update ActiveCampaign nurture lists and Segment profiles.
  • Intercom Revenue Signals: AI scans Intercom conversations for buying signals or churn risks, creating Attio deals or churn prevention tasks.
  • Daily PQL Scoring: Every morning at 7 AM, the workflow scores trial users across 5 dimensions, enrolling "Hot" leads into conversion sequences.

How to set up

  1. Node Configuration: Manually enter your specific Campaign IDs in the Lemlist nodes and List IDs in the ActiveCampaign nodes.
  2. Credentials: Set up official n8n credentials for Attio, Segment, Anthropic (Claude), Lemlist, Intercom, and ActiveCampaign.
  3. Webhook Mapping: Connect your Segment and Intercom webhook URLs to the respective Trigger nodes.
  4. Attio Schema: Ensure your Attio workspace includes custom attributes for pql_score, pql_tier, and churn_risk_score.

Requirements

  • n8n version: 1.0+
  • AI Credits: Anthropic (Claude) and OpenAI (for Intercom analysis).
  • Tech Stack: Segment, Attio CRM, ActiveCampaign, Lemlist, and Intercom.

Results

  • 65% Increase in trial-to-PQL conversion rates.
  • Outreach speed improved from 3 days to under 10 minutes.
  • 80% reduction in manual SalesOps and Revenue Ops overhead.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Flow 1 Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Flow 2 Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Flow 3 Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Flow 4 Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Segment Event Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 6 - Segment Webhook ACK

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 7 - Parse Segment Event

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Get Contact from Attio

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 9 - Pull Segment User Profile

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 10 - Merge PQL Context

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Parse Claude PQL Output

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - PQL Action Router

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 13 - Lemlist — Enroll in Sequence

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 14 - Attio — Create Sales Task

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 15 - ActiveCampaign — Add to Upgrade Nurture

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 16 - Attio — Update PQL Attributes

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 17 - Attio Deal Stage Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 18 - Deal Webhook ACK

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 19 - Parse Attio Deal Event

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Get Full Contact from Attio

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 21 - Get Segment Profile for Deal Contact

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 22 - Merge Deal Context

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 23 - ActiveCampaign — Upsert Contact

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 24 - Closed Won or Lost?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Showing the first 24 of 56 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI
Complexity advanced
Nodes 56
Categories Lead Generation, AI Summarization
Author n8n Lab
Published 26 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15297/15297.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI do?

AI Powered PLG Revenue Engine: Segment, Attio & Outreach Sync This workflow bridges the gap between raw product data and revenue sales tools. It automates the entire Product Qualified Lead (PQL) li...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.