Reply to LinkedIn messages with OpenAI GPT and escalate complex cases to Discord
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects Discord and OpenAI Chat Model.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).
- Filter: keeps only the items that match a condition
- Edit Fields (Edit Fields (Set)): sets or maps fields
- Fetch LinkedIn Public Identifier (HTTP Request): calls an HTTP API
- Create webhook Unipile (HTTP Request): calls an HTTP API
- Fetch LinkedIn Chat Messages (HTTP Request): calls an HTTP API
- LinkedIn Reply Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-5-mini Model; output parser: Parse Linkedin output
- If: checks a condition and branches into true / false
- Wait: pauses before continuing
- Send Escalation to Discord (Discord): uses Discord
- Post AI Reply to LinkedIn Chat (HTTP Request): calls an HTTP API
Services it uses
Other OpenAI + Discord templates (89)
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 (11)
- Webhook
n8n-nodes-base.webhook - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Discord
n8n-nodes-base.discord - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set
From the author
Who it's for This workflow is for sales teams, growth agencies, and solo operators running LinkedIn outreach campaigns who want to automate prospect reply handling without losing the human touch on complex cases. How it works 1. A webhook receives incoming…