Marketing & Advertising Automation

1653 Code Webhook Send Webhook

1653 Code Webhook Send Webhook

Complex
High
49
Nodes
Complex
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
49
Node Types
14

Node Types

sticky Note
Note3, Note5, Note1, Note2, Note, Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3
9 nodes
open Ai
Generate reply
1 node
gmail Trigger
On email received
1 node
if
Only continue for specific emails, If spreadsheet doesn't exist, If no sheet IDs, If no spreadsheet in configuration #2, If no spreadsheet in configuration #1, If reply is complete, Is text within token limit?
7 nodes
set
Configure, Format data, Identify trigger #2, Identify trigger #1
4 nodes
gmail
Send reply to recipient
1 node
crypto
Generate UUID
1 node
html
Thanks for your response!, Email template
2 nodes
code
Extract message content (advanced), Store spreadsheet ID, Get data from `Format data`, Get data from `Format data` node, Get sheet IDs #1, Store specific sheet IDs #2, Get sheet IDs #2, Store specific sheet IDs #1
8 nodes
google Sheets
Create spreadsheet, Paste data, Create or update rows, Send feedback for fine-tuned data
4 nodes
no Op
Successfully created or updated row, Send email reply, Record feedback, Fallback route, Do not send unfinished email reply, Do not send email to this recipient, Send reply to database, Do nothing
8 nodes
webhook
On feedback given
1 node
respond To Webhook
Show HTML page
1 node
switch
Determine which trigger ran
1 node

Workflow JSON

82.01 KB
{
  "meta": {
    "instanceId": "a2434c94d549548a685cca39cc4614698e94f527bcea84eefa363f1037ae14cd"
  },
  "name": "1653 Code Webhook Send Webhook",
  "nodes": [
    {
      "id": "88c0f64c-a7cd-4f35-96dd-9eee4b1d6a1a",
      "name": "Generate reply",
      "type": "n8n-nodes-base.openAi",
      "position": [
        -480,
        2260
      ],
      "parameters": {
        "prompt": "=From: {{ $json.from.value }}\nTo: {{ $json.to.value }}\nSubject: {{ $json.subject }}\nBody: {{ $json.reply }}\n\n\nReply: ",
        "options": {
          "maxTokens": "={{ $('Configure').first().json.replyTokenSize }}"
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "27",
          "name": "[UPDATE ME]"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7105b689-9f9c-4354-aad9-8f1abb6c0a06",
      "name": "On email received",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -2460,
        2680
      ],
      "parameters": {
      ...

Showing first 1000 characters. Click "Expand" to view the full JSON.