AutomationFlowsAI & RAG › Synthetic Safe Support Draft

Synthetic Safe Support Draft

Synthetic Safe Support Draft. Uses dataStore, openAi, gmail. Webhook trigger; 6 nodes.

Webhook trigger★★★★☆ complexityAI-powered6 nodesData StoreOpenAIGmail
AI & RAG Trigger: Webhook Nodes: 6 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Gmail → 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": "Synthetic Safe Support Draft",
  "nodes": [
    {
      "id": "n8n-safe-webhook",
      "name": "Support Event Webhook",
      "type": "n8n-nodes-base.webhook",
      "parameters": {
        "path": "synthetic-support-event"
      }
    },
    {
      "id": "n8n-safe-dedup",
      "name": "Deduplicate Event",
      "type": "n8n-nodes-base.dataStore",
      "parameters": {
        "operation": "get",
        "key": "={{ $json.event_id }}"
      }
    },
    {
      "id": "n8n-safe-loop",
      "name": "Bounded Batch Iterator",
      "type": "n8n-nodes-base.splitInBatches",
      "parameters": {
        "batchSize": 25
      }
    },
    {
      "id": "n8n-safe-ai",
      "name": "Draft Reply With LLM",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "parameters": {
        "model": "synthetic-small-model"
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "n8n-safe-approval",
      "name": "Human Approval Gate",
      "type": "n8n-nodes-base.wait",
      "parameters": {
        "resume": "manual"
      }
    },
    {
      "id": "n8n-safe-send",
      "name": "Gmail Send Approved Reply",
      "type": "n8n-nodes-base.gmail",
      "parameters": {
        "operation": "send",
        "recipient": "={{ $json.synthetic_recipient }}"
      }
    }
  ],
  "connections": {
    "Support Event Webhook": {
      "main": [
        [
          {
            "node": "Deduplicate Event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Deduplicate Event": {
      "main": [
        [
          {
            "node": "Bounded Batch Iterator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bounded Batch Iterator": {
      "main": [
        [
          {
            "node": "Draft Reply With LLM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Draft Reply With LLM": {
      "main": [
        [
          {
            "node": "Human Approval Gate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Human Approval Gate": {
      "main": [
        [
          {
            "node": "Gmail Send Approved Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "errorWorkflow": "synthetic-error-handler-reference"
  }
}

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

Synthetic Safe Support Draft. Uses dataStore, openAi, gmail. Webhook trigger; 6 nodes.

Source: https://github.com/gzh246/ai-workflow-safety-auditor/blob/main/examples/n8n/safe-workflow.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

This workflow captures new leads via webhook, enriches and scores them with Apollo and Google Gemini, logs everything in Google Sheets, and automates outreach, reply handling, follow-ups, meeting prep

HTTP Request, Google Gemini, Google Sheets +3
AI & RAG

Eu Clara – Funil Kiwify Completo. Uses postgres, openAi, httpRequest, gmail. Webhook trigger; 70 nodes.

Postgres, OpenAI, HTTP Request +1
AI & RAG

Support Triage + FAQ Draft (injection-hardened). Uses dataTable, openAi, gmail. Webhook trigger; 57 nodes.

Data Table, OpenAI, Gmail
AI & RAG

User Signup & Verification: The workflow starts when a user signs up. It generates a verification code and sends it via SMS using Twilio. Code Validation: The user replies with the code. The workflow

Postgres, HTTP Request, OpenAI +2
AI & RAG

Instantly map all internal URLs, perform AI-powered (ChatGPT) analysis, and deliver results in HTML via webhook, Google Sheets, or email. All from your own n8n instance!

OpenAI, HTTP Request, XML +3