AutomationFlowsMarketing & Ads › AI Cold Email Agent Template

AI Cold Email Agent Template

Original n8n title: Cold Email Agent Template

Cold Email Agent Template. Uses executeWorkflowTrigger, openAi. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexityAI-powered3 nodesExecute Workflow TriggerOpenAI
Marketing & Ads Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ AI nodes: yes Added:

This workflow follows the Execute Workflow Trigger → OpenAI 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": "Cold Email Agent Template",
  "nodes": [
    {
      "parameters": {
        "inputSource": "passthrough"
      },
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "typeVersion": 1.1,
      "position": [
        0,
        0
      ],
      "id": "ff56b561-b493-4cde-8e28-8276aa03905c",
      "name": "When Executed by Another Workflow"
    },
    {
      "parameters": {
        "resource": "assistant",
        "assistantId": {
          "__rl": true,
          "value": "asst_ruzdoJMpStaumjZRufwIw13D",
          "mode": "list",
          "cachedResultName": "Cold Email Copywriter"
        },
        "prompt": "define",
        "text": "={{ $json.query }}",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        220,
        0
      ],
      "id": "75369829-12e7-420c-8f49-9ff0aeeebb10",
      "name": "OpenAI",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "7b1cd361-36ad-4529-8273-6f779936c934",
              "name": "response",
              "value": "={{ $json.output }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        580,
        0
      ],
      "id": "a4cc1aa7-04eb-4c9f-b704-02b09dd20c1b",
      "name": "Edit Fields"
    }
  ],
  "connections": {
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2ac97b1d-d8a1-46d6-ad41-f901407ac35c",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "h9k7k5jYaaqEh2vz",
  "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

Cold Email Agent Template. Uses executeWorkflowTrigger, openAi. Event-driven trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More Marketing & Ads workflows → · Browse all categories →

Related workflows

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

Marketing & Ads

Lead Nurturing Demo. Uses googleSheetsTrigger, openAi, gmail, slack. Event-driven trigger; 6 nodes.

Google Sheets Trigger, OpenAI, Gmail +2
Marketing & Ads

The Recap AI - Insurance Lawyer Lead Gen. Uses executeWorkflowTrigger, formTrigger, @mendable/n8n-nodes-firecrawl, googleSheets. Event-driven trigger; 33 nodes.

Execute Workflow Trigger, Form Trigger, @Mendable/N8N Nodes Firecrawl +4
Marketing & Ads

My workflow 11. Uses manualTrigger, splitOut, httpRequest, splitInBatches. Event-driven trigger; 14 nodes.

HTTP Request, OpenAI, Google Sheets +2
Marketing & Ads

This workflow is designed for animal advocacy campaigners, strategists, and researchers who need detailed intelligence on corporate targets and their key stakeholders like executives, investors, and s

Information Extractor, Chain Llm, OpenRouter Chat +1
Marketing & Ads

Trending YouTube Videos copy. Uses googleSheets, openAi, httpRequest, stickyNote. Event-driven trigger; 12 nodes.

Google Sheets, OpenAI, HTTP Request +1