Sync and score PLG leads between Segment, Attio, Intercom, Lemlist and ActiveCampaign with Claude and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 42 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Anthropic and OpenAI. It also calls api.attio.com, api.segment.io and api.activecampaign.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Parse Segment Event (Code): runs custom JavaScript code
- Segment Webhook ACK (Respond to Webhook): sends the response back to the webhook caller
- Parse Attio Deal Event (Code): runs custom JavaScript code
- Deal Webhook ACK (Respond to Webhook): sends the response back to the webhook caller
- Parse Intercom Conversation (Code): runs custom JavaScript code
- Intercom Webhook ACK (Respond to Webhook): sends the response back to the webhook caller
- Get All Trial + Free Users from Attio (HTTP Request): calls api.attio.com
- Get Contact from Attio (HTTP Request): calls an HTTP API
- Get Full Contact from Attio (HTTP Request): calls an HTTP API
- Get a conversation (OpenAI): get (conversation)
…plus 28 more steps. See the full node list below.
Services it uses
HTTP calls to: api.attio.com, api.segment.io, api.activecampaign.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Split Out
n8n-nodes-base.splitOut - Anthropic
@n8n/n8n-nodes-langchain.anthropic - OpenAI
@n8n/n8n-nodes-langchain.openAi
From the author
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…