AutomationFlowsAI & RAG › AI Digital Marketer Agent Chat

AI Digital Marketer Agent Chat

Original n8n title: Digital Marketer Agent

Digital Marketer Agent. Uses chatTrigger, agent, memoryBufferWindow, googleSheetsTool. Chat trigger; 7 nodes.

Chat trigger trigger★★☆☆☆ complexityAI-powered7 nodesChat TriggerAgentMemory Buffer WindowGoogle Sheets ToolOpenAI ChatGmail Tool
AI & RAG Trigger: Chat trigger Nodes: 7 Complexity: ★★☆☆☆ AI nodes: yes Added:

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 →

Download .json
{
  "name": "Digital Marketer Agent",
  "nodes": [
    {
      "parameters": {
        "public": true,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "typeVersion": 1.1,
      "position": [
        -280,
        -60
      ],
      "id": "e06599c2-6b79-4bd7-84de-ea47d78b2303",
      "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": "468fb368-dc13-4916-aad5-e4921fe84a65",
      "name": "AI Agent"
    },
    {
      "parameters": {},
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "typeVersion": 1.3,
      "position": [
        -60,
        160
      ],
      "id": "63600c89-7833-4928-a77f-f470a67fc398",
      "name": "Simple Memory"
    },
    {
      "parameters": {
        "descriptionType": "manual",
        "toolDescription": "Consulter une liste de v\u00e9hicules qui sont s\u00e9lectionn\u00e9es (selected=1)",
        "documentId": {
          "__rl": true,
          "value": "1wNI8GCA4lXJ3QxOlcsddi6En49X76BU9iQvmbA6OPy0",
          "mode": "list",
          "cachedResultName": "vehicules",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1wNI8GCA4lXJ3QxOlcsddi6En49X76BU9iQvmbA6OPy0/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": 1163423040,
          "mode": "list",
          "cachedResultName": "vehicules",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1wNI8GCA4lXJ3QxOlcsddi6En49X76BU9iQvmbA6OPy0/edit#gid=1163423040"
        },
        "filtersUI": {
          "values": [
            {
              "lookupColumn": "Selected",
              "lookupValue": "1"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.6,
      "position": [
        60,
        180
      ],
      "id": "c16c3c1f-dbc3-48df-8797-c581728d7a35",
      "name": "Google Sheets",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        -240,
        180
      ],
      "id": "0893a407-0099-43ca-a6d9-1cde871283d3",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "descriptionType": "manual",
        "toolDescription": "Consulter une liste de clients",
        "documentId": {
          "__rl": true,
          "value": "1wNI8GCA4lXJ3QxOlcsddi6En49X76BU9iQvmbA6OPy0",
          "mode": "list",
          "cachedResultName": "vehicules",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1wNI8GCA4lXJ3QxOlcsddi6En49X76BU9iQvmbA6OPy0/edit?usp=drivesdk"
        },
        "sheetName": {
          "__rl": true,
          "value": 1252237882,
          "mode": "list",
          "cachedResultName": "customers",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1wNI8GCA4lXJ3QxOlcsddi6En49X76BU9iQvmbA6OPy0/edit#gid=1252237882"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleSheetsTool",
      "typeVersion": 4.6,
      "position": [
        260,
        160
      ],
      "id": "ab7f8cd0-acf2-4623-af1f-33770cdf162e",
      "name": "Google Sheets1",
      "credentials": {
        "googleSheetsOAuth2Api": {
          "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": "da2c9b5b-e104-4bf2-b095-f006dac4601e",
      "name": "Gmail",
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "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
          }
        ]
      ]
    },
    "Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1f575742-76e9-4a8e-97ae-fb3681ff2603",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "KBodxP3ZlN749DAh",
  "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.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Digital Marketer Agent. Uses chatTrigger, agent, memoryBufferWindow, googleSheetsTool. Chat trigger; 7 nodes.

Source: https://github.com/mohamedYoussfi/agentic-ai/blob/61e0f85f2676fa90a021d2c826091f32a3d3f9eb/Digital_Marketer_Agent.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

2a Intelligent AI Assistant DONE. Uses chatTrigger, agent, lmChatOpenAi, memoryBufferWindow. Chat trigger; 8 nodes.

Chat Trigger, Agent, OpenAI Chat +4
AI & RAG

AI Agent. Uses chatTrigger, agent, lmChatOpenAi, memoryBufferWindow. Chat trigger; 7 nodes.

Chat Trigger, Agent, OpenAI Chat +3
AI & RAG

Medical_Company_Chatbot. Uses chatTrigger, agent, lmChatOpenAi, memoryBufferWindow. Chat trigger; 6 nodes.

Chat Trigger, Agent, OpenAI Chat +3
AI & RAG

Think Tool. Uses stickyNote, agent, googleCalendarTool, memoryBufferWindow. Chat trigger; 28 nodes.

Agent, Google Calendar Tool, Memory Buffer Window +8
AI & RAG

Overview Meet Maria, a sophisticated AI Booking Agent designed for Veterinary Clinics (but easily adaptable to any service business). This workflow transforms a simple chat interface into a full-scale

Chat Trigger, Google Calendar Tool, Memory Buffer Window +7