Segment players and predict churn with GPT-4o and reward pricing simulations
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Embeddings OpenAI.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Player Segmentation Agent (AI Agent): runs an AI agent, with model: Segmentation Model; 7 tools (Metrics Calculator, A/B Testing Roadmap Agent, Statistical Analysis Tool, Behavioral Prediction Agent…); output parser: Segmentation Output Parser
- Prepare Analytics Results (Edit Fields (Set)): sets 4 fields: analysis_timestamp, segmentation_results, workflow_execution_id…
- Store Analytics Results (Data table): uses Data table
- Return Analysis Results (Respond to Webhook): sends the response back to the webhook caller
Services it uses
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 (12)
- Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Code Tool
@n8n/n8n-nodes-langchain.toolCode - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
How It Works This workflow automates player segmentation and game economy optimisation using a multi-agent AI architecture, targeting game designers, product managers, and data teams in mobile, PC, or online gaming studios who need to personalise player…