This workflow follows the Agent → Chat Trigger 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 →
{
"name": "Digital Marketer Agent copy",
"nodes": [
{
"parameters": {
"public": true,
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
-280,
-60
],
"id": "e7d0b634-b5a1-43f8-b3f8-e59830b5bbe6",
"name": "When chat message received",
"notesInFlow": false
},
{
"parameters": {
"options": {
"systemMessage": "Vous \u00eates digital marqueteur, Je voudrais mettre en vente des voitures dont les caract\u00e9ristiques sont sont fournies avec :\n- Marque\n- Mod\u00e8le\n- Couleur\n- Puissance fiscale\n- Prix de vente : 120000\nAvec ces informations, r\u00e9digez une description \u00e9l\u00e9gante \u00ab \u00c0 propos de cette voiture\u00bb qui sera utilis\u00e9e. Le corps du message doit commencer par un paragraphe tr\u00e8s attractif. La description de chaque voiture doit \u00eatre pr\u00e9c\u00e9d\u00e9e par un titre contenant la marque et le mod\u00e8le \n\nUtilisez le format HTML avec des puces pour d\u00e9limiter les principales fonctionnalit\u00e9s mentionn\u00e9es dans la description.\n\nCette description sera envoy\u00e9 par email \u00e0 une liste de clients\n"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2,
"position": [
-80,
-60
],
"id": "00cac4c1-700b-486a-916f-519e08116f4b",
"name": "AI Agent"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
-60,
160
],
"id": "5357fee5-8516-4e75-be4b-f0274cbfa5b9",
"name": "Simple Memory"
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
-240,
180
],
"id": "82801b49-fdb1-413c-9bad-baa25f56d375",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"descriptionType": "manual",
"toolDescription": "Send a message in Gmail",
"sendTo": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}",
"subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}",
"message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
"options": {}
},
"type": "n8n-nodes-base.gmailTool",
"typeVersion": 2.1,
"position": [
380,
160
],
"id": "231ec2ca-5182-48d2-80b4-ea6aa9b4fa57",
"name": "Gmail",
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"sseEndpoint": "http://192.168.1.11:5678/mcp-test/522d84df-b960-42af-833b-d04a2e7c8c07/sse"
},
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"typeVersion": 1,
"position": [
80,
160
],
"id": "f037713b-3d51-4d64-ba9a-60e975037a10",
"name": "MCP Client"
}
],
"connections": {
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Gmail": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"MCP Client": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "df81822f-0ff7-4eaa-89dc-c12f321a7ef3",
"meta": {
"templateCredsSetupCompleted": true
},
"id": "ez37vMWputuaZ7T6",
"tags": []
}
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.
gmailOAuth2openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Digital Marketer Agent copy. Uses chatTrigger, agent, memoryBufferWindow, lmChatOpenAi. Chat trigger; 6 nodes.
Source: https://github.com/mohamedYoussfi/agentic-ai/blob/61e0f85f2676fa90a021d2c826091f32a3d3f9eb/Digital_Marketer_Agent_copy.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.
AI Agent MCP for Email & News Research
Build an MCP server with Airtable. Uses chatTrigger, agent, memoryBufferWindow, mcpClientTool. Chat trigger; 13 nodes.
Build an MCP server with Airtable. Uses chatTrigger, agent, memoryBufferWindow, mcpClientTool. Chat trigger; 13 nodes.
This template is designed for anyone who wants to integrate MCP with their AI Agents using Airtable. Whether you're a developer, a data analyst, or an automation enthusiast, if you're looking to lever
This assistant is designed for people who don't have time to write and send emails to suppliers. With just one request, it drafts and sends clear, professional messages automatically.