This workflow follows the Agent → OpenAI Chat recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
mcpClientApimongoDbopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
My workflow 3. Uses agent, n8n-nodes-mcp, lmChatOpenAi, mongoDb. Scheduled trigger; 15 nodes.
Source: https://github.com/aekanun2020/2025-mcpserver-apify/blob/main/how-to-count-toolcalling-and-others-error-handling/My_workflow_3.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
lab3-solvedLab2-v2 copy. Uses memoryBufferWindow, agent, n8n-nodes-mcp, lmChatOpenAi. Scheduled trigger; 13 nodes.
lab2-original-update copy copy 2. Uses agent, lmChatOpenAi, n8n-nodes-mcp, mongoDb. Scheduled trigger; 8 nodes.
We’ve released Version 4 of our AI Powered Blog Automation workflow. We heard your complains and made a complete redesign built for serious content creators.
Note: This template is for self-hosted n8n instances only
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.