feat: add folder support for workflows (fixes #70)
This commit is contained in:
148
workflows/Form/0484_Form_Stickynote_Automation_Webhook.json
Normal file
148
workflows/Form/0484_Form_Stickynote_Automation_Webhook.json
Normal file
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"name": "Dynamic credentials using expressions",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "cc6f2b1e-0ed0-4d22-8a44-d7223ba283b4",
|
||||
"name": "n8n Form Trigger",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
560,
|
||||
520
|
||||
],
|
||||
"webhookId": "da4071f2-7550-4dae-aa48-8bced4291643",
|
||||
"parameters": {
|
||||
"path": "da4071f2-7550-4dae-aa48-8bced4291643",
|
||||
"formTitle": "Test dynamic credentials",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Enter your NASA API key",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "responseNode",
|
||||
"formDescription": "This form is for testing an n8n workflow that demonstrates setting credentials with expressions."
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "ef336bae-3d4f-419c-ab5c-b9f0de89f170",
|
||||
"name": "NASA",
|
||||
"type": "n8n-nodes-base.nasa",
|
||||
"position": [
|
||||
900,
|
||||
520
|
||||
],
|
||||
"parameters": {
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"nasaApi": {
|
||||
"id": "QDDBOZOD6k3ijL5t",
|
||||
"name": "NASA account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "143bcdb6-aca0-4dd8-9204-9777271cd230",
|
||||
"name": "Respond to Webhook",
|
||||
"type": "n8n-nodes-base.respondToWebhook",
|
||||
"position": [
|
||||
1220,
|
||||
520
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"redirectURL": "={{ $json.url }}",
|
||||
"respondWith": "redirect"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "0a0dee23-fa16-4f09-b5e0-856f47fb53d0",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
120,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 322,
|
||||
"height": 564,
|
||||
"content": "This workflow shows how to set credentials dynamically using expressions.\n\n\nFirst, set up your NASA credential: \n\n1. Create a new NASA credential.\n1. Hover over **API Key**.\n1. Toggle **Expression** on.\n1. In the **API Key** field, enter `{{ $json[\"Enter your NASA API key\"] }}`.\n\n\nThen, test the workflow:\n\n1. Get an [API key from NASA](https://api.nasa.gov/)\n2. Select **Test workflow**\n3. Enter your key using the form.\n4. The workflow runs and sends you to the NASA picture of the day.\n\n\nFor more information on expressions, refer to [n8n documentation | Expressions](https://docs.n8n.io/code/expressions/)."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "dd766e32-334d-4e46-9daa-7800b134a3a5",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
500,
|
||||
380
|
||||
],
|
||||
"parameters": {
|
||||
"height": 319,
|
||||
"content": "User submits an API key using the form"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3d8f02e6-e029-41dc-89ad-0f5cffe09348",
|
||||
"name": "Sticky Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
820,
|
||||
380
|
||||
],
|
||||
"parameters": {
|
||||
"color": 5,
|
||||
"height": 319,
|
||||
"content": "The workflow passes the key to the NASA node. You can reference the value using the expression `$json[\"Enter your NASA API key\"]`. This is also available to the node credential. "
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "096eb6ab-c276-4687-9dc0-50e16a8f709a",
|
||||
"name": "Sticky Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1140,
|
||||
380
|
||||
],
|
||||
"parameters": {
|
||||
"height": 319,
|
||||
"content": "The Respond to Webhook node controls the form response (in this example, redirecting the user to an image)"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"NASA": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Respond to Webhook",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"n8n Form Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "NASA",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
856
workflows/Form/0633_Form_GoogleSheets_Create_Triggered.json
Normal file
856
workflows/Form/0633_Form_GoogleSheets_Create_Triggered.json
Normal file
@@ -0,0 +1,856 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "4110f060-6945-4c52-9ea0-1dedb9309704",
|
||||
"name": "Add to Waitlist Sheet",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
160,
|
||||
-440
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"Email": "={{ $json.Email }}",
|
||||
"Company": "={{ $json['Company Website'] }}",
|
||||
"Lastname": "={{ $json.Lastname }}",
|
||||
"Firstname": "={{ $json.Firstname }}",
|
||||
"Verification-Code": "={{ $json.code }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "Firstname",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Firstname",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Lastname",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Lastname",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Email",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "Email",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Company",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Company",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Verification-Code",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Verification-Code",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Verified",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Verified",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Intended Use",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Intended Use",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [
|
||||
"Email"
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"operation": "appendOrUpdate",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA/edit#gid=0",
|
||||
"cachedResultName": "Sheet1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA/edit?usp=drivesdk",
|
||||
"cachedResultName": "n8n demo Waitlist"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "7508uyvd9qA3loJG",
|
||||
"name": "Demo Creds Sheets"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "44bd9df4-5744-4beb-acfc-ad4c2d7a4359",
|
||||
"name": "Clean and Standardize",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
-320,
|
||||
-280
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "f17a256a-f7cc-444b-9a10-29ab471c0510",
|
||||
"name": "Email",
|
||||
"type": "string",
|
||||
"value": "={{ $json.Email.trim().toLowerCase() }}"
|
||||
},
|
||||
{
|
||||
"id": "7c84b1f2-518b-4966-8dd1-594123a54e6e",
|
||||
"name": "Company Website",
|
||||
"type": "string",
|
||||
"value": "=https://{{ $json['Company Website'].toLowerCase().trim().trim('/').replace('https://','').replace('http://','') }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"includeOtherFields": true
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "ba3db4e8-8622-4b9f-bf6e-bb563adcf4cc",
|
||||
"name": "Send Verification Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
660,
|
||||
-300
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Hey {{ $json.Firstname }}\n\nThank you for your interest in joining the white list. To complete your registration, please verify your email address by using the code provided below:\n\nYour Verification Code: {{ $json.code }}\n\nPlease enter this code on the verification page to secure your spot on our waitlist.\n\nIf you didn’t request this email or believe it was sent to you by mistake, please ignore it.\n\nFor any questions or assistance, feel free to contact us.\n\nBest regards,\n[your name]\n\nNote: This is an automated message. Please do not reply directly to this email.",
|
||||
"options": {},
|
||||
"subject": "Your Waitlist Verification Code",
|
||||
"toEmail": "={{ $json.Email }}",
|
||||
"fromEmail": "noreply@company.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "kiPWdk4KFJwOLaYT",
|
||||
"name": "Demo Automailer"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1,
|
||||
"alwaysOutputData": false
|
||||
},
|
||||
{
|
||||
"id": "4fdc7af2-0739-40ab-a3b8-04394eab2732",
|
||||
"name": "Validate with Verification Code",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
880,
|
||||
-300
|
||||
],
|
||||
"webhookId": "15fbe5e4-88f8-4b74-8a29-eb1cac45c261",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "Validate your Email",
|
||||
"buttonLabel": "Verify",
|
||||
"formDescription": "You should have received an Email with a Verification Code."
|
||||
},
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Verification Code",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "2f764fe1-da60-4804-9caf-8eb3b2d15093",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-400,
|
||||
-540
|
||||
],
|
||||
"parameters": {
|
||||
"width": 740,
|
||||
"height": 520,
|
||||
"content": "## Adding to GSheet-List, Creating a OTP / Verification Code\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c3168dc7-e25f-4d9c-9efe-8bfb46b14a09",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
580,
|
||||
-420
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 480,
|
||||
"height": 360,
|
||||
"content": "## Let the user enter the Verification Code\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "5bdf433e-d9e6-4e63-a995-9781ac21a07d",
|
||||
"name": "Get all Data from the Prev Form + Current",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
1240,
|
||||
-300
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "raw",
|
||||
"options": {},
|
||||
"jsonOutput": "={{ $(\"Generate Random Verification Code\").item.json }}",
|
||||
"includeOtherFields": true
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "788d6847-25a0-4ea3-8dfb-50fed04a497d",
|
||||
"name": "Additional Data for the Sheet",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
2220,
|
||||
-400
|
||||
],
|
||||
"webhookId": "6bd68611-49e9-49f4-a470-4a2da66a29df",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "Intended Use",
|
||||
"buttonLabel": "Submit",
|
||||
"formDescription": "What are you planing to Build with our Software?"
|
||||
},
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "Use Case"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "5fed2449-3225-4678-a35e-e7408fe3e1ea",
|
||||
"name": "Every Step Data",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
2420,
|
||||
-400
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "raw",
|
||||
"options": {},
|
||||
"jsonOutput": "={{ $(\"Get all Data from the Prev Form + Current\").item.json }}",
|
||||
"includeOtherFields": true
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "92d2b42b-9190-48c1-92c1-34c2144bfdf9",
|
||||
"name": "is the Code correct?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1420,
|
||||
-300
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"conditions": {
|
||||
"options": {
|
||||
"version": 2,
|
||||
"leftValue": "",
|
||||
"caseSensitive": true,
|
||||
"typeValidation": "strict"
|
||||
},
|
||||
"combinator": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"id": "e2fe68a3-f1df-4912-af93-393a046b9114",
|
||||
"operator": {
|
||||
"name": "filter.operator.equals",
|
||||
"type": "string",
|
||||
"operation": "equals"
|
||||
},
|
||||
"leftValue": "={{ $json['Verification Code'] }}",
|
||||
"rightValue": "={{ $json.code }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "ce161a0a-aec4-40db-97c0-5ce53cffacac",
|
||||
"name": "Let the User Reenter Code",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
1640,
|
||||
-220
|
||||
],
|
||||
"webhookId": "9a39ad9a-8c7d-445f-93e4-9af472678d38",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "Code was not valid",
|
||||
"buttonLabel": "Verify",
|
||||
"formDescription": "Please enter your Verification Code and try again."
|
||||
},
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Verification Code",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "008ed28c-2af3-4006-987e-9e083e72f10b",
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
400,
|
||||
-300
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "chooseBranch",
|
||||
"useDataOfInput": 2
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "099e9089-ea39-4d67-a1ec-c063257c8cb0",
|
||||
"name": "Sticky Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1160,
|
||||
-440
|
||||
],
|
||||
"parameters": {
|
||||
"color": 2,
|
||||
"width": 680,
|
||||
"height": 480,
|
||||
"content": "## Verification Loop"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "073574ce-f55c-4b01-a4a1-18171c4647c5",
|
||||
"name": "Save Intend to List",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
2620,
|
||||
-400
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"Email": "={{ $json.Email }}",
|
||||
"Intended Use": "={{ $json['Use Case'] }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "Firstname",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Firstname",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Lastname",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Lastname",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Email",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "Email",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Company",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Company",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Verification-Code",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Verification-Code",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Verified",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Verified",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Intended Use",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "Intended Use",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [
|
||||
"Email"
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"operation": "appendOrUpdate",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA/edit#gid=0",
|
||||
"cachedResultName": "Sheet1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA/edit?usp=drivesdk",
|
||||
"cachedResultName": "n8n demo Waitlist"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "7508uyvd9qA3loJG",
|
||||
"name": "Demo Creds Sheets"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "e1a4618c-4a58-4ed0-bbad-68c8af3fba5d",
|
||||
"name": "Save as Verified",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1960,
|
||||
-400
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"Email": "={{ $json.Email }}",
|
||||
"Verified": "true"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "Firstname",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Firstname",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Lastname",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Lastname",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Email",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "Email",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Company",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Company",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Verification-Code",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Verification-Code",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Verified",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "Verified",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Intended Use",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "Intended Use",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [
|
||||
"Email"
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"operation": "appendOrUpdate",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA/edit#gid=0",
|
||||
"cachedResultName": "Sheet1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1ydEoVn5uY36bEVXDmfdbj3Q-OabaPIqTifrzx49PTHA/edit?usp=drivesdk",
|
||||
"cachedResultName": "n8n demo Waitlist"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "7508uyvd9qA3loJG",
|
||||
"name": "Demo Creds Sheets"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "1e48dc65-18ba-45b4-a3f1-7a9298697596",
|
||||
"name": "Sticky Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
2160,
|
||||
-500
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 640,
|
||||
"height": 340,
|
||||
"content": "## Last Page, let them add some details and save them"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9f899bac-9a8f-4659-a90f-b9835f5abc51",
|
||||
"name": "Generate Random Verification Code",
|
||||
"type": "n8n-nodes-base.crypto",
|
||||
"position": [
|
||||
-60,
|
||||
-280
|
||||
],
|
||||
"parameters": {
|
||||
"action": "generate",
|
||||
"encodingType": "hex",
|
||||
"stringLength": 6,
|
||||
"dataPropertyName": "code"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "f009aec4-c640-4a85-9417-98c4938db380",
|
||||
"name": "Waitlist Form",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-560,
|
||||
-280
|
||||
],
|
||||
"webhookId": "b1fac105-169a-47b9-83b7-8ed52edb3209",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"path": "demo-waitlist-2"
|
||||
},
|
||||
"formTitle": "Waitlist Form",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Firstname",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Lastname",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "email",
|
||||
"fieldLabel": "Email",
|
||||
"placeholder": "name@my-company.com",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Company Website",
|
||||
"placeholder": "https://my-company.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "Thank you for the interest in our Service!\nJoin our waitlist to be one of the first users getting access to our service!"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "1a71859d-24a1-4f2c-a7ff-3cb7e6a1f522",
|
||||
"name": "Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-1320,
|
||||
-620
|
||||
],
|
||||
"parameters": {
|
||||
"width": 668,
|
||||
"height": 786,
|
||||
"content": "## Instructions\n\nThis automation streamlines the process of **collecting user information** using a Form Node, enabling individuals to join a **waitlist managed via Google Sheets.**\n\nIt also **generates a verification code**, prompting users to input this code in the Second Form Step. If the code is _nvalid, the workflow keeps the user in a verification loop until a valid code is entered.\n\nOnce a **valid code is provided**, the workflow proceeds to the final step, where **additional information** can be collected.\n\nAll e**ntered data and intermediate states** are securely **stored in the Google Sheet**.\n\n### Structure of the GoogleSheet\n\nFirstname | Lastname | Email | Company | Verification-Code | Verified | Intended Use\nMarcel | Claus-Ahrens | foo[at]bar| foobar | abc123 | TRUE | Just testing\n\n### Setup\n\n1. Set Up a Google Sheet: Create a Google Sheet with the specified columns, or customize them to suit your needs.\n2. Verify the \"Send Mail\" Node: Ensure your \"Send Mail\" node is functional, or replace it with another email-sending node.\n3. Customize Texts and Fields: Update email content, form texts, and form fields to align with your specific use case.\n4. Done!\n\n \nEnjoy the workflow! ❤️ \n[let the workf low](https://let-the-work-flow.com) — Workflow Automation & Development"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Send Verification Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Waitlist Form": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Clean and Standardize",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Every Step Data": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Save Intend to List",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Save as Verified": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Additional Data for the Sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"is the Code correct?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Save as Verified",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Let the User Reenter Code",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Clean and Standardize": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Generate Random Verification Code",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Add to Waitlist Sheet": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Send Verification Email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Validate with Verification Code",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Let the User Reenter Code": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get all Data from the Prev Form + Current",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Additional Data for the Sheet": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Every Step Data",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Validate with Verification Code": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get all Data from the Prev Form + Current",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Generate Random Verification Code": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Add to Waitlist Sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get all Data from the Prev Form + Current": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "is the Code correct?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
737
workflows/Form/0648_Form_GoogleSheets_Create_Triggered.json
Normal file
737
workflows/Form/0648_Form_GoogleSheets_Create_Triggered.json
Normal file
@@ -0,0 +1,737 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9"
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "7263f921-1622-47eb-903c-729a75965e20",
|
||||
"name": "About You",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
600,
|
||||
200
|
||||
],
|
||||
"webhookId": "14efc5e8-0984-4ccb-a118-ce3492f8ea02",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "Thanks For Signing Up!",
|
||||
"buttonLabel": "Continue (1 of 3)",
|
||||
"formDescription": "Before you go, we'd love to know more about you and why you're interested in our service. Complete the following questions for a nice treat at the end!\n\n* This survey is optional."
|
||||
},
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "First Name",
|
||||
"placeholder": "eg. Mark",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Last Name",
|
||||
"placeholder": "eg. Zuckerberg",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Country/Region"
|
||||
},
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "Job Level",
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "CEO"
|
||||
},
|
||||
{
|
||||
"option": "VP"
|
||||
},
|
||||
{
|
||||
"option": "Director"
|
||||
},
|
||||
{
|
||||
"option": "Manager"
|
||||
},
|
||||
{
|
||||
"option": "Non-manager"
|
||||
},
|
||||
{
|
||||
"option": "Student or Intern"
|
||||
},
|
||||
{
|
||||
"option": "Other"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "Job Function",
|
||||
"multiselect": true,
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "Accounting/Finance"
|
||||
},
|
||||
{
|
||||
"option": "Admin/Office"
|
||||
},
|
||||
{
|
||||
"option": "Customer Service"
|
||||
},
|
||||
{
|
||||
"option": "Design"
|
||||
},
|
||||
{
|
||||
"option": "Engineering/Software"
|
||||
},
|
||||
{
|
||||
"option": "HR/Operations"
|
||||
},
|
||||
{
|
||||
"option": "Leadership/Management"
|
||||
},
|
||||
{
|
||||
"option": "Legal"
|
||||
},
|
||||
{
|
||||
"option": "Other"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "590e8da4-e4b5-46de-af19-f07f82305c19",
|
||||
"name": "Your Interests",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
780,
|
||||
200
|
||||
],
|
||||
"webhookId": "14efc5e8-0984-4ccb-a118-ce3492f8ea02",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "What Brings You Here?",
|
||||
"buttonLabel": "Continue (2 of 3)",
|
||||
"formDescription": "Thanks <name>!\nPlease tell us why you are interested in our product? It'll help us tailor your onboarding and communication journeys to better suit your needs."
|
||||
},
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "How familiar are you with no-code automation?",
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "I've Just started or exploring no-code automation tools"
|
||||
},
|
||||
{
|
||||
"option": "I've tried tools like Zapier to automate small tasks"
|
||||
},
|
||||
{
|
||||
"option": "I've built several no-code automations and workflows already"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "Describe briefly what you'd like to get out of our product?",
|
||||
"placeholder": "Eg. short term pain points and long term solutions...",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c8f837be-4c09-4cf5-be33-913814d7b1c4",
|
||||
"name": "Join Beta Testers",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
960,
|
||||
200
|
||||
],
|
||||
"webhookId": "14efc5e8-0984-4ccb-a118-ce3492f8ea02",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "Join Our Beta Testers List",
|
||||
"buttonLabel": "Finish (3 of 3)",
|
||||
"formDescription": "Finally, we're always looking for Beta testers to try out our latest features and help us figure out what works. Beta testers join on a voluntary basis but we often send little tokens of appreciation such as increased usage limits and sometimes brand merchandise!"
|
||||
},
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "Would you like to be considered for our beta testers list?",
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "Yes"
|
||||
},
|
||||
{
|
||||
"option": "No"
|
||||
},
|
||||
{
|
||||
"option": "Maybe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9d8f8a98-7cf6-4dc9-bbed-b999dbdfc6d5",
|
||||
"name": "Sign Up Form",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-120,
|
||||
160
|
||||
],
|
||||
"webhookId": "c9deb1b7-52c5-4046-bb8f-7dcfdd00fa4b",
|
||||
"parameters": {
|
||||
"path": "newsletter-signup",
|
||||
"options": {
|
||||
"buttonLabel": "Sign Up to Newsletter",
|
||||
"appendAttribution": true,
|
||||
"useWorkflowTimezone": true
|
||||
},
|
||||
"formTitle": "Sign Up for My Newsletter",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "email",
|
||||
"fieldLabel": "Email",
|
||||
"placeholder": "eg. jim@example.com",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "Use this form to signup for my newsletter where members will receive the latest workflow templates from me before everyone else!\n\nYou can unsubscribe at any time."
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "e7143922-7de1-448d-9abb-72034437f79c",
|
||||
"name": "Capture More Info",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1140,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"job_level": "={{ $('About You').item.json['Job Level'] }}",
|
||||
"last_name": "={{ $('About You').item.json['Last Name'] }}",
|
||||
"first_name": "={{ $('About You').item.json['First Name'] }}",
|
||||
"execution_id": "={{ $execution.id }}",
|
||||
"job_function": "={{ $('About You').item.json['Job Function'].join(', ') }}",
|
||||
"product_goals": "={{ $('Your Interests').item.json['Describe briefly what you\\'d like to get out of our product?'] }}",
|
||||
"country_region": "={{ $('About You').item.json['Country/Region'] }}",
|
||||
"enrol_betatesters": "={{ $json['Would you like to be considered for our beta testers list?'] }}",
|
||||
"product_experience": "={{ $('Your Interests').item.json['How familiar are you with no-code automation?'] }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "execution_id",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "execution_id",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "date",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "date",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "email",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "email",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "first_name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "first_name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "last_name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "last_name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "job_level",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "job_level",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "job_function",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "job_function",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "country_region",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "country_region",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "product_experience",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "product_experience",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "product_goals",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "product_goals",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "enrol_betatesters",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "enrol_betatesters",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "row_number",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"readOnly": true,
|
||||
"required": false,
|
||||
"displayName": "row_number",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [
|
||||
"execution_id"
|
||||
]
|
||||
},
|
||||
"options": {},
|
||||
"operation": "update",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs/edit#gid=0",
|
||||
"cachedResultName": "Sheet1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs/edit?usp=drivesdk",
|
||||
"cachedResultName": "Newsletter Signup"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "XHvC7jIRR8A2TlUl",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "0cacb296-0d12-44e5-a749-65aa2e89a42d",
|
||||
"name": "Capture Email",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
60,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"date": "={{ $json.submittedAt }}",
|
||||
"email": "={{ $json.Email }}",
|
||||
"execution_id": "={{ $execution.id }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "execution_id",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "execution_id",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "date",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "date",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "email",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "email",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "first_name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "first_name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "last_name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "last_name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "job_level",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "job_level",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "job_function",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "job_function",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "country_region",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "country_region",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "product_experience",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "product_experience",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "product_goals",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "product_goals",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "enrol_betatesters",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": true,
|
||||
"required": false,
|
||||
"displayName": "enrol_betatesters",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": []
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs/edit#gid=0",
|
||||
"cachedResultName": "Sheet1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs/edit?usp=drivesdk",
|
||||
"cachedResultName": "Newsletter Signup"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "XHvC7jIRR8A2TlUl",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "9befb4d6-7c50-4acb-9972-97e95981632f",
|
||||
"name": "Show Completion Screen",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
1560,
|
||||
140
|
||||
],
|
||||
"webhookId": "c1e775ff-f9fd-44ee-b4c6-257fdf291227",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "NewsLetter Signup Short Survey Complete"
|
||||
},
|
||||
"operation": "completion",
|
||||
"completionTitle": "Thank you!",
|
||||
"completionMessage": "Many thanks for taking the time to complete this short survey. A community representative will contact you shortly!\n\nWe hope you enjoy the newsletter and please feel free to contact us at <EMAIL> should you have any questions.\n\nGo back to <HOMEPAGE>."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "01b7b455-a64f-42a1-9c5a-f04908eced41",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-260,
|
||||
-120
|
||||
],
|
||||
"parameters": {
|
||||
"color": 7,
|
||||
"width": 740,
|
||||
"height": 480,
|
||||
"content": "## 1. Easy Lead Capture with n8n Forms\n[Learn more about Form Triggers](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.formtrigger)\n\nPreviously, the n8n form experience was quite limited as you were only given one form page to work with. Now with multi-page forms where its possible to link between them, you can get creative on providing a richer form experience for your users.\n\nHere, we start by capturing the most important information first - the user's email address - and saving it to our Google Sheet. We can then follow-up with an optional short onboarding survey to capture more details about the user if they are willing."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "00b6bcac-2c39-4b5c-aef6-bd6e2731240b",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
500,
|
||||
-60.69767441860472
|
||||
],
|
||||
"parameters": {
|
||||
"color": 7,
|
||||
"width": 840,
|
||||
"height": 460.6976744186047,
|
||||
"content": "## 2. Follow-on Short Survey via Multi-Step Forms\n[Read more about n8n Form node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.form/)\n\nMulti-page forms are built by simply chaining a series of n8n form nodes. n8n handles the progress of the form for you - ie. proceeds when the form validates and the user submits the form - which makes it easier to build as you don't need to add additional nodes in between.\n\nAfter the user provides their email, we present an optional short survey to capture additional details. This step is made of 3 form nodes capturing profession, experience and goals of the user which is then saved to the same row in the google sheet."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e76311ce-ab8e-4563-9fe4-a58a7578b3d0",
|
||||
"name": "Sticky Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1360,
|
||||
-60
|
||||
],
|
||||
"parameters": {
|
||||
"color": 7,
|
||||
"width": 500,
|
||||
"height": 460,
|
||||
"content": "## 3. Customise Your Completion Screen\n[Read more about n8n Form node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.form/)\n\nOnce complete, use the Form node in \"form ending\" page type to show the completion screen. This screen can be customised with a personal message or set to redirect the user depending on the use-case."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "56dc48c4-0232-4dce-bdb5-08e928389425",
|
||||
"name": "Sticky Note4",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-740,
|
||||
-300
|
||||
],
|
||||
"parameters": {
|
||||
"width": 440,
|
||||
"height": 660,
|
||||
"content": "## Try It Out!\n\n### This template builds a simple newsletter signup form with a follow-on short survey entirely in n8n! Taking full advantage of n8n's new multi-page form functionality, it's easy to build impactful forms to serve your business.\n\n### How it works\n* Our flow begins with a form trigger to capture a newsletter signup and the user's email is captured into a google sheet. Google Sheet is used for demonstration purposes but this could be any database.\n* Multi-page forms allow you to continue the onboarding experience with a short survey. 3 form nodes are chained to capture more details from the user which update the same row in the google sheet.\n* Finally, a form ending node shows a customised completion screen for our user.\n\nCheck out the example sheet here: https://docs.google.com/spreadsheets/d/15W1PiFjCoiEBHHKKCRVMLmpKg4AWIy9w1dQ2Dq8qxPs/edit?usp=sharing\n\n\n### Need Help?\nJoin the [Discord](https://discord.com/invite/XPKeKXeB7d) or ask in the [Forum](https://community.n8n.io/)!\n\nHappy Hacking!\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "8035269e-224f-4036-9e8a-9447cfa87252",
|
||||
"name": "Notify New Signup!",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"position": [
|
||||
240,
|
||||
160
|
||||
],
|
||||
"webhookId": "1a9cb618-a2fd-4ee8-b3cf-4140b65d55c1",
|
||||
"parameters": {
|
||||
"text": "=A user signed up to the newsletter!",
|
||||
"select": "channel",
|
||||
"blocksUi": "={\n\t\"blocks\": [\n\t\t{\n\t\t\t\"type\": \"section\",\n\t\t\t\"text\": {\n\t\t\t\t\"type\": \"mrkdwn\",\n\t\t\t\t\"text\": \"{{ $('Sign Up Form').first().json.Email.extractEmail() }} *just signed up to the newsletter!*\"\n\t\t\t}\n\t\t}\n\t]\n}",
|
||||
"channelId": {
|
||||
"__rl": true,
|
||||
"mode": "name",
|
||||
"value": "#general"
|
||||
},
|
||||
"messageType": "block",
|
||||
"otherOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"slackApi": {
|
||||
"id": "VfK3js0YdqBdQLGP",
|
||||
"name": "Slack account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"About You": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Your Interests",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Sign Up Form": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Capture Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Capture Email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Notify New Signup!",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Your Interests": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Join Beta Testers",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Capture More Info": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Show Completion Screen",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Join Beta Testers": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Capture More Info",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Notify New Signup!": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "About You",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
316
workflows/Form/0732_Form_Youtube_Update_Triggered.json
Normal file
316
workflows/Form/0732_Form_Youtube_Update_Triggered.json
Normal file
@@ -0,0 +1,316 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "dd130a849d7b29e5541b05d2f7f86a4acd4f1ec598c1c9438783f56bc4f0ff80",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "07433551-9fa9-421c-a0bf-721fa1624304",
|
||||
"name": "Sticky Note11",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-1380,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 1075,
|
||||
"height": 736,
|
||||
"content": "## Developed by Amjid Ali\n\nThank you for using this workflow template. It has taken me countless hours of hard work, research, and dedication to develop, and I sincerely hope it adds value to your work.\n\nIf you find this template helpful, I kindly ask you to consider supporting my efforts. Your support will help me continue improving and creating more valuable resources.\n\nYou can contribute via PayPal here:\n\nhttp://paypal.me/pmptraining\n\nFor Full Course about ERPNext or Automation using AI follow below link\n\nhttp://lms.syncbricks.com\n\nAdditionally, when sharing this template, I would greatly appreciate it if you include my original information to ensure proper credit is given.\n\nThank you for your generosity and support!\nEmail : amjid@amjidali.com\nhttps://linkedin.com/in/amjidali\nhttps://syncbricks.com\nhttps://youtube.com/@syncbricks"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "31a0c5e9-c6f6-4921-8f92-be84cc669869",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-220,
|
||||
-80
|
||||
],
|
||||
"webhookId": "syncbricks-youtube-meta-automation",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"buttonLabel": "Update Youtube Video"
|
||||
},
|
||||
"formTitle": "Syncbricks Youtube",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Youtube Video Link",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Video Transcript",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Focus Keywords",
|
||||
"placeholder": "Focus Keywords (Optional)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Generate Youtube Video Title, Description, Tags and Hashtags"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "d3c5df7c-2b57-4136-a790-cff68a03a2f1",
|
||||
"name": "syncbricks information",
|
||||
"type": "n8n-nodes-base.googleDocsTool",
|
||||
"position": [
|
||||
240,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "get",
|
||||
"documentURL": "15lN3FJ3iXABf_bd061-F7j-gGx2WBH8Jr6fjBLa3tis",
|
||||
"descriptionType": "manual",
|
||||
"toolDescription": "affiliate links, course links, social media links and other relevant links related to syncbricks"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "e31ea741-3b99-4b3b-9b44-9dcca69f6384",
|
||||
"name": "OpenAI Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
40,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "07b23889-9c41-4202-a41b-350cca850e63",
|
||||
"name": "Extract Video ID",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
540,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "f7b24e9b-cc50-4e4e-8073-aa555aaa5a03",
|
||||
"name": "=videoID",
|
||||
"type": "string",
|
||||
"value": "={{ $('On form submission').item.json['Youtube Video Link'].replace(\"https://youtu.be/\",\"\") }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "44226e96-2429-497d-b84b-f3752f441b8b",
|
||||
"name": "Youtube Meta Generator",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
120,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=You are an AI content generator specialized in crafting high-converting YouTube metadata for videos related to stores, shops, memberships, and business promotions. Your task is to generate a **structured JSON output** optimized for YouTube SEO and audience engagement based on the provided video transcript and focus keywords. Use \"syncbricks information\" tool to collect relevant social media, courses, website and affilite links and ensure to add the relavent links in description. Major course or affilite link should be used as hook in the beginning of the description.\n\n### **Output Requirements:**\n1. **Title:** A compelling, SEO-friendly title optimized for search and audience interest.\n2. **Description:** A detailed, keyword-rich summary of the video, incorporating relevant keywords naturally and including a clear value proposition.\n3. **Keywords:** Single line of all possible keywords with at least 450 characters in total with comma in between each keyword relevant to the video content to enhance discoverability.\n4. **Hashtags:** Single line of 5 to 10 relevant hashtags, without the comma that align with the video's theme.\n5. **Affiliate Links:** Contextually relevant affiliate links that match the video content. Only provide link don't add unnessary boxes.\n7. **Call to Action (CTA):** A persuasive CTA encouraging viewers to **subscribe, like, share, visit a store, or sign up for membership**.\n8. **Additional Promotional Links:** Gather and include relevant **course links, business website links, or related references** that add value to the audience.\n9. **Channel Hashtags:** Append **#EnterpriseIT #BusinessIntelligence #TechSolutions #ITInsights #HomeLab #Gadgets #TechReview #ITTips #SyncBricks #AmjidAli** at the end of the description.\n\n### **Instructions:**\n- Ensure that **affiliate links are directly related** to the video topic.\n- Use **natural language and avoid keyword stuffing** to maintain a user-friendly tone.\n- Don't add social media profiles, and syncbricks websit link, only add the affilaite and promotion links\n- The description should be **at least 150 words properly formatted with lines and paragraphs** for better YouTube SEO.\n - Avoid adding [] brackets\n- Structure the output in a **well-formatted JSON format** for automation.\n\n##Example of Affialite and promotion Links ##\nn8n : https://n8n.syncbricks.com\nFull Course : https://proxmox.syncbricks.com or udemy link\n\n\n### **Here is the existing Video Details:**\n- **Transcript:** {{ $json['Video Transcript'] }}\n- **Focus Keywords:** {{ $json['Focus Keywords'] }}",
|
||||
"options": {
|
||||
"maxIterations": 10
|
||||
},
|
||||
"promptType": "define",
|
||||
"hasOutputParser": true
|
||||
},
|
||||
"typeVersion": 1.7
|
||||
},
|
||||
{
|
||||
"id": "727cdc7f-e783-4d98-8476-a1623310a1fc",
|
||||
"name": "YouTube",
|
||||
"type": "n8n-nodes-base.youTube",
|
||||
"position": [
|
||||
740,
|
||||
60
|
||||
],
|
||||
"parameters": {
|
||||
"title": "={{ $('Youtube Meta Generator').item.json.output.youtube_metadata.title }}",
|
||||
"videoId": "={{ $('Extract Video ID').item.json.videoID }}",
|
||||
"resource": "video",
|
||||
"operation": "update",
|
||||
"categoryId": "28",
|
||||
"regionCode": "OM",
|
||||
"updateFields": {
|
||||
"tags": "={{ $json.formatted_tags }}",
|
||||
"description": "={{ $('Youtube Meta Generator').item.json.output.youtube_metadata.description }}\n\nConnect with us : \nFacebook: https://www.facebook.com/syncbricks\nLinkedIn : https://linkedin.com/company/syncbricks\nInstagram : https://instagram.com/syncbricks_com\n\nSubscribe to youtube Channel : https://www.youtube.com/channel/UC1ORA3oNGYuQ8yQHrC7MzBg?sub_confirmation=1\n\nWebsite : \nSync Bricks: https://syncbricks.com/\n\nContact : info@syncbricks.com\n\n{{ $('Youtube Meta Generator').item.json.output.youtube_metadata.call_to_action }}\n\n{{ $('Youtube Meta Generator').item.json.output.youtube_metadata.hashtags }}\n\n\n"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "631fbe64-2851-42f0-8657-ddd501abcd34",
|
||||
"name": "Format Tags",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
540,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "10cbc535-36a3-4973-a038-ead1b3525a7c",
|
||||
"name": "formatted_tags",
|
||||
"type": "string",
|
||||
"value": "={{ $('Youtube Meta Generator').item.json.output.youtube_metadata.tags.join() }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "e75c1fe1-eb58-4fb1-bcc9-ed969eb62a99",
|
||||
"name": "Output Parser",
|
||||
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
|
||||
"position": [
|
||||
400,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"schemaType": "manual",
|
||||
"inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"video_title\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"video_description\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"youtube_metadata\": {\n\t\t\t\"type\": \"object\",\n\t\t\t\"properties\": {\n\t\t\t\t\"title\": {\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"description\": {\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"tags\": {\n\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"hashtags\": {\n\t\t\t\t\t\"type\": \"array\",\n\t\t\t\t\t\"items\": {\n\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"call_to_action\": {\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"additional_notes\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}\n"
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "91327309-8d6a-4e46-8516-726916acd3f4",
|
||||
"name": "Form",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
940,
|
||||
60
|
||||
],
|
||||
"webhookId": "6557e699-8774-475d-a1df-7b0b24e4cb3b",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "={{ $json.snippet.title }}",
|
||||
"completionMessage": "=Video is updated with Title : {{ $json.snippet.title }} and below is the video link\n{{ $('On form submission').item.json['Youtube Video Link'] }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3ac5dc27-ccb4-470e-b49c-95198bba91e0",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-260,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"color": 3,
|
||||
"width": 1435,
|
||||
"height": 736,
|
||||
"content": "##Youtube Meta Generator \n\nCustomize it for yoru own youtube channel\n\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"YouTube": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Form",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Format Tags": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "YouTube",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Output Parser": {
|
||||
"ai_outputParser": [
|
||||
[
|
||||
{
|
||||
"node": "Youtube Meta Generator",
|
||||
"type": "ai_outputParser",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Extract Video ID": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Format Tags",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Youtube Meta Generator",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Youtube Meta Generator",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Youtube Meta Generator": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Extract Video ID",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"syncbricks information": {
|
||||
"ai_tool": [
|
||||
[
|
||||
{
|
||||
"node": "Youtube Meta Generator",
|
||||
"type": "ai_tool",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
391
workflows/Form/0733_Form_Code_Create_Triggered.json
Normal file
391
workflows/Form/0733_Form_Code_Create_Triggered.json
Normal file
@@ -0,0 +1,391 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "d4d7965840e96e50a3e02959a8487c692901dfa8d5cc294134442c67ce1622d3",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "9252c041-d6b2-49fe-8edb-8d8cb8a1341d",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
240,
|
||||
0
|
||||
],
|
||||
"webhookId": "0c5c8b39-06a7-4d07-95be-b729d2a9eb6f",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Batch File Upload to Google Drive",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "file",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "folderName",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Use this form to upload multiple files to a specific Google Drive folder. Simply select your files and specify your target folder name. If the folder doesn't exist yet, we'll create it automatically for you. This streamlined process allows you to organize and store multiple files in one go, saving you time and effort."
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "e27712ac-238d-4b45-b842-a044dc40dccd",
|
||||
"name": "Get Folder Name",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
560,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "1b997842-86f3-4bce-b8d2-e8d73387dae1",
|
||||
"name": "folderName",
|
||||
"type": "string",
|
||||
"value": "={{ $json.folderName }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "555e761a-ea79-40eb-b36f-72fbcc642fda",
|
||||
"name": "Search specific folder",
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"position": [
|
||||
800,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"filter": {},
|
||||
"options": {},
|
||||
"resource": "fileFolder",
|
||||
"queryString": "=mimeType='application/vnd.google-apps.folder' and name = '{{ $json.folderName }}' and '<folderId>' in parents\n",
|
||||
"searchMethod": "query"
|
||||
},
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "2SIFnsVfdw9nx9I4",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
},
|
||||
"executeOnce": false,
|
||||
"typeVersion": 3,
|
||||
"alwaysOutputData": true
|
||||
},
|
||||
{
|
||||
"id": "2a92c031-44e5-4e07-89ff-058251c43027",
|
||||
"name": "Folder found ?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
1280,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"conditions": {
|
||||
"options": {
|
||||
"version": 2,
|
||||
"leftValue": "",
|
||||
"caseSensitive": true,
|
||||
"typeValidation": "strict"
|
||||
},
|
||||
"combinator": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"id": "11abd7e3-d90b-4bb1-a8ba-d3cbc4333d8f",
|
||||
"operator": {
|
||||
"type": "object",
|
||||
"operation": "notEmpty",
|
||||
"singleValue": true
|
||||
},
|
||||
"leftValue": "={{ $json }}",
|
||||
"rightValue": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "e413cdc8-8424-41d3-8791-e036392a16ac",
|
||||
"name": "Create Folder",
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"position": [
|
||||
1680,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"name": "={{ $('On form submission').item.json.folderName }}",
|
||||
"driveId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "My Drive"
|
||||
},
|
||||
"options": {},
|
||||
"folderId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "17sGS9HdmAtgpd5rC1sVuiIUGyw2hq9IY",
|
||||
"cachedResultUrl": "https://drive.google.com/drive/folders/17sGS9HdmAtgpd5rC1sVuiIUGyw2hq9IY",
|
||||
"cachedResultName": "n8n"
|
||||
},
|
||||
"resource": "folder"
|
||||
},
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "2SIFnsVfdw9nx9I4",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "aada549c-3bbd-453b-9d48-4ab25446d8ce",
|
||||
"name": "Upload Files",
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"position": [
|
||||
2180,
|
||||
-100
|
||||
],
|
||||
"parameters": {
|
||||
"name": "={{ $json.fileName }}",
|
||||
"driveId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "My Drive"
|
||||
},
|
||||
"options": {},
|
||||
"folderId": {
|
||||
"__rl": true,
|
||||
"mode": "id",
|
||||
"value": "={{ $('Search specific folder').item.json.id }}"
|
||||
},
|
||||
"inputDataFieldName": "=data"
|
||||
},
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "2SIFnsVfdw9nx9I4",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "7b4bcb6e-3b63-4243-8f38-a18f3d5d44f2",
|
||||
"name": "Prepare Files for Upload",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1920,
|
||||
-100
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": "let results = [];\nconst items = $(\"On form submission\").all()\n\nfor (item of items) {\n for (key of Object.keys(item.binary)) {\n results.push({\n json: {\n fileName: item.binary[key].fileName\n },\n binary: {\n data: item.binary[key],\n }\n });\n }\n}\n\nreturn results;"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "1d08ef78-68e7-4901-80fc-17923344fee3",
|
||||
"name": "Prepare Files for New Folder",
|
||||
"type": "n8n-nodes-base.code",
|
||||
"position": [
|
||||
1920,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"jsCode": "let results = [];\nconst items = $(\"On form submission\").all()\n\nfor (item of items) {\n for (key of Object.keys(item.binary)) {\n results.push({\n json: {\n fileName: item.binary[key].fileName\n },\n binary: {\n data: item.binary[key],\n }\n });\n }\n}\n\nreturn results;"
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "557d2c63-7bbb-4280-b16e-71c6d900973b",
|
||||
"name": "Upload to New Folder",
|
||||
"type": "n8n-nodes-base.googleDrive",
|
||||
"position": [
|
||||
2180,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"name": "={{ $json.fileName }}",
|
||||
"driveId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "My Drive"
|
||||
},
|
||||
"options": {},
|
||||
"folderId": {
|
||||
"__rl": true,
|
||||
"mode": "id",
|
||||
"value": "={{ $('Create Folder').item.json.id }}"
|
||||
},
|
||||
"inputDataFieldName": "=data"
|
||||
},
|
||||
"credentials": {
|
||||
"googleDriveOAuth2Api": {
|
||||
"id": "2SIFnsVfdw9nx9I4",
|
||||
"name": "Google Drive account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "e90ccfb0-cf21-45d2-860e-bc2049ed9682",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-400,
|
||||
-200
|
||||
],
|
||||
"parameters": {
|
||||
"color": 5,
|
||||
"width": 520,
|
||||
"height": 520,
|
||||
"content": "# 🗂️ Bulk File Upload to Google Drive with Folder Management\n\n## Overview\nThis workflow processes a form submission that accepts:\n- Multiple file uploads (any format)\n- Target folder name input\n\nThe workflow automatically:\n- Checks if the specified folder exists in Google Drive\n- Creates the folder if it doesn't exist\n- Uploads all files to the correct folder\n- Maintains original file names and structure\n\nPerfect for batch uploading files while keeping your Drive organized!\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "cd00c8a3-42e3-44f4-89b3-663da809346c",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1100,
|
||||
-440
|
||||
],
|
||||
"parameters": {
|
||||
"color": 5,
|
||||
"width": 460,
|
||||
"height": 380,
|
||||
"content": "## 🔄 Decision Point: Folder Check\nThe workflow splits into two paths based on folder existence:\n- ✅ TRUE: Use existing folder path\n- 🆕 FALSE: Create new folder path\n\n## 🗂️ Existing Folder Path (Upper)\n1. Prepare Files for Upload: Splits files for individual processing\n2. Upload Files: Uploads to existing folder maintaining structure\n\n## 📁 New Folder Path (Lower)\n1. Create Folder: Generates new folder in Drive\n2. Prepare Files for New Folder: Splits files for individual processing\n3. Upload to New Folder: Uploads to newly created folder"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "a0b1ff8a-3308-41da-bb4b-01b50cccc456",
|
||||
"name": "Sticky Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1920,
|
||||
-340
|
||||
],
|
||||
"parameters": {
|
||||
"color": 5,
|
||||
"width": 360,
|
||||
"height": 200,
|
||||
"content": "## ⚙️ File Processing Notes\n- All binary files are split individually for proper upload handling\n- Original file names and structure are preserved\n- Both paths ensure identical file organization\n\nalso see https://n8n.io/workflows/1621-split-out-binary-data/"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c16b2105-638d-4d48-b39d-ff8772375674",
|
||||
"name": "Sticky Note4",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
400,
|
||||
-340
|
||||
],
|
||||
"parameters": {
|
||||
"color": 5,
|
||||
"width": 660,
|
||||
"height": 280,
|
||||
"content": "## 🔍 Search Query Pattern\n\nThe following search pattern looks for a folder with the specified name in a particular parent folder:\nMake sure to replace <folderId>\n\n```javascript\nmimeType='application/vnd.google-apps.folder' and name = '{{ $json.folderName }}' and '<folderId>' in parents\n```\n\n**Important**: Marl Always Output Data so you can check also if nothing found."
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"Create Folder": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Prepare Files for New Folder",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Folder found ?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Prepare Files for Upload",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Create Folder",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get Folder Name": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Search specific folder",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get Folder Name",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Search specific folder": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Folder found ?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prepare Files for Upload": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Upload Files",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prepare Files for New Folder": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Upload to New Folder",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
321
workflows/Form/0805_Form_Html_Create_Triggered.json
Normal file
321
workflows/Form/0805_Form_Html_Create_Triggered.json
Normal file
@@ -0,0 +1,321 @@
|
||||
{
|
||||
"meta": {
|
||||
"instanceId": "b1f85eae352fde76d801a1a612661df6824cc2e68bfd6741e31305160a737e6e",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"nodes": [
|
||||
{
|
||||
"id": "a85eff80-4330-4bd8-acd9-9bf6e0b67c59",
|
||||
"name": "Get MediaMarkt Offers Website",
|
||||
"type": "n8n-nodes-brightdata.brightData",
|
||||
"position": [
|
||||
40,
|
||||
-160
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://www.mediamarkt.es/es/campaign/campanas-y-ofertas",
|
||||
"zone": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "web_unlocker1",
|
||||
"cachedResultName": "web_unlocker1"
|
||||
},
|
||||
"format": "json",
|
||||
"country": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "es",
|
||||
"cachedResultName": "es"
|
||||
},
|
||||
"requestOptions": {}
|
||||
},
|
||||
"credentials": {
|
||||
"brightdataApi": {
|
||||
"id": "jk945kIuAFAo9bcg",
|
||||
"name": "BrightData account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "d27b03e0-b0f1-4c76-b68e-d716391c71da",
|
||||
"name": "Create HTML for Email",
|
||||
"type": "n8n-nodes-document-generator.documentGenerator",
|
||||
"position": [
|
||||
60,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"template": "<br>\nThese are our recommended deals today:<br>\n<ul>\n{{#each items}}\n<li>{{category}}: <a href=\"https://www.bestbuy.com{{link}}\">{{name}}</a> for {{price}}€</li>\n{{/each}}\n</ul>\n<br>",
|
||||
"oneTemplate": true
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "d47ee04f-c1c5-4aac-a615-aa68f5a2d6cd",
|
||||
"name": "Extract items from results",
|
||||
"type": "n8n-nodes-base.splitOut",
|
||||
"position": [
|
||||
-140,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldToSplitOut": "message.content.results"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "34df63de-9b0d-4245-8f87-3654cab0c17e",
|
||||
"name": "Notify End User by Email",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
280,
|
||||
100
|
||||
],
|
||||
"webhookId": "626001db-5451-4225-bf98-cd74c3952754",
|
||||
"parameters": {
|
||||
"html": "=Hi!\n<br>\n{{ $json.text }}\n\nBest,\n<br>\nThe n8nhackers team!",
|
||||
"options": {},
|
||||
"subject": "Your last deals!",
|
||||
"toEmail": "={{ $('When User Completes Form').first().json.Email}}",
|
||||
"fromEmail": "deals@n8nhackers.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "z3kiLWNZTH4wQaGy",
|
||||
"name": "SMTP account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "fbbd7e95-d972-401a-9aca-8015a1acf553",
|
||||
"name": "Show Form Results Page",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
480,
|
||||
100
|
||||
],
|
||||
"webhookId": "a67843b4-3ab9-427b-8e52-dfc42831065d",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "Our recommended deals!",
|
||||
"completionMessage": "=We have sent {{ $('Extract items from results').all().length }} recommended deals to your email!"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e03ebc2b-db42-4a8d-8758-b3d988c4b943",
|
||||
"name": "Extract Body and Title from Website",
|
||||
"type": "n8n-nodes-base.html",
|
||||
"position": [
|
||||
240,
|
||||
-160
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"trimValues": true
|
||||
},
|
||||
"operation": "extractHtmlContent",
|
||||
"dataPropertyName": "body",
|
||||
"extractionValues": {
|
||||
"values": [
|
||||
{
|
||||
"key": "title",
|
||||
"cssSelector": "title"
|
||||
},
|
||||
{
|
||||
"key": "body",
|
||||
"cssSelector": "body"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "74b0dcd7-d833-452c-82fe-98a21bd39d12",
|
||||
"name": "Generate List of Deals by Category",
|
||||
"type": "@n8n/n8n-nodes-langchain.openAi",
|
||||
"position": [
|
||||
-520,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"modelId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini",
|
||||
"cachedResultName": "GPT-4O-MINI"
|
||||
},
|
||||
"options": {},
|
||||
"messages": {
|
||||
"values": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "Generate a list of recommended deals in json list. Classify items by category. Generate the next properties: name, description, price, link and category. All properties will be in a property called: results. Translate texts to english if required."
|
||||
},
|
||||
{
|
||||
"content": "=The input text is:\n{{ $json.body }}"
|
||||
},
|
||||
{
|
||||
"content": "=Categories to filter: {{ $('When User Completes Form').item.json.Category.join(',') }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"jsonOutput": true
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "oKzfvOwieOm4upQ2",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.8
|
||||
},
|
||||
{
|
||||
"id": "a1095cea-6adc-4cf9-93fe-3a67dc061276",
|
||||
"name": "When User Completes Form",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-180,
|
||||
-160
|
||||
],
|
||||
"webhookId": "33e8f7c3-82fb-4339-9c91-4b19aa6c14ba",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"path": "get-top-deals",
|
||||
"ignoreBots": true,
|
||||
"buttonLabel": "Get Deals"
|
||||
},
|
||||
"formTitle": "Top deals",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "Category",
|
||||
"multiselect": true,
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "Appliances"
|
||||
},
|
||||
{
|
||||
"option": "Cameras, CamCorders & Drones"
|
||||
},
|
||||
{
|
||||
"option": "Car Electronics "
|
||||
},
|
||||
{
|
||||
"option": "Cell Phones"
|
||||
},
|
||||
{
|
||||
"option": "Computers & Tablets"
|
||||
},
|
||||
{
|
||||
"option": "TV & Home Theater"
|
||||
},
|
||||
{
|
||||
"option": "Video Games"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "email",
|
||||
"fieldLabel": "Email",
|
||||
"placeholder": "Complete your email",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "This form returns top deals by your preferences in the same page.\n\nYou can schedule your future deals once per day at the end of this test."
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
}
|
||||
],
|
||||
"pinData": {},
|
||||
"connections": {
|
||||
"Create HTML for Email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Notify End User by Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Notify End User by Email": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Show Form Results Page",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"When User Completes Form": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Get MediaMarkt Offers Website",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Extract items from results": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create HTML for Email",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Get MediaMarkt Offers Website": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Extract Body and Title from Website",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Generate List of Deals by Category": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Extract items from results",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Extract Body and Title from Website": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Generate List of Deals by Category",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
423
workflows/Form/0890_Form_Stickynote_Send_Triggered.json
Normal file
423
workflows/Form/0890_Form_Stickynote_Send_Triggered.json
Normal file
@@ -0,0 +1,423 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "d681d557-cb02-4fb1-9871-bfae504992ca",
|
||||
"name": "HubSpot",
|
||||
"type": "n8n-nodes-base.hubspot",
|
||||
"notes": "Add meeting notes in the contact form",
|
||||
"position": [
|
||||
260,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"type": "meeting",
|
||||
"metadata": {
|
||||
"body": "={{ $('Summarization').item.json.response.text }}",
|
||||
"title": "New meeting"
|
||||
},
|
||||
"resource": "engagement",
|
||||
"authentication": "oAuth2",
|
||||
"additionalFields": {
|
||||
"associations": {
|
||||
"contactIds": "={{ $json.properties.hs_object_id }}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"hubspotOAuth2Api": {
|
||||
"id": "JxzF93M0SJ00jDD9",
|
||||
"name": "HubSpot account"
|
||||
}
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "e4849449-3464-4deb-a9be-07b3d0bb2d56",
|
||||
"name": "HubSpot1",
|
||||
"type": "n8n-nodes-base.hubspot",
|
||||
"notes": "Search for the id",
|
||||
"position": [
|
||||
20,
|
||||
40
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "search",
|
||||
"authentication": "oAuth2",
|
||||
"filterGroupsUi": {
|
||||
"filterGroupsValues": [
|
||||
{
|
||||
"filtersUi": {
|
||||
"filterValues": [
|
||||
{
|
||||
"value": "={{ $('Enter Client Transcript').item.json['client email'] }}",
|
||||
"propertyName": "email|string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"hubspotOAuth2Api": {
|
||||
"id": "JxzF93M0SJ00jDD9",
|
||||
"name": "HubSpot account"
|
||||
}
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "16ac22b7-62fd-429c-b766-5ffe503a3231",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-60,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 540,
|
||||
"height": 280,
|
||||
"content": "## Save the data to Hubspot\n- Search for the client ID based on his email\n- Upload the summarized conversation as meeting notes"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "4f51bfc1-8270-4e04-b395-f4ceed9129a4",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-60,
|
||||
220
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 540,
|
||||
"height": 520,
|
||||
"content": "## Router agent\nMakes decisions with the help of an LLM \n- Analyzes the content\n- Decides which part of the transcript is relevant to the different departments\n- Sends the emails to the departments\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "96142f55-cbb4-47e9-a44e-b4f783eeeeb5",
|
||||
"name": "Router Agent",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"notes": "Route the client feedback topics to the relevant department ",
|
||||
"position": [
|
||||
20,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{ $('Enter Client Transcript').item.json['client conversation'] }}",
|
||||
"options": {
|
||||
"systemMessage": "=You are provided with some client-company conversation and should decide who has to be informed about the feedback. Always only inform one person. Those are your options: \n- It's about a product, send an email to {{ $('Define routing emails here').item.json['Product Email'] }}\n- It's about an invoicing problem, send an email to {{ $('Define routing emails here').item.json['Administrative Email'] }}\n- It's related to a problem with the product, send an email to {{ $('Define routing emails here').item.json['Support Email'] }}\n- It's commercial related, send an email to {{ $('Define routing emails here').item.json['Commercial Email'] }}\n\nAdd the email of the person (\"{{ $('Enter Client Transcript').item.json['client email'] }}\") at the beginning of the text preceded by \"FROM CLIENT: \"\nUse the Mailjet tool to inform each of the most related department. Provide mailjet with a subject, an email, and the email body formated as html which is the client conversation itself."
|
||||
},
|
||||
"promptType": "define"
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 1.8
|
||||
},
|
||||
{
|
||||
"id": "0485667e-befa-4b69-998f-26e1b8a9f67f",
|
||||
"name": "Summarization",
|
||||
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
|
||||
"notes": "The transcript is summarized",
|
||||
"position": [
|
||||
-360,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"summarizationMethodAndPrompts": {
|
||||
"values": {
|
||||
"prompt": "=Summarize the following Converstaion in 2-3 sentences:\n\n\" {{ $json['client conversation'] }}\"\n\nJust output the summarized conversation and nothing else. Use the same language as the input",
|
||||
"summarizationMethod": "stuff"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 2,
|
||||
"alwaysOutputData": false
|
||||
},
|
||||
{
|
||||
"id": "bb2826b5-18ec-4df7-990d-7fe99df759c8",
|
||||
"name": "Enter Client Transcript",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"notes": "The transcript can come from fireflies or Team etc.",
|
||||
"position": [
|
||||
-800,
|
||||
200
|
||||
],
|
||||
"webhookId": "4ba66bc9-8200-4b29-9d81-aaaca2ca8e0a",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"appendAttribution": false
|
||||
},
|
||||
"formTitle": "Automate Client issue",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "email",
|
||||
"fieldLabel": "client email",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "client conversation",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "4ec42125-16dd-4c05-8816-3f3d986335ac",
|
||||
"name": "Form",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
360,
|
||||
420
|
||||
],
|
||||
"webhookId": "938c1d15-f510-4b66-abac-dca5ff89461d",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "Ouput",
|
||||
"completionMessage": "={{ $json.output }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "5bdd3903-06f3-4c21-bc57-7127cfc6e433",
|
||||
"name": "OpenAI Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
-272,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "1IOLtYX7aTspCAN8",
|
||||
"name": "OpenAI Pollup"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "1abb54f8-0f65-4280-8b35-4dc7c3b1bb07",
|
||||
"name": "Define routing emails here",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
-580,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "099d5326-3452-47b8-9dc0-acc0e6fd951e",
|
||||
"name": "Support Email",
|
||||
"type": "string",
|
||||
"value": "support@pollup.net"
|
||||
},
|
||||
{
|
||||
"id": "4ed84290-dbf7-47f7-8693-4f95e0c2fd7e",
|
||||
"name": "Administrative Email",
|
||||
"type": "string",
|
||||
"value": "admin@pollup.net"
|
||||
},
|
||||
{
|
||||
"id": "c39edf1f-b8e0-48ca-929c-294bbac52837",
|
||||
"name": "Product Email",
|
||||
"type": "string",
|
||||
"value": "product@pollup.net"
|
||||
},
|
||||
{
|
||||
"id": "614d4a5c-c9f2-4d82-bfcb-cfdcc8a4b07d",
|
||||
"name": "Commercial Email",
|
||||
"type": "string",
|
||||
"value": "commercial@pollup.net"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "c2d345e2-ce32-4337-91d5-ae8bf54e3d25",
|
||||
"name": "Gmail",
|
||||
"type": "n8n-nodes-base.gmailTool",
|
||||
"position": [
|
||||
180,
|
||||
640
|
||||
],
|
||||
"webhookId": "ea898d49-e017-441c-bfe0-7a966435a570",
|
||||
"parameters": {
|
||||
"sendTo": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}",
|
||||
"message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
|
||||
"options": {
|
||||
"appendAttribution": false
|
||||
},
|
||||
"subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "DLjspol9TLgpGaXa",
|
||||
"name": "Gmail account 2"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "11210b0c-c33d-4c40-b20c-a8d3a1761863",
|
||||
"name": "Sticky Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-660,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 260,
|
||||
"height": 260,
|
||||
"content": "## Set the emails HERE\nFor each responsible in your company."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "0d2e217d-5c3a-4fdb-a60e-091a50de553b",
|
||||
"name": "Sticky Note7",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-860,
|
||||
-120
|
||||
],
|
||||
"parameters": {
|
||||
"width": 460,
|
||||
"height": 200,
|
||||
"content": "## Contact me\n- If you need any modification to this workflow\n- if you need some help with this workflow\n- Or if you need any workflow in n8n, Make, or Langchain / Langgraph\n\nWrite to me: [thomas@pollup.net](mailto:thomas@pollup.net)"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e7e40c88-374b-49d4-8c66-b8543a9376ea",
|
||||
"name": "Sticky Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-860,
|
||||
100
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 180,
|
||||
"height": 260,
|
||||
"content": "## Starting form\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Gmail": {
|
||||
"ai_tool": [
|
||||
[
|
||||
{
|
||||
"node": "Router Agent",
|
||||
"type": "ai_tool",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"HubSpot1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "HubSpot",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Router Agent": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Form",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Summarization": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Router Agent",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "HubSpot1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Summarization",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Router Agent",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Enter Client Transcript": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Define routing emails here",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Define routing emails here": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Summarization",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
188
workflows/Form/1316_Form_Stickynote_Automation_Webhook.json
Normal file
188
workflows/Form/1316_Form_Stickynote_Automation_Webhook.json
Normal file
@@ -0,0 +1,188 @@
|
||||
{
|
||||
"id": "AqWXpCre4fsPEkAH",
|
||||
"meta": {
|
||||
"instanceId": "7dfa146768a036d27a67d125f90ea637bfb301bd4fd25d0086548016421d44bd"
|
||||
},
|
||||
"name": "Simple OpenAI Image Generator",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "526c24bc-3bc5-48c3-ae1e-5b0c0352d07f",
|
||||
"name": "Convert to File",
|
||||
"type": "n8n-nodes-base.convertToFile",
|
||||
"position": [
|
||||
440,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "toBinary",
|
||||
"sourceProperty": "data[0].b64_json"
|
||||
},
|
||||
"typeVersion": 1.1
|
||||
},
|
||||
{
|
||||
"id": "20fdcc11-5e8a-4788-b3a3-e556996b59f7",
|
||||
"name": "Prompt and options",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"webhookId": "b749da3f-836f-4996-a8ee-bc26f8677582",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "OpenAI Image Generator",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Prompt",
|
||||
"placeholder": "Snow-covered mountain village in the Alps",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "Image size",
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "1024x1024"
|
||||
},
|
||||
{
|
||||
"option": "1024x1536"
|
||||
},
|
||||
{
|
||||
"option": "1536x1024"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "eb220b1f-2091-492a-931f-1f2e344b32a6",
|
||||
"name": "OpenAI Image Generation",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
220,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.openai.com/v1/images/generations",
|
||||
"method": "POST",
|
||||
"options": {},
|
||||
"sendBody": true,
|
||||
"sendHeaders": true,
|
||||
"authentication": "predefinedCredentialType",
|
||||
"bodyParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "model",
|
||||
"value": "gpt-image-1"
|
||||
},
|
||||
{
|
||||
"name": "prompt",
|
||||
"value": "={{ $json.Prompt }}"
|
||||
},
|
||||
{
|
||||
"name": "n",
|
||||
"value": "={{ 1 }}"
|
||||
},
|
||||
{
|
||||
"name": "size",
|
||||
"value": "={{ $json['Image size'] }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"nodeCredentialType": "openAiApi"
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "x1byAha0t8ltLIeW",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.2
|
||||
},
|
||||
{
|
||||
"id": "86718927-490e-4d97-9b0c-1118e2ccdcb6",
|
||||
"name": "Return to form",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
660,
|
||||
0
|
||||
],
|
||||
"webhookId": "745af4a8-ab3c-4267-aa8d-a8998cc534e5",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": "Result"
|
||||
},
|
||||
"operation": "completion",
|
||||
"respondWith": "returnBinary",
|
||||
"completionTitle": "Result",
|
||||
"completionMessage": "Here is the created image:"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "a069f63f-139e-4157-a44a-448224f2c119",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-600,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"width": 500,
|
||||
"height": 620,
|
||||
"content": "# Welcome to my Simple OpenAI Image Generator Workflow!\n\nThis workflow creates an image with the new OpenAI image model \"GPT-Image-1\" based on a form input.\n\n## This workflow has the following sequence:\n\n1. Form trigger (image prompt and image size input)\n2. Generate the Image via OpenAI API.\n3. Return the image to the input form for download.\n\n## The following accesses are required for the workflow:\n- OpenAI API access: [Documentation](https://docs.n8n.io/integrations/builtin/credentials/openai/)\n\nYou can contact me via LinkedIn, if you have any questions: https://www.linkedin.com/in/friedemann-schuetz"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "d2376df0-9c26-4723-9e97-07fc226e7a53",
|
||||
"connections": {
|
||||
"Convert to File": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Return to form",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prompt and options": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "OpenAI Image Generation",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Image Generation": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Convert to File",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
182
workflows/Form/1348_Form_Automation_Triggered.json
Normal file
182
workflows/Form/1348_Form_Automation_Triggered.json
Normal file
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"id": "B37wvB0tdKgjuabw",
|
||||
"meta": {
|
||||
"instanceId": "98bf0d6aef1dd8b7a752798121440fb171bf7686b95727fd617f43452393daa3",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "Image to license plate number",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "a656334a-0135-4d93-a6df-ca97222c9753",
|
||||
"name": "Basic LLM Chain",
|
||||
"type": "@n8n/n8n-nodes-langchain.chainLlm",
|
||||
"position": [
|
||||
-140,
|
||||
-380
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{ $json.prompt }}",
|
||||
"messages": {
|
||||
"messageValues": [
|
||||
{
|
||||
"type": "HumanMessagePromptTemplate",
|
||||
"messageType": "imageBinary",
|
||||
"binaryImageDataKey": "Image"
|
||||
}
|
||||
]
|
||||
},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.5
|
||||
},
|
||||
{
|
||||
"id": "41a90592-2a91-40ff-abf4-3a795733d521",
|
||||
"name": "FormResultPage",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
220,
|
||||
-380
|
||||
],
|
||||
"webhookId": "218822fe-5eb9-4451-ae8a-14b8f484fdde",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": ""
|
||||
},
|
||||
"operation": "completion",
|
||||
"completionTitle": "Extracted information:",
|
||||
"completionMessage": "={{ $json.text }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c23b95d9-b7a2-4e9e-a019-5724a9662abd",
|
||||
"name": "OpenRouter LLM",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
|
||||
"position": [
|
||||
-60,
|
||||
-180
|
||||
],
|
||||
"parameters": {
|
||||
"model": "={{ $json.model }}",
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openRouterApi": {
|
||||
"id": "bs7tPtvgDTJNGAFJ",
|
||||
"name": "OpenRouter account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "8298cd51-8c47-4bc4-af78-2c216207ef76",
|
||||
"name": "Settings",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
-340,
|
||||
-380
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "1b8381dc-5b9a-42a2-8a67-cc706b433180",
|
||||
"name": "model",
|
||||
"type": "string",
|
||||
"value": "openai/gpt-4o"
|
||||
},
|
||||
{
|
||||
"id": "72aec130-ab56-4e61-b60b-9a31dd8d02e6",
|
||||
"name": "prompt",
|
||||
"type": "string",
|
||||
"value": "Extract the number of the license plate on the front-most car depicted in the attached image and return only the extracted characters without any other text or structure."
|
||||
}
|
||||
]
|
||||
},
|
||||
"includeOtherFields": true
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "fae79fc9-b510-44a4-beec-4dc26dc2a13a",
|
||||
"name": "FromTrigger",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-560,
|
||||
-380
|
||||
],
|
||||
"webhookId": "41e3f34b-7abe-4c64-95cd-2942503d5e98",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Analyse image",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "Image",
|
||||
"requiredField": true,
|
||||
"acceptFileTypes": ".jpg, .png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "To analyse an image, upload it here."
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
}
|
||||
],
|
||||
"active": true,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "5b9c53b9-3998-4676-999d-1ba117bf6695",
|
||||
"connections": {
|
||||
"Settings": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Basic LLM Chain",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"FromTrigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Settings",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenRouter LLM": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Basic LLM Chain",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Basic LLM Chain": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FormResultPage",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
131
workflows/Form/1371_Form_S3_Import_Triggered.json
Normal file
131
workflows/Form/1371_Form_S3_Import_Triggered.json
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"id": "CYv2u2izrgZWk5bK",
|
||||
"meta": {
|
||||
"instanceId": "b77b374d91a001765a8bf2832badc1f8fcc5407c99c4c6f3f68d6413d663ef83",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "DigialOceanUpload",
|
||||
"tags": [
|
||||
{
|
||||
"id": "6YbZxCb4ODJ2Rmva",
|
||||
"name": "admin",
|
||||
"createdAt": "2024-12-01T14:18:53.184Z",
|
||||
"updatedAt": "2024-12-01T14:18:53.184Z"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "dedd8475-1f90-4c6e-a7b3-d4246648fcec",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
200,
|
||||
340
|
||||
],
|
||||
"webhookId": "f506f7cd-dded-491a-b56e-fb4e0eade910",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Upload File",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "File to Upload",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Upload the file to the public storage area"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "bbaed371-3860-4370-8103-16b7b955cd7e",
|
||||
"name": "S3",
|
||||
"type": "n8n-nodes-base.s3",
|
||||
"position": [
|
||||
360,
|
||||
340
|
||||
],
|
||||
"parameters": {
|
||||
"fileName": "={{ $json['File to Upload'][0].filename }}",
|
||||
"operation": "upload",
|
||||
"bucketName": "dailyai",
|
||||
"additionalFields": {
|
||||
"acl": "publicRead"
|
||||
},
|
||||
"binaryPropertyName": "File_to_Upload"
|
||||
},
|
||||
"credentials": {
|
||||
"s3": {
|
||||
"id": "FHy0lHKFlTe0nVPv",
|
||||
"name": "Digital Ocean Spaces"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "da21e508-a62f-49dd-ac1c-6ed4b9a307a6",
|
||||
"name": "Form",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
540,
|
||||
340
|
||||
],
|
||||
"webhookId": "cea10f93-617e-4762-9c40-582a8d159240",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "Your file path is below!",
|
||||
"completionMessage": "=https://dailyai.nyc3.cdn.digitaloceanspaces.com/{{ $('On form submission').first().json['File to Upload'][0].filename }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": true,
|
||||
"pinData": {
|
||||
"On form submission": [
|
||||
{
|
||||
"json": {
|
||||
"formMode": "production",
|
||||
"submittedAt": "2024-12-19T13:00:27.445-05:00",
|
||||
"File to Upload": [
|
||||
{
|
||||
"size": 986986,
|
||||
"filename": "prompt_booster.png",
|
||||
"mimetype": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "e7f5d777-36c3-4601-8eef-dc1ab68cf67e",
|
||||
"connections": {
|
||||
"S3": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Form",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "S3",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
331
workflows/Form/1420_Form_Extractfromfile_Automate_Triggered.json
Normal file
331
workflows/Form/1420_Form_Extractfromfile_Automate_Triggered.json
Normal file
@@ -0,0 +1,331 @@
|
||||
{
|
||||
"id": "ES4TSw9HacxoNhLZ",
|
||||
"meta": {
|
||||
"instanceId": "5219bc76ea806909b58e13e2acac1c19192522e70dc3c90467e1800e94864105",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "AI CV Screening Workflow",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "e77fbc32-5ee9-49b4-93d5-f2ffda134b08",
|
||||
"name": "Google Gemini Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
|
||||
"position": [
|
||||
1230,
|
||||
530
|
||||
],
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"googlePalmApi": {
|
||||
"id": "UcdfdADI6w9nkgg5",
|
||||
"name": "Google Gemini(PaLM) Api account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9e24167f-cac6-4b98-95da-30065510d79a",
|
||||
"name": "Confirmation of CV Submission",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
1780,
|
||||
460
|
||||
],
|
||||
"webhookId": "954756dc-2946-4b78-b208-06f3df612ab5",
|
||||
"parameters": {
|
||||
"sendTo": "={{ $('Application Form').item.json['E-mail'] }}",
|
||||
"message": "=Dear {{ $('Application Form').item.json['Full Name'] }}, \n\nThank you for submitting your CV. We have received it and will review it shortly. \n\nBest regards,\nMediusware",
|
||||
"options": {},
|
||||
"subject": "We Have Received Your CV"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "taFlf0vD5S4QlOKM",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "ff49d370-b4eb-4426-b396-763455e647e7",
|
||||
"name": "Inform HR New CV Received",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
1760,
|
||||
200
|
||||
],
|
||||
"webhookId": "e969a9f5-631b-4719-a4f6-87e6063cef6a",
|
||||
"parameters": {
|
||||
"sendTo": "sarfaraz@mediusaware.com",
|
||||
"message": "=Hello HR,\n\nA new CV has been successfully received in our system. Please review the candidate's details at your earliest convenience.\n\nCandidate Name: {{ $('Application Form').item.json['Full Name'] }}\nCandidate E-mail: {{ $('Application Form').item.json['E-mail'] }}\nCandidate Linkedin: {{ $('Application Form').item.json.Linkedin }}\nCandidate Expectation: {{ $('Application Form').item.json.Expectation }}\nCandidate AI Rating: {{ $('Using AI Analysis & Rating').item.json.text }}\n\nThank you for your attention.\n\nBest regards,\nAutomated CV Screening",
|
||||
"options": {},
|
||||
"subject": "New Candidate CV Awaiting Review"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "taFlf0vD5S4QlOKM",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "8479fa4c-10bc-4914-896d-f5b00d063fa8",
|
||||
"name": "Using AI Analysis & Rating",
|
||||
"type": "@n8n/n8n-nodes-langchain.chainLlm",
|
||||
"position": [
|
||||
1320,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{ $json.text }}",
|
||||
"messages": {
|
||||
"messageValues": [
|
||||
{
|
||||
"message": "Rule 1 : Do not exceed maximum of 75 words. As an AI with advanced capabilities in talent acquisition and human resources, your task is to conduct a thorough and intricate analysis of a candidate's resume or CV against a specific job description. You will assist hiring professionals in discerning the alignment between the candidate's skills, experience, qualifications, and the requirements of the job. Your expert insights will equip employers with a lucid understanding of the candidate's suitability for the role. Very important for you to write output text in ${output_language} language. It's VERY IMPORTANT for me for text be in ${output_language} or I will be fired. Your analysis should follow this structured format: 1. **Compatibility Rating**: Propose an overall compatibility rating on a scale from 1 (not compatible) to 10 (perfect fit). Support your rating by elucidating the rationale behind it. 2. **Recommendation**: Informed by your analysis and compatibility rating, offer a recommendation on whether the employer should consider this candidate for an interview. Furnish a well-argued explanation for your recommendation. Remember, your analysis should be comprehensive, professional, and actionable. It should equip an employer with a vivid understanding of the candidate's suitability for the role. This isn't merely about ticking off boxes; it's about illustrating a comprehensive picture of how well the candidate might fit into the role and complement the existing team. Here is your task: Analyze the compatibility of the following candidate's resume with the provided job description. Endeavor to apply your deep understanding of talent evaluation to provide the most insightful analysis. Job description: \"Software Engineer\" Resume: ${resume}\nNo Markdown Please, only plain text. Please no double '**'"
|
||||
}
|
||||
]
|
||||
},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.5
|
||||
},
|
||||
{
|
||||
"id": "da0fd18b-2420-471e-b930-9aabc45bc2ca",
|
||||
"name": "Convert Binary to Json",
|
||||
"type": "n8n-nodes-base.extractFromFile",
|
||||
"position": [
|
||||
1080,
|
||||
220
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "pdf",
|
||||
"binaryPropertyName": "Your_Resume_CV"
|
||||
},
|
||||
"retryOnFail": false,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "bc5480c1-d9c2-414b-8cd4-0b3e49d4dde9",
|
||||
"name": "Application Form",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
820,
|
||||
380
|
||||
],
|
||||
"webhookId": "0cd422d3-e69f-4ec0-92ab-05362808c4da",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Application for Software Engineer Position",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Full Name",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "E-mail",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Expectation",
|
||||
"placeholder": "2000-3000$",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Linkedin",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "Your Resume/CV",
|
||||
"requiredField": true,
|
||||
"acceptFileTypes": ".pdf"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "d2dfbf1e-8d88-49e6-940d-e1717de97b30",
|
||||
"name": "Candidate Lists",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1540,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"CV": "={{ $('Application Form').item.json['Your Resume/CV'][0].filename }}",
|
||||
"E-mail": "={{ $('Application Form').item.json['E-mail'] }}",
|
||||
"Linkedin": "={{ $('Application Form').item.json.Linkedin }}",
|
||||
"AI Rating": "={{ $json.text }}",
|
||||
"Full Name": "={{ $('Application Form').item.json['Full Name'] }}",
|
||||
"Expectation": "={{ $('Application Form').item.json.Expectation }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "CV",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CV",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Full Name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Full Name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "E-mail",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "E-mail",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Expectation",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Expectation",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Linkedin",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Linkedin",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "AI Rating",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "AI Rating",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": []
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y4FFMXTuznSf2wWUraK57eBJnu4MVtgkxrGYRzRMwDQ/edit#gid=0",
|
||||
"cachedResultName": "পত্রক1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1y4FFMXTuznSf2wWUraK57eBJnu4MVtgkxrGYRzRMwDQ",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y4FFMXTuznSf2wWUraK57eBJnu4MVtgkxrGYRzRMwDQ/edit?usp=drivesdk",
|
||||
"cachedResultName": "CV of Software Engineers"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "YdlTTXiu8194dEFE",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
}
|
||||
],
|
||||
"active": true,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "2036fff4-ab9c-4981-a8b4-44be4654630d",
|
||||
"connections": {
|
||||
"Candidate Lists": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Inform HR New CV Received",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Application Form": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Convert Binary to Json",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Convert Binary to Json": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Using AI Analysis & Rating",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Gemini Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Using AI Analysis & Rating",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Inform HR New CV Received": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Confirmation of CV Submission",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Using AI Analysis & Rating": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Candidate Lists",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
182
workflows/Form/1441_Form_Automation_Triggered.json
Normal file
182
workflows/Form/1441_Form_Automation_Triggered.json
Normal file
@@ -0,0 +1,182 @@
|
||||
{
|
||||
"id": "B37wvB0tdKgjuabw",
|
||||
"meta": {
|
||||
"instanceId": "98bf0d6aef1dd8b7a752798121440fb171bf7686b95727fd617f43452393daa3",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "Image to license plate number",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "a656334a-0135-4d93-a6df-ca97222c9753",
|
||||
"name": "Basic LLM Chain",
|
||||
"type": "@n8n/n8n-nodes-langchain.chainLlm",
|
||||
"position": [
|
||||
-140,
|
||||
-380
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{ $json.prompt }}",
|
||||
"messages": {
|
||||
"messageValues": [
|
||||
{
|
||||
"type": "HumanMessagePromptTemplate",
|
||||
"messageType": "imageBinary",
|
||||
"binaryImageDataKey": "Image"
|
||||
}
|
||||
]
|
||||
},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.5
|
||||
},
|
||||
{
|
||||
"id": "41a90592-2a91-40ff-abf4-3a795733d521",
|
||||
"name": "FormResultPage",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
220,
|
||||
-380
|
||||
],
|
||||
"webhookId": "218822fe-5eb9-4451-ae8a-14b8f484fdde",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"formTitle": ""
|
||||
},
|
||||
"operation": "completion",
|
||||
"completionTitle": "Extracted information:",
|
||||
"completionMessage": "={{ $json.text }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c23b95d9-b7a2-4e9e-a019-5724a9662abd",
|
||||
"name": "OpenRouter LLM",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
|
||||
"position": [
|
||||
-60,
|
||||
-180
|
||||
],
|
||||
"parameters": {
|
||||
"model": "={{ $json.model }}",
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openRouterApi": {
|
||||
"id": "bs7tPtvgDTJNGAFJ",
|
||||
"name": "OpenRouter account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "8298cd51-8c47-4bc4-af78-2c216207ef76",
|
||||
"name": "Settings",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
-340,
|
||||
-380
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "1b8381dc-5b9a-42a2-8a67-cc706b433180",
|
||||
"name": "model",
|
||||
"type": "string",
|
||||
"value": "openai/gpt-4o"
|
||||
},
|
||||
{
|
||||
"id": "72aec130-ab56-4e61-b60b-9a31dd8d02e6",
|
||||
"name": "prompt",
|
||||
"type": "string",
|
||||
"value": "Extract the number of the license plate on the front-most car depicted in the attached image and return only the extracted characters without any other text or structure."
|
||||
}
|
||||
]
|
||||
},
|
||||
"includeOtherFields": true
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "fae79fc9-b510-44a4-beec-4dc26dc2a13a",
|
||||
"name": "FromTrigger",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-560,
|
||||
-380
|
||||
],
|
||||
"webhookId": "41e3f34b-7abe-4c64-95cd-2942503d5e98",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Analyse image",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "Image",
|
||||
"requiredField": true,
|
||||
"acceptFileTypes": ".jpg, .png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "To analyse an image, upload it here."
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
}
|
||||
],
|
||||
"active": true,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "5b9c53b9-3998-4676-999d-1ba117bf6695",
|
||||
"connections": {
|
||||
"Settings": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Basic LLM Chain",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"FromTrigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Settings",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenRouter LLM": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Basic LLM Chain",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Basic LLM Chain": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "FormResultPage",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
898
workflows/Form/1537_Form_GoogleSheets_Automation_Triggered.json
Normal file
898
workflows/Form/1537_Form_GoogleSheets_Automation_Triggered.json
Normal file
@@ -0,0 +1,898 @@
|
||||
{
|
||||
"id": "LGpVLWPpNZSt9ISM",
|
||||
"meta": {
|
||||
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "Contact Form Text Classifier for eCommerce",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "13175d48-c3a6-4ca6-afed-b70f40289f38",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-480,
|
||||
-320
|
||||
],
|
||||
"webhookId": "8e10c8ca-895c-4274-ba95-0d646b8bda4e",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Contacts",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Name",
|
||||
"placeholder": "Name",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Email",
|
||||
"placeholder": "Email",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "Message",
|
||||
"placeholder": "Message",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "Basic Contact Form"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "7b352c9f-5d2e-46ca-9499-594063167e9a",
|
||||
"name": "Text Classifier",
|
||||
"type": "@n8n/n8n-nodes-langchain.textClassifier",
|
||||
"position": [
|
||||
-160,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"fallback": "other",
|
||||
"systemPromptTemplate": "=Please classify the text provided by the user into one of the following categories: {categories}, and use the provided formatting instructions below. Don't explain, and only output the json with the selected {categories}."
|
||||
},
|
||||
"inputText": "={{ $json.Message }}",
|
||||
"categories": {
|
||||
"categories": [
|
||||
{
|
||||
"category": "Request Quote",
|
||||
"description": "Request for quote"
|
||||
},
|
||||
{
|
||||
"category": "Product info",
|
||||
"description": "General information about a product"
|
||||
},
|
||||
{
|
||||
"category": "General problem",
|
||||
"description": "General problems about a product"
|
||||
},
|
||||
{
|
||||
"category": "Order",
|
||||
"description": "Information about an order placed"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "efef4c71-5f56-44b0-a613-9fa888e495b8",
|
||||
"name": "OpenAI",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
-220,
|
||||
-100
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini",
|
||||
"cachedResultName": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "CDX6QM4gLYanh0P4",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "83f0d528-884c-4701-8fdd-dc07c05fafb5",
|
||||
"name": "Prod. Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-540
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Product info",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "88486500-dcea-4db9-9ffd-f55193eaa83d",
|
||||
"name": "Quote Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-780
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Quote",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "f6a63c4f-ee2e-42f1-a12c-b1fc6cf48f94",
|
||||
"name": "Gen. Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] General",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "04a3e144-af75-4a95-819f-d5f1d4591b67",
|
||||
"name": "Order Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Order info",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "3767e3c7-b792-4b0d-a1f2-fc068310cb11",
|
||||
"name": "Other Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Other",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "c411a82d-0b86-49da-a11f-47ec79f9f7ff",
|
||||
"name": "Quote DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-780
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "c14008fb-8932-44ad-88ef-42f6d4029fb1",
|
||||
"name": "Prod DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-540
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "f2e02c07-7218-4d08-a816-1ce2de289312",
|
||||
"name": "General DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "d6ee5c05-d966-47c1-a7ec-df721f77c5d0",
|
||||
"name": "Order DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "b4f344bd-a5c4-4977-af96-edbab85b49d0",
|
||||
"name": "Other DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "99872f49-85c3-47a0-b0ea-10ebbdbb67f5",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-480,
|
||||
-680
|
||||
],
|
||||
"parameters": {
|
||||
"width": 580,
|
||||
"height": 280,
|
||||
"content": "## Important notes\n\nThis very simple workflow is ideal for eCommerce businesses or customer support teams looking to automate and streamline the handling of contact form submissions.\n\n- It is possible to hook any external form such as CF7 for Wordpress through a webhook\n- It is possible to send the email through other providers by replacing them with the relative nodes (Gmail, Outlook....)\n- It is possible to change the collection database with other tools"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "649d6a6a-a2a1-49f6-b63a-6def1a8831f1",
|
||||
"connections": {
|
||||
"OpenAI": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Text Classifier",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Gen. Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "General DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Order Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Order DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Other Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Other DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prod. Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Prod DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Quote Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quote DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Text Classifier": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quote Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Prod. Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[],
|
||||
[
|
||||
{
|
||||
"node": "Gen. Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Order Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Other Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Text Classifier",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
898
workflows/Form/1554_Form_GoogleSheets_Automation_Triggered.json
Normal file
898
workflows/Form/1554_Form_GoogleSheets_Automation_Triggered.json
Normal file
@@ -0,0 +1,898 @@
|
||||
{
|
||||
"id": "LGpVLWPpNZSt9ISM",
|
||||
"meta": {
|
||||
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "Contact Form Text Classifier for eCommerce",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "13175d48-c3a6-4ca6-afed-b70f40289f38",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-480,
|
||||
-320
|
||||
],
|
||||
"webhookId": "8e10c8ca-895c-4274-ba95-0d646b8bda4e",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Contacts",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Name",
|
||||
"placeholder": "Name",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Email",
|
||||
"placeholder": "Email",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "Message",
|
||||
"placeholder": "Message",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "Basic Contact Form"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "7b352c9f-5d2e-46ca-9499-594063167e9a",
|
||||
"name": "Text Classifier",
|
||||
"type": "@n8n/n8n-nodes-langchain.textClassifier",
|
||||
"position": [
|
||||
-160,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"options": {
|
||||
"fallback": "other",
|
||||
"systemPromptTemplate": "=Please classify the text provided by the user into one of the following categories: {categories}, and use the provided formatting instructions below. Don't explain, and only output the json with the selected {categories}."
|
||||
},
|
||||
"inputText": "={{ $json.Message }}",
|
||||
"categories": {
|
||||
"categories": [
|
||||
{
|
||||
"category": "Request Quote",
|
||||
"description": "Request for quote"
|
||||
},
|
||||
{
|
||||
"category": "Product info",
|
||||
"description": "General information about a product"
|
||||
},
|
||||
{
|
||||
"category": "General problem",
|
||||
"description": "General problems about a product"
|
||||
},
|
||||
{
|
||||
"category": "Order",
|
||||
"description": "Information about an order placed"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "efef4c71-5f56-44b0-a613-9fa888e495b8",
|
||||
"name": "OpenAI",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
-220,
|
||||
-100
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini",
|
||||
"cachedResultName": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "CDX6QM4gLYanh0P4",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "83f0d528-884c-4701-8fdd-dc07c05fafb5",
|
||||
"name": "Prod. Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-540
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Product info",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "88486500-dcea-4db9-9ffd-f55193eaa83d",
|
||||
"name": "Quote Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-780
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Quote",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "f6a63c4f-ee2e-42f1-a12c-b1fc6cf48f94",
|
||||
"name": "Gen. Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] General",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "04a3e144-af75-4a95-819f-d5f1d4591b67",
|
||||
"name": "Order Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Order info",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "3767e3c7-b792-4b0d-a1f2-fc068310cb11",
|
||||
"name": "Other Dep.",
|
||||
"type": "n8n-nodes-base.emailSend",
|
||||
"position": [
|
||||
320,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"html": "=Name: {{ $json.Name }}\nEmail: {{ $json.Email }}\n\nMessage:\n{{ $json.Message }}\n\nTipo prodotto: {{ $json[\"tipo prodotto\"] }}",
|
||||
"options": {
|
||||
"replyTo": "={{ $json.Email }}"
|
||||
},
|
||||
"subject": "=[n8n Contacts] Other",
|
||||
"toEmail": "to@domain.com",
|
||||
"fromEmail": "from@domain.com"
|
||||
},
|
||||
"credentials": {
|
||||
"smtp": {
|
||||
"id": "hRjP3XbDiIQqvi7x",
|
||||
"name": "SMTP info@n3witalia.com"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "c411a82d-0b86-49da-a11f-47ec79f9f7ff",
|
||||
"name": "Quote DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-780
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "c14008fb-8932-44ad-88ef-42f6d4029fb1",
|
||||
"name": "Prod DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-540
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "f2e02c07-7218-4d08-a816-1ce2de289312",
|
||||
"name": "General DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-320
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "d6ee5c05-d966-47c1-a7ec-df721f77c5d0",
|
||||
"name": "Order DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
-80
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "b4f344bd-a5c4-4977-af96-edbab85b49d0",
|
||||
"name": "Other DB",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
520,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"TO": "={{ (JSON.stringify($json.envelope.to)) }}",
|
||||
"DATA": "={{ $('Text Classifier').item.json.submittedAt }}",
|
||||
"NOME": "={{ $('Text Classifier').item.json.Name }}",
|
||||
"EMAIL": "={{ $('Text Classifier').item.json.Email }}",
|
||||
"CATEGORIA": "info prodotti",
|
||||
"RICHIESTA": "={{ $('Text Classifier').item.json.Message }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "DATA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "DATA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "NOME",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "NOME",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "EMAIL",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "EMAIL",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "RICHIESTA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "RICHIESTA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "CATEGORIA",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CATEGORIA",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "TO",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"required": false,
|
||||
"displayName": "TO",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit#gid=0",
|
||||
"cachedResultName": "Foglio1"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1D6tfsAK81ZE6VA0-sd_syuyI_rloNYjgWOhwgszPIZw/edit?usp=drivesdk",
|
||||
"cachedResultName": "Classified Contact Form"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "JYR6a64Qecd6t8Hb",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
},
|
||||
{
|
||||
"id": "99872f49-85c3-47a0-b0ea-10ebbdbb67f5",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-480,
|
||||
-680
|
||||
],
|
||||
"parameters": {
|
||||
"width": 580,
|
||||
"height": 280,
|
||||
"content": "## Important notes\n\nThis very simple workflow is ideal for eCommerce businesses or customer support teams looking to automate and streamline the handling of contact form submissions.\n\n- It is possible to hook any external form such as CF7 for Wordpress through a webhook\n- It is possible to send the email through other providers by replacing them with the relative nodes (Gmail, Outlook....)\n- It is possible to change the collection database with other tools"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "649d6a6a-a2a1-49f6-b63a-6def1a8831f1",
|
||||
"connections": {
|
||||
"OpenAI": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Text Classifier",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Gen. Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "General DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Order Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Order DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Other Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Other DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Prod. Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Prod DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Quote Dep.": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quote DB",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Text Classifier": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Quote Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Prod. Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[],
|
||||
[
|
||||
{
|
||||
"node": "Gen. Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Order Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Other Dep.",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Text Classifier",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
243
workflows/Form/1611_Form_Stickynote_Automate_Triggered.json
Normal file
243
workflows/Form/1611_Form_Stickynote_Automate_Triggered.json
Normal file
@@ -0,0 +1,243 @@
|
||||
{
|
||||
"id": "QObDE85a2ArfJkxV",
|
||||
"meta": {
|
||||
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "Automated Form Submission Data Storage in Airtable",
|
||||
"tags": [
|
||||
{
|
||||
"id": "Fcqhqfi5hGHHR7nn",
|
||||
"name": "UserData",
|
||||
"createdAt": "2025-03-17T13:06:42.859Z",
|
||||
"updatedAt": "2025-03-17T13:06:42.859Z"
|
||||
},
|
||||
{
|
||||
"id": "uScnF9NzR3PLIyvU",
|
||||
"name": "Published",
|
||||
"createdAt": "2025-03-21T07:22:28.491Z",
|
||||
"updatedAt": "2025-03-21T07:22:28.491Z"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "fef66f10-a3eb-4e71-9493-3d90ebd52fde",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"notes": "Create User Form",
|
||||
"position": [
|
||||
120,
|
||||
80
|
||||
],
|
||||
"webhookId": "39d82b4d-4d27-40de-a12b-0dafab18bb93",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Create User",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Name",
|
||||
"placeholder": "Enter Your Name",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "number",
|
||||
"fieldLabel": "Age",
|
||||
"placeholder": "Enter Your Age",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "email",
|
||||
"fieldLabel": "email",
|
||||
"placeholder": "Enter Your Email",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "address",
|
||||
"placeholder": "Enter Your Address"
|
||||
},
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "You have Subscription ?",
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "Yes"
|
||||
},
|
||||
{
|
||||
"option": "No"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Provide the necessary information here"
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "1745c697-93ca-4374-8d1e-92e047ad7339",
|
||||
"name": "User Data Storage",
|
||||
"type": "n8n-nodes-base.airtable",
|
||||
"notes": "Store User Data",
|
||||
"position": [
|
||||
380,
|
||||
80
|
||||
],
|
||||
"parameters": {
|
||||
"base": {
|
||||
"__rl": true,
|
||||
"mode": "url",
|
||||
"value": ""
|
||||
},
|
||||
"table": {
|
||||
"__rl": true,
|
||||
"mode": "url",
|
||||
"value": ""
|
||||
},
|
||||
"columns": {
|
||||
"value": {
|
||||
"Age": "={{ $json.Age }}",
|
||||
"Name": "={{ $json.Name }}",
|
||||
"Email": "={{ $json.email }}",
|
||||
"Address": "={{ $json.address }}",
|
||||
"Submitted": "={{ $json.submittedAt }}",
|
||||
"Subscription": "={{ $json['You have Subscription ?'] }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "Name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"displayName": "Name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Age",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"displayName": "Age",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Email",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"displayName": "Email",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Address",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"displayName": "Address",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Subscription",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"displayName": "Subscription",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Submitted",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"removed": false,
|
||||
"readOnly": false,
|
||||
"required": false,
|
||||
"displayName": "Submitted",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": []
|
||||
},
|
||||
"options": {},
|
||||
"operation": "create"
|
||||
},
|
||||
"credentials": {
|
||||
"airtableTokenApi": {
|
||||
"id": "",
|
||||
"name": ""
|
||||
}
|
||||
},
|
||||
"notesInFlow": true,
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "ac2f27d8-0922-49cc-9e40-316b3de7a4d1",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"width": 720,
|
||||
"height": 260,
|
||||
"content": "Automated Form Submission Data Storage in Airtable"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e85c44f2-c268-41b8-9b98-f4ada81b2824",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
0,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"width": 720,
|
||||
"height": 100,
|
||||
"content": "This workflow automatically captures data submitted through a form and stores it in Airtable. By using a form submission trigger, the workflow ensures that every time a form is filled out, the data is instantly recorded in Airtable without manual effort. This streamlines data management, making it easy to store and organize form data in a structured database for future reference."
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "3363354f-4c97-4090-a2ff-3139e663549b",
|
||||
"connections": {
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "User Data Storage",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
331
workflows/Form/1649_Form_Extractfromfile_Automate_Triggered.json
Normal file
331
workflows/Form/1649_Form_Extractfromfile_Automate_Triggered.json
Normal file
@@ -0,0 +1,331 @@
|
||||
{
|
||||
"id": "ES4TSw9HacxoNhLZ",
|
||||
"meta": {
|
||||
"instanceId": "5219bc76ea806909b58e13e2acac1c19192522e70dc3c90467e1800e94864105",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "AI CV Screening Workflow",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "e77fbc32-5ee9-49b4-93d5-f2ffda134b08",
|
||||
"name": "Google Gemini Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
|
||||
"position": [
|
||||
1230,
|
||||
530
|
||||
],
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"googlePalmApi": {
|
||||
"id": "UcdfdADI6w9nkgg5",
|
||||
"name": "Google Gemini(PaLM) Api account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "9e24167f-cac6-4b98-95da-30065510d79a",
|
||||
"name": "Confirmation of CV Submission",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
1780,
|
||||
460
|
||||
],
|
||||
"webhookId": "954756dc-2946-4b78-b208-06f3df612ab5",
|
||||
"parameters": {
|
||||
"sendTo": "={{ $('Application Form').item.json['E-mail'] }}",
|
||||
"message": "=Dear {{ $('Application Form').item.json['Full Name'] }}, \n\nThank you for submitting your CV. We have received it and will review it shortly. \n\nBest regards,\nMediusware",
|
||||
"options": {},
|
||||
"subject": "We Have Received Your CV"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "taFlf0vD5S4QlOKM",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "ff49d370-b4eb-4426-b396-763455e647e7",
|
||||
"name": "Inform HR New CV Received",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
1760,
|
||||
200
|
||||
],
|
||||
"webhookId": "e969a9f5-631b-4719-a4f6-87e6063cef6a",
|
||||
"parameters": {
|
||||
"sendTo": "sarfaraz@mediusaware.com",
|
||||
"message": "=Hello HR,\n\nA new CV has been successfully received in our system. Please review the candidate's details at your earliest convenience.\n\nCandidate Name: {{ $('Application Form').item.json['Full Name'] }}\nCandidate E-mail: {{ $('Application Form').item.json['E-mail'] }}\nCandidate Linkedin: {{ $('Application Form').item.json.Linkedin }}\nCandidate Expectation: {{ $('Application Form').item.json.Expectation }}\nCandidate AI Rating: {{ $('Using AI Analysis & Rating').item.json.text }}\n\nThank you for your attention.\n\nBest regards,\nAutomated CV Screening",
|
||||
"options": {},
|
||||
"subject": "New Candidate CV Awaiting Review"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "taFlf0vD5S4QlOKM",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "8479fa4c-10bc-4914-896d-f5b00d063fa8",
|
||||
"name": "Using AI Analysis & Rating",
|
||||
"type": "@n8n/n8n-nodes-langchain.chainLlm",
|
||||
"position": [
|
||||
1320,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{ $json.text }}",
|
||||
"messages": {
|
||||
"messageValues": [
|
||||
{
|
||||
"message": "Rule 1 : Do not exceed maximum of 75 words. As an AI with advanced capabilities in talent acquisition and human resources, your task is to conduct a thorough and intricate analysis of a candidate's resume or CV against a specific job description. You will assist hiring professionals in discerning the alignment between the candidate's skills, experience, qualifications, and the requirements of the job. Your expert insights will equip employers with a lucid understanding of the candidate's suitability for the role. Very important for you to write output text in ${output_language} language. It's VERY IMPORTANT for me for text be in ${output_language} or I will be fired. Your analysis should follow this structured format: 1. **Compatibility Rating**: Propose an overall compatibility rating on a scale from 1 (not compatible) to 10 (perfect fit). Support your rating by elucidating the rationale behind it. 2. **Recommendation**: Informed by your analysis and compatibility rating, offer a recommendation on whether the employer should consider this candidate for an interview. Furnish a well-argued explanation for your recommendation. Remember, your analysis should be comprehensive, professional, and actionable. It should equip an employer with a vivid understanding of the candidate's suitability for the role. This isn't merely about ticking off boxes; it's about illustrating a comprehensive picture of how well the candidate might fit into the role and complement the existing team. Here is your task: Analyze the compatibility of the following candidate's resume with the provided job description. Endeavor to apply your deep understanding of talent evaluation to provide the most insightful analysis. Job description: \"Software Engineer\" Resume: ${resume}\nNo Markdown Please, only plain text. Please no double '**'"
|
||||
}
|
||||
]
|
||||
},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.5
|
||||
},
|
||||
{
|
||||
"id": "da0fd18b-2420-471e-b930-9aabc45bc2ca",
|
||||
"name": "Convert Binary to Json",
|
||||
"type": "n8n-nodes-base.extractFromFile",
|
||||
"position": [
|
||||
1080,
|
||||
220
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "pdf",
|
||||
"binaryPropertyName": "Your_Resume_CV"
|
||||
},
|
||||
"retryOnFail": false,
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "bc5480c1-d9c2-414b-8cd4-0b3e49d4dde9",
|
||||
"name": "Application Form",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
820,
|
||||
380
|
||||
],
|
||||
"webhookId": "0cd422d3-e69f-4ec0-92ab-05362808c4da",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Application for Software Engineer Position",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Full Name",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "E-mail",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Expectation",
|
||||
"placeholder": "2000-3000$",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Linkedin",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "Your Resume/CV",
|
||||
"requiredField": true,
|
||||
"acceptFileTypes": ".pdf"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "d2dfbf1e-8d88-49e6-940d-e1717de97b30",
|
||||
"name": "Candidate Lists",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"position": [
|
||||
1540,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"columns": {
|
||||
"value": {
|
||||
"CV": "={{ $('Application Form').item.json['Your Resume/CV'][0].filename }}",
|
||||
"E-mail": "={{ $('Application Form').item.json['E-mail'] }}",
|
||||
"Linkedin": "={{ $('Application Form').item.json.Linkedin }}",
|
||||
"AI Rating": "={{ $json.text }}",
|
||||
"Full Name": "={{ $('Application Form').item.json['Full Name'] }}",
|
||||
"Expectation": "={{ $('Application Form').item.json.Expectation }}"
|
||||
},
|
||||
"schema": [
|
||||
{
|
||||
"id": "CV",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "CV",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Full Name",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Full Name",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "E-mail",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "E-mail",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Expectation",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Expectation",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "Linkedin",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "Linkedin",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
},
|
||||
{
|
||||
"id": "AI Rating",
|
||||
"type": "string",
|
||||
"display": true,
|
||||
"required": false,
|
||||
"displayName": "AI Rating",
|
||||
"defaultMatch": false,
|
||||
"canBeUsedToMatch": true
|
||||
}
|
||||
],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": []
|
||||
},
|
||||
"options": {},
|
||||
"operation": "append",
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gid=0",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y4FFMXTuznSf2wWUraK57eBJnu4MVtgkxrGYRzRMwDQ/edit#gid=0",
|
||||
"cachedResultName": "\u09aa\u09a4\u09cd\u09b0\u09951"
|
||||
},
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "1y4FFMXTuznSf2wWUraK57eBJnu4MVtgkxrGYRzRMwDQ",
|
||||
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1y4FFMXTuznSf2wWUraK57eBJnu4MVtgkxrGYRzRMwDQ/edit?usp=drivesdk",
|
||||
"cachedResultName": "CV of Software Engineers"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "YdlTTXiu8194dEFE",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.5
|
||||
}
|
||||
],
|
||||
"active": true,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "2036fff4-ab9c-4981-a8b4-44be4654630d",
|
||||
"connections": {
|
||||
"Candidate Lists": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Inform HR New CV Received",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Application Form": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Convert Binary to Json",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Convert Binary to Json": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Using AI Analysis & Rating",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Google Gemini Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Using AI Analysis & Rating",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Inform HR New CV Received": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Confirmation of CV Submission",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Using AI Analysis & Rating": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Candidate Lists",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
626
workflows/Form/1762_Form_Aggregate_Automation_Triggered.json
Normal file
626
workflows/Form/1762_Form_Aggregate_Automation_Triggered.json
Normal file
@@ -0,0 +1,626 @@
|
||||
{
|
||||
"id": "Xfz2YRxH6qFfpqHw",
|
||||
"meta": {
|
||||
"instanceId": "2b69b24ad1a51b447e1a0d6f8c70b16aca715ccfaf123eb531f92865766fce1c",
|
||||
"templateId": "seo_blog_generator_gpt4o_perplexity_telegram",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "SEO Blog Generator with GPT-4o, Perplexity, and Telegram Integration",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "17ab0b24-b1eb-4e4e-a249-9889c9876fe4",
|
||||
"name": "Note4",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
880,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"color": 3,
|
||||
"width": 420,
|
||||
"height": 440,
|
||||
"content": "## Write SEO Optimized Blog Post\n\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "6bf602e0-ad29-47e6-93d7-79fd2a4228c2",
|
||||
"name": "OpenAI Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
1480,
|
||||
-120
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "qX50oKgUA6tXfxne",
|
||||
"name": "ChatBot Content"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "8a3739ac-9492-400c-b5b8-eeb305647752",
|
||||
"name": "Structured Output Parser",
|
||||
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
|
||||
"position": [
|
||||
1740,
|
||||
-100
|
||||
],
|
||||
"parameters": {
|
||||
"jsonSchemaExample": "{\n\"slug\": \"rpo-benefits-recruitment\",\n\"title\": \"7 Key Advantages of RPO for Modern Recruitment\",\n\"meta\": \"Explore how Recruitment Process Outsourcing (RPO) enhances hiring efficiency, reduces costs, and expands talent pools for businesses seeking top candidates.\"\n}"
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "af02ee94-4c26-4be5-bd21-09e020bff876",
|
||||
"name": "Metadata Generator",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
1500,
|
||||
-300
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=**Create a slug, blog post title, and meta description for the following blog post:**\n\n{{ $json.output }}\n\n**Slug Guidelines:**\n- Keep it concise (4-5 words maximum).\n- Include the primary keyword related to recruitment or HR.\n- Use hyphens to separate words.\n- Avoid unnecessary words, articles, or prepositions.\n- Ensure it reflects the main topic of the blog post.\n- Make it readable and relevant for both users and search engines.\n\n**Title Guidelines:**\n- Avoid AI words like \"Transform\" or \"Revolutionize\" and similar overused terms.\n- Avoid using a colon (:) in the title.\n- Never structure it as a primary/secondary title separated by a colon.\n- Include the primary keyword related to recruitment or HR (e.g., 'AI in recruitment' or 'talent acquisition trends').\n- Clearly inform users what they can expect from reading the blog post.\n- Be concise and engaging, ideally 50-60 characters long.\n- Incorporate power words that appeal to HR professionals and recruiters.\n\n**Meta Description Guidelines:**\n- Avoid AI words like \"Transform\" or \"Revolutionize\" and similar overused terms.\n- Be concise: Limit to 150-160 characters to ensure full visibility in search results.\n- Include keywords: Naturally incorporate primary recruitment-related keywords to enhance relevance and visibility.\n- Provide value: Clearly convey the benefits or insights readers will gain from the article.\n- Be engaging: Use action-oriented language or a thought-provoking question to encourage clicks.\n- Align with content: Accurately reflect the blog post's content to meet user expectations and reduce bounce rates.\n- Highlight expertise: Subtly emphasize SocialFind's authority in the recruitment field.\n\nYour output must be a single valid JSON object with these 3 fields:\n-slug: The slug\n-title: The blog post title\n-meta: The meta description \n\nEach should be presented without any additional text, explanation, quotation marks, or formatting.\n",
|
||||
"options": {},
|
||||
"promptType": "define",
|
||||
"hasOutputParser": true
|
||||
},
|
||||
"typeVersion": 1.8
|
||||
},
|
||||
{
|
||||
"id": "4756c8f2-406e-4a56-adb0-0c4708dabe6a",
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
2020,
|
||||
140
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "combine",
|
||||
"options": {},
|
||||
"combineBy": "combineByPosition"
|
||||
},
|
||||
"typeVersion": 3
|
||||
},
|
||||
{
|
||||
"id": "bf05eaf3-2522-488e-893d-1ed9b2ed88b2",
|
||||
"name": "Note5",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
220,
|
||||
240
|
||||
],
|
||||
"parameters": {
|
||||
"color": 4,
|
||||
"width": 620,
|
||||
"height": 300,
|
||||
"content": "## Perplexity Research\n\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "22e8c044-ed98-495a-957e-c5e3fecc2b7d",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-260,
|
||||
260
|
||||
],
|
||||
"webhookId": "a29cbcd3-9d11-4f7c-9aad-14681c356c53",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Blog Factory",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "Research Query",
|
||||
"placeholder": "=What are the most common challenges facing Canadian employers regarding recruitment and why would they want to hire a recruiting firm to solve these problems.",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Create SEO optimized blog posts"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "6e6d4952-793f-4dc5-8d29-219d420149a9",
|
||||
"name": "Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
360,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"width": 460,
|
||||
"height": 500,
|
||||
"content": "## Sample Generic Search Terms and write content\n\nYou are part of a marketing team that creates high-quality blog posts for the Men's Health Consulting and Workflow Automation industry based in Da Nang City, Vietnam.\n\nYour goal is to create engaging, SEO-optimized content that positions you as an authority in the Men's Health Consulting industry and attracts leads.\n\nUpon receiving the information, your team will post a blog on the most trending topics in Men's Health Consulting and Care. As a copywriter/blogger, you are provided with the following information:\n\n- Query: The main topic for the blog post, representing the most trending news in the Men's Health field.\n\n- Other Keywords: A list of high-volume keywords related to Men's Health Consulting and Support and Care. Incorporate these keywords naturally into the blog post when relevant, without forcing it or changing the meaning of the post.\n\n- Research findings: Detailed information from credible sources relevant to the blog topic. Your post should be based on this research.\n\nWith this information, write a comprehensive blog post that:\n\n- Include the query in the blog title, H2 heading, and the beginning of the introduction.\n\n- Incorporate all the details from the research findings, including the source URL for potential hyperlinks.\n\n- Be detailed and informative, demonstrating the company's expertise in Urology consulting and the support and care process for automation.\n\n- Use a professional but engaging tone, highlighting interesting developments and challenges in the industry.\n\n- Speak in a natural and logical manner, making it easy for readers to follow.\n\n- Be 1500 to 2000 words long.\n\n- Be written at a level that can be read by people who are interested in learning more. And want to receive additional care and support to solve the problem of interest.\n\nAdditional Requirements:\n- Include practical lessons or helpful tips for recruiters and HR professionals.\n\n- Highlight how the topic relates to the company's services or expertise.\n\n- Include a call to action (CTA) that encourages readers to explore the company's services or contact you for more information.\n\nCreate an entire blog post draft in your first output. Don't stop or cut it short.\n\nYour output should be the blog post and nothing else.\n\nHere are the details for this blog post project:\nQuery: [Execute previous nodes for preview]"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "f81c9505-111f-473a-94b6-c79364410810",
|
||||
"name": "Blog Content Generator",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
920,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=You are part of a marketing team that creates high-quality blog posts for the Men's Health Consulting and Workflow Automation industry based in Da Nang City, Vietnam.\n\nYour goal is to create engaging, SEO-optimized content that positions you as an authority in the Men's Health Consulting industry and attracts leads.\n\nUpon receiving the information, your team will post a blog on the most trending topics in Men's Health Consulting and Care. As a copywriter/blogger, you are provided with the following information:\n\n- Query: The main topic for the blog post, representing the most trending news in the Men's Health field.\n\n- Other Keywords: A list of high-volume keywords related to Men's Health Consulting and Support and Care. Incorporate these keywords naturally into the blog post when relevant, without forcing it or changing the meaning of the post.\n\n- Research findings: Detailed information from credible sources relevant to the blog topic. Your post should be based on this research.\n\nWith this information, write a comprehensive blog post that:\n\n- Include the query in the blog title, H2 heading, and the beginning of the introduction.\n\n- Incorporate all the details from the research findings, including the source URL for potential hyperlinks.\n\n- Be detailed and informative, demonstrating the company's expertise in Urology consulting and the support and care process for automation.\n\n- Use a professional but engaging tone, highlighting interesting developments and challenges in the industry.\n\n- Speak in a natural and logical manner, making it easy for readers to follow.\n\n- Be 1500 to 2000 words long.\n\n- Be written at a level that can be read by people who are interested in learning more. And want to receive additional care and support to solve the problem of interest.\n\nAdditional Requirements:\n- Include practical lessons or helpful tips for recruiters and HR professionals.\n\n- Highlight how the topic relates to the company's services or expertise.\n\n- Include a call to action (CTA) that encourages readers to explore the company's services or contact you for more information.\n\nCreate an entire blog post draft in your first output. Don't stop or cut it short.\n\nYour output should be the blog post and nothing else.\n\nHere are the details for this blog post project:\nQuery: {{ $json.output }}\n\n\n\n\n",
|
||||
"options": {},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.8
|
||||
},
|
||||
{
|
||||
"id": "1ee6bb8f-6441-4ed9-83e0-d0839b2d0e01",
|
||||
"name": "Note7",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1440,
|
||||
-380
|
||||
],
|
||||
"parameters": {
|
||||
"color": 7,
|
||||
"width": 440,
|
||||
"height": 440,
|
||||
"content": "## Create Title, Slug & Meta\n\n\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "30f0fa84-9918-4bf6-86e4-ef8f1dcf079c",
|
||||
"name": "gpt-4o-mini",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
920,
|
||||
460
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "qX50oKgUA6tXfxne",
|
||||
"name": "ChatBot Content"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "d2d83cc5-1502-4b04-ac12-0bb351a90e58",
|
||||
"name": "Combine Blog Details",
|
||||
"type": "n8n-nodes-base.aggregate",
|
||||
"position": [
|
||||
2620,
|
||||
160
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"aggregate": "aggregateAllItemData"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "bbb5b2c7-18a1-49f7-88d5-ebc0c585d128",
|
||||
"name": "Perplexity_Searcher",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
|
||||
"position": [
|
||||
700,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"name": "Perplexity_Searcher",
|
||||
"workflowId": {
|
||||
"__rl": true,
|
||||
"mode": "id",
|
||||
"value": "5uapJIjLLhwnhX0n"
|
||||
},
|
||||
"description": "=Tôi sử dụng AI agent này để tìm kiếm những thông tin mới nhất. Nhằm phục vụ cho việc tìm kiếm thông tin, dữ liệu với đầy đủ thông tin mới nhất.",
|
||||
"workflowInputs": {
|
||||
"value": {},
|
||||
"schema": [],
|
||||
"mappingMode": "defineBelow",
|
||||
"matchingColumns": [],
|
||||
"attemptToConvertTypes": false,
|
||||
"convertFieldsToString": false
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
},
|
||||
{
|
||||
"id": "e0d9a29e-2dd9-42ff-a0b8-d81c02014b05",
|
||||
"name": "Tele HoangSP_Social_Media",
|
||||
"type": "n8n-nodes-base.telegramTrigger",
|
||||
"position": [
|
||||
-260,
|
||||
440
|
||||
],
|
||||
"webhookId": "302be40c-6f54-4447-88a9-1c415a1fd72d",
|
||||
"parameters": {
|
||||
"updates": [
|
||||
"message"
|
||||
],
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "mjSBJIunOl3D8zbe",
|
||||
"name": "Telegram account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.1
|
||||
},
|
||||
{
|
||||
"id": "95cc8220-d484-4ec9-a191-46a749de94a2",
|
||||
"name": "AI Agent",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
480,
|
||||
260
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=Tôi là một bác sĩ y khoa làm việc trong lĩnh vực y tế, chuyên môn của tôi là các Vấn đề liên quan đến bệnh Nam Khoa. \n- Tôi muốn dùng dữ liệu này để tìm kiếm thông tin, dựa trên từ khoá mà tôi đưa và để tìm những thông tin mới nhất có liên quan. \n\n- Chuẩn bị nội dung/ nguồn cho việc viết blog.\n\n- Hãy đưa ra những list nội dung đầu dòng ngắn gọn, hiệu quả để làm nội dung chính cho những blog sắp tới.\n\nĐây là nội dung tôi đưa vào tìm kiếm: {{ $json['Research Query'] }}\nHoặc nội dung này: {{ $json.message.text }}",
|
||||
"options": {
|
||||
"systemMessage": "Bạn làm việc rất chuyên nghiệp trong lĩnh vực của mình"
|
||||
},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.8
|
||||
},
|
||||
{
|
||||
"id": "1321ee35-f97d-475f-81cb-de00f833c89b",
|
||||
"name": "OpenAI Chat Model1",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
420,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "ScDgXbCy0e7Omp6y",
|
||||
"name": "OpenAi account 3"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "88ed96de-99da-4e8d-ba61-c7742109bc06",
|
||||
"name": "AI Agent1",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
1520,
|
||||
360
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=\nExtract a JSON object from the following content: {{ $json.output }}.\nThe object must contain the following fields:\n{\n \"title\": string,\n \"subtitle\": string,\n \"content\": string,\n \"hashtags\": [string]\n}\nIf any field is missing, infer it based on the content. Respond only with the JSON object. Do not include explanations.\n\n",
|
||||
"options": {},
|
||||
"promptType": "define",
|
||||
"hasOutputParser": true
|
||||
},
|
||||
"typeVersion": 1.8
|
||||
},
|
||||
{
|
||||
"id": "cad725b7-9360-4f4a-8f72-1034f09192b5",
|
||||
"name": "OpenAI Chat Model2",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
1480,
|
||||
700
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "ScDgXbCy0e7Omp6y",
|
||||
"name": "OpenAi account 3"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "5e5e91c5-787e-4c6e-99bf-a2d08638b26f",
|
||||
"name": "Metadata Extractor",
|
||||
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
|
||||
"position": [
|
||||
1740,
|
||||
640
|
||||
],
|
||||
"parameters": {
|
||||
"schemaType": "manual",
|
||||
"inputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\"\n },\n \"subtitle\": {\n \"type\": \"string\"\n },\n \"content\": {\n \"type\": \"string\"\n },\n \"hashtags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"maxItems\": 5\n }\n },\n \"required\": [\"title\", \"content\"]\n}\n"
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "38fd2a3b-bbc3-41d5-9d13-eb61b67709cb",
|
||||
"name": "Telegram",
|
||||
"type": "n8n-nodes-base.telegram",
|
||||
"position": [
|
||||
2620,
|
||||
380
|
||||
],
|
||||
"webhookId": "13eeb1fb-8890-430b-b988-3e90fdf032c9",
|
||||
"parameters": {
|
||||
"text": "={{ $json.output.title }}\n{{ $json.output.title }}\n{{ $json.output.subtitle }}\n{{ $json.output.content }}",
|
||||
"chatId": "={{ $('Tele HoangSP_Social_Media').item.json.message.chat.id }}",
|
||||
"additionalFields": {
|
||||
"appendAttribution": false,
|
||||
"disable_notification": false
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"telegramApi": {
|
||||
"id": "1kmgeuArwvrmbfeu",
|
||||
"name": "Telegram account 2"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "6a165afa-074d-4f2c-9f3b-2c8f02f3ae46",
|
||||
"name": "Simple Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"position": [
|
||||
1600,
|
||||
540
|
||||
],
|
||||
"parameters": {
|
||||
"sessionKey": "={{ $json.output }}",
|
||||
"sessionIdType": "customKey",
|
||||
"contextWindowLength": 10
|
||||
},
|
||||
"typeVersion": 1.3
|
||||
},
|
||||
{
|
||||
"id": "433b5974-6bd9-4bd8-a718-e9a1970de35b",
|
||||
"name": "Simple Memory1",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"position": [
|
||||
1600,
|
||||
-60
|
||||
],
|
||||
"parameters": {
|
||||
"sessionKey": "={{ $json.output }}",
|
||||
"sessionIdType": "customKey",
|
||||
"contextWindowLength": 10
|
||||
},
|
||||
"typeVersion": 1.3
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "ecebdadc-5bb8-43e7-bd42-48fd894195b1",
|
||||
"connections": {
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Telegram",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Combine Blog Details",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"AI Agent": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Copywriter AI Agent",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Telegram": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"AI Agent1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"gpt-4o-mini": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Copywriter AI Agent",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Simple Memory": {
|
||||
"ai_memory": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent1",
|
||||
"type": "ai_memory",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Simple Memory1": {
|
||||
"ai_memory": [
|
||||
[
|
||||
{
|
||||
"node": "Create Title, Slug, Meta",
|
||||
"type": "ai_memory",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Create Title, Slug, Meta",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model1": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model2": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent1",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Copywriter AI Agent": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create Title, Slug, Meta",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "AI Agent1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Combine Blog Details": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Call n8n Workflow Tool": {
|
||||
"ai_tool": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent",
|
||||
"type": "ai_tool",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create Title, Slug, Meta": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Structured Output Parser": {
|
||||
"ai_outputParser": [
|
||||
[
|
||||
{
|
||||
"node": "Create Title, Slug, Meta",
|
||||
"type": "ai_outputParser",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Structured Output Parser1": {
|
||||
"ai_outputParser": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent1",
|
||||
"type": "ai_outputParser",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Tele HoangSP_Social_Media": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
159
workflows/Form/1767_Form_HTTP_Automation_Webhook.json
Normal file
159
workflows/Form/1767_Form_HTTP_Automation_Webhook.json
Normal file
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"id": "XxkmcgZC4OtIOVoD",
|
||||
"meta": {
|
||||
"instanceId": "b3c467df4053d13fe31cc98f3c66fa1d16300ba750506bfd019a0913cec71ea3"
|
||||
},
|
||||
"name": "Youtube Video Transcript Extraction",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "686e639a-650d-480d-9887-11bd4140f1fe",
|
||||
"name": "YoutubeVideoURL",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-20,
|
||||
0
|
||||
],
|
||||
"webhookId": "156a04c8-917d-4624-a46e-8fbcab89d16b",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Youtube Video Transcriber",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Youtube Video Url",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "5384c4ed-a726-4253-8a88-d413124f80be",
|
||||
"name": "cleanedTranscript",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
740,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "7653a859-556d-4e00-bafa-6f70f90de0d7",
|
||||
"name": "transcript",
|
||||
"type": "string",
|
||||
"value": "={{ $json.cleanedTranscript }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "83b6567f-c931-429c-8d7c-0b2549820ca1",
|
||||
"name": "processTranscript",
|
||||
"type": "n8n-nodes-base.function",
|
||||
"position": [
|
||||
500,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"functionCode": "// Extract and process the transcript\nconst data = $input.first().json;\n\nif (!data.transcript && !data.text) {\n return {\n json: {\n success: false,\n message: 'No transcript available for this video',\n videoUrl: $input.first().json.body?.videoUrl || 'Unknown'\n }\n };\n}\n\n// Process the transcript text\nlet transcriptText = '';\n\n// Handle different API response formats\nif (data.transcript) {\n // Format for array of transcript segments\n if (Array.isArray(data.transcript)) {\n data.transcript.forEach(segment => {\n if (segment.text) {\n transcriptText += segment.text + ' ';\n }\n });\n } else if (typeof data.transcript === 'string') {\n transcriptText = data.transcript;\n }\n} else if (data.text) {\n // Format for single transcript object with text property\n transcriptText = data.text;\n}\n\n// Clean up the transcript (remove extra spaces, normalize punctuation)\nconst cleanedTranscript = transcriptText\n .replace(/\\s+/g, ' ')\n .replace(/\\s([.,!?])/g, '$1')\n .trim();\n\nreturn {\n json: {\n success: true,\n videoUrl: $input.first().json.body?.videoUrl || 'From transcript',\n rawTranscript: data.text || data.transcript,\n cleanedTranscript,\n duration: data.duration,\n offset: data.offset,\n language: data.lang\n }\n};"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "cebf0fd7-6b66-4287-bede-fab53061bed2",
|
||||
"name": "extractTranscript",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
240,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://youtube-transcript3.p.rapidapi.com/api/transcript",
|
||||
"options": {},
|
||||
"sendBody": true,
|
||||
"sendQuery": true,
|
||||
"sendHeaders": true,
|
||||
"bodyParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "url",
|
||||
"value": "={{ $json['Youtube Video Url'] }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"queryParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "videoId",
|
||||
"value": "ZacjOVVgoLY"
|
||||
}
|
||||
]
|
||||
},
|
||||
"headerParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "x-rapidapi-host",
|
||||
"value": "youtube-transcript3.p.rapidapi.com"
|
||||
},
|
||||
{
|
||||
"name": "x-rapidapi-key",
|
||||
"value": "\"your_api_key\""
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "084b006b-36f9-46a7-8a0b-7656126b29cd",
|
||||
"connections": {
|
||||
"YoutubeVideoURL": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "extractTranscript",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"extractTranscript": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "processTranscript",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"processTranscript": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "cleanedTranscript",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
145
workflows/Form/1873_Form_HTTP_Automation_Webhook.json
Normal file
145
workflows/Form/1873_Form_HTTP_Automation_Webhook.json
Normal file
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"id": "gsra9JToRDftNEvH",
|
||||
"meta": {
|
||||
"instanceId": "e8ec316b54e91908f34cbfdc330e5d1d5e97aa0ea8f7277c00d8a8a3892c9983",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "🤓 Conversion Rate Optimizer",
|
||||
"tags": [
|
||||
{
|
||||
"id": "QUoce1Blvhtuie7K",
|
||||
"name": "Business",
|
||||
"createdAt": "2025-03-06T15:17:58.728Z",
|
||||
"updatedAt": "2025-03-06T15:17:58.728Z"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "8aca34c2-65d6-432a-a7a5-fede59c3f4cb",
|
||||
"name": "Landing Page Url",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-180,
|
||||
0
|
||||
],
|
||||
"webhookId": "0818531a-3892-49f6-af78-cde8d538b205",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Conversion Rate Optimizer",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Landing Page Url",
|
||||
"placeholder": "https://yuzuu.co",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Your Landing Page is Leaking Sales—Fix It Now"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "61e17805-93aa-46a3-a5a1-36c02da6432a",
|
||||
"name": "Scrape Website",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
20,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{ $json['Landing Page Url'] }}",
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 4.2
|
||||
},
|
||||
{
|
||||
"id": "cbe8bed2-37a0-4459-a34c-47b87c012875",
|
||||
"name": "AI Agent",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
240,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=You are a professional expert in Conversion Rate Optimization who helps business founders & CMOs improve their landing pages. You are a world-class expert in analysing landing pages, roasting them, and providing valuable Conversion Rate Optimization Ideas to help businesses increase conversions. \n\nGOAL\nI want you to roast my landing page and deliver recommendations to improve the Conversion Rate. I will use this roast to understand what's wrong with my landing page and make improvements based on your recommendations. \n\nROAST STRUCTURE\nThis framework consists of 2 blocks of insights: \nRoast: a detailed roast of my landing page.\nRecommendations: 10 conversion rate optimization ideas based on your roast and analysis.\n\nROAST & RECOMMENDATIONS CRITERIA\nFor the Roast: Be friendly & casual. Talk like a human to another human. \nFor the Roast: Be unconventional & fun. I don't want to be bored. A roast must agitate the reader's feelings. \nFor the Roast: You will make a full landing page analysis, and explain what's wrong. You will use this analysis to make recommendations for The Recommendations. \nFor the Recommendations: Be specific. Write exactly what I need to do. Your detailed description for each Conversion Rate Optimization Idea should be self-explanatory. For example, instead of saying “Rewrite your headline”, give me improved ideas for the headline. Your job is to return advanced insights personalised only for my specific landing page. This is a critical law for you.\nFor the Recommendations: Be creative. Don't return trivial and outdated Conversion Rate Optimization ideas that the average marketer would recommend. Prioritise unconventional CRO tactics so I get real value from you here. Think like the top 0.1% conversion rate optimization expert.\nFor the Recommendations: Prioritise Conversion Rate Optimization Ideas that are relevant in the 2024 digital marketing space. \nFor the Recommendations: Your Conversion Rate Optimization ideas must be impactful. Prioritise Conversion Rate Optimization Ideas that adds a wow effect.\nFor the Recommendations: Your Conversion Rate Optimization ideas must be easy to implement.\nFor the Recommendations: Personalise your ideas with references to the Roast you made. I don’t want to read 10 generic ideas that can work for anyone (for example, “add a live chat” or “offer a free trial”). I need a 100% personalised response.\n\nHere is the content of my landing page: {{ $json.data }}",
|
||||
"options": {},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.7
|
||||
},
|
||||
{
|
||||
"id": "37786922-d64b-4e84-916e-1df8daeb0287",
|
||||
"name": "OpenAI Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
200,
|
||||
220
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "o1",
|
||||
"cachedResultName": "o1"
|
||||
},
|
||||
"options": {
|
||||
"reasoningEffort": "high"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "MtyWeuRTqwi3Yx9H",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "38d9dab2-07ed-49cb-836e-a4b3ecf9d7da",
|
||||
"connections": {
|
||||
"AI Agent": {
|
||||
"main": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Scrape Website": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Landing Page Url": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Scrape Website",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "AI Agent",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
351
workflows/Form/1886_Form_Markdown_Automation_Webhook.json
Normal file
351
workflows/Form/1886_Form_Markdown_Automation_Webhook.json
Normal file
@@ -0,0 +1,351 @@
|
||||
{
|
||||
"id": "iLpBIRuhpWToO22N",
|
||||
"meta": {
|
||||
"instanceId": "e8ec316b54e91908f34cbfdc330e5d1d5e97aa0ea8f7277c00d8a8a3892c9983",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "🤖 On-Page SEO Audit",
|
||||
"tags": [
|
||||
{
|
||||
"id": "TF9zcHoRnyCYBNVV",
|
||||
"name": "SEO",
|
||||
"createdAt": "2025-03-14T12:08:26.948Z",
|
||||
"updatedAt": "2025-03-14T12:08:26.948Z"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "f4a971be-a961-4ad6-b38d-830c5fca5407",
|
||||
"name": "Landing Page Url",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-180,
|
||||
0
|
||||
],
|
||||
"webhookId": "afe067a5-4878-4c9d-b746-691f77190f54",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Conversion Rate Optimizer",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Landing Page Url",
|
||||
"placeholder": "https://yuzuu.co",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"formDescription": "Your Landing Page is Leaking Sales—Fix It Now"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "e280139f-94b8-49dc-91e7-c6ffa0c04716",
|
||||
"name": "Scrape Website",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
20,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"url": "={{ $json['Landing Page Url'] }}",
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 4.2
|
||||
},
|
||||
{
|
||||
"id": "de9ff0da-4ef9-4878-af0d-5733e010402c",
|
||||
"name": "OpenAI Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
320,
|
||||
20
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini",
|
||||
"cachedResultName": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "MtyWeuRTqwi3Yx9H",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "25969781-4b1c-42ad-969c-efbb605be9e5",
|
||||
"name": "OpenAI Chat Model1",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"position": [
|
||||
360,
|
||||
400
|
||||
],
|
||||
"parameters": {
|
||||
"model": {
|
||||
"__rl": true,
|
||||
"mode": "list",
|
||||
"value": "gpt-4o-mini",
|
||||
"cachedResultName": "gpt-4o-mini"
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "MtyWeuRTqwi3Yx9H",
|
||||
"name": "OpenAi account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.2
|
||||
},
|
||||
{
|
||||
"id": "0f135a2d-156c-43ee-b254-581c7d543a8c",
|
||||
"name": "Content Audit",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
380,
|
||||
200
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=You are the best SEO Manager in the country—a world-class expert in optimizing websites to rank on Google.\n\nIn this task, you will analyze the content of the webpage and perform a detailed and structured SEO Content Audit.\n\nAudit Structure\nYou will divide your audit in 2 parts:\n- The first part is the Analysis\n- The second is the Recommendations\n\nIn the Analysis, you will include:\n- Content Quality Assessment – Evaluate the content's overall quality, accuracy, and relevance to the target audience.\n- Keyword Research and Analysis – Identify primary and secondary keywords, keyword density, and keyword placement strategies.\n- Readability Analysis – Assess the content's readability score using metrics such as Flesch-Kincaid Grade Level, Flesch Reading Ease, and Gunning-Fog Index.\n\nIn the Recommendations, you will present your recommendations and actionable suggestions in clear, organized bullet points. Recommendations must improve the rankings in Google but also the user engagement. \n\nEnsure the output is properly formatted, clean, and highly readable. Do not include any introductory or explanatory text—only the audit findings.\n\nHere is the content of my landing page: {{ $json.data }}",
|
||||
"options": {},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.7
|
||||
},
|
||||
{
|
||||
"id": "b693e35c-c0d4-4202-8c5e-2a5646a16cc4",
|
||||
"name": "Technical Audit",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"position": [
|
||||
380,
|
||||
-200
|
||||
],
|
||||
"parameters": {
|
||||
"text": "=You are the best SEO Manager in the country—a world-class expert in optimizing websites to rank on Google.\nIn this task, you will analyze the HTML code of a webpage and perform a detailed and structured On-Page Technical SEO Audit.\n\nAudit Structure\nYou will review all technical SEO aspects of the page. Once completed, you will present your findings and recommendations in clear, organized bullet points, categorized into three sections:\n- Critical Issues – Must be fixed immediately.\n- Quick Wins – Easy fixes with a big impact.\n- Opportunities for Improvement – Require more effort but offer potential benefits.\n\nEnsure the output is properly formatted, clean, and highly readable. Do not include any introductory or explanatory text—only the audit findings.\n\nHere is the content of my landing page: {{ $json.data }}",
|
||||
"options": {},
|
||||
"promptType": "define"
|
||||
},
|
||||
"typeVersion": 1.7
|
||||
},
|
||||
{
|
||||
"id": "3d172f93-7d94-4a43-9403-5cec799bbe47",
|
||||
"name": "Merge",
|
||||
"type": "n8n-nodes-base.merge",
|
||||
"position": [
|
||||
880,
|
||||
0
|
||||
],
|
||||
"parameters": {},
|
||||
"typeVersion": 3,
|
||||
"alwaysOutputData": true
|
||||
},
|
||||
{
|
||||
"id": "2081bf62-0e47-497e-8a3e-d30d330f6a9d",
|
||||
"name": "Aggregate",
|
||||
"type": "n8n-nodes-base.aggregate",
|
||||
"position": [
|
||||
1080,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"fieldsToAggregate": {
|
||||
"fieldToAggregate": [
|
||||
{
|
||||
"fieldToAggregate": "output"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e1cfc16e-e0dc-4298-9b94-ffb7f23b45aa",
|
||||
"name": "Markdown",
|
||||
"type": "n8n-nodes-base.markdown",
|
||||
"position": [
|
||||
1280,
|
||||
0
|
||||
],
|
||||
"parameters": {
|
||||
"mode": "markdownToHtml",
|
||||
"options": {},
|
||||
"markdown": "=# On-Page Technical Audit\n{{ $json.output[0] }}\n\n# On-Page SEO Content Audit\n{{ $json.output[1] }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "7dc41215-e276-439c-be11-92278b1c3a60",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1360,
|
||||
-160
|
||||
],
|
||||
"parameters": {
|
||||
"color": 3,
|
||||
"width": 360,
|
||||
"height": 100,
|
||||
"content": "## Send Email \nConnect your credentials & Easily send emails from a Gmail address. "
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "28aea6bd-beef-4116-97c2-e8b88e96d5ac",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
320,
|
||||
-380
|
||||
],
|
||||
"parameters": {
|
||||
"color": 3,
|
||||
"width": 420,
|
||||
"height": 140,
|
||||
"content": "## Open AI Setup\n- Add your credentials\n- Select o1 model for (way) better results. \n- One run = one page audit = around $0.3 with o1"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3242a0c3-4439-4ad1-8185-47185046080d",
|
||||
"name": "Gmail",
|
||||
"type": "n8n-nodes-base.gmail",
|
||||
"position": [
|
||||
1480,
|
||||
0
|
||||
],
|
||||
"webhookId": "2979e4dc-1689-447e-8cd4-eb907b4eedf4",
|
||||
"parameters": {
|
||||
"sendTo": "hello@youremail.com",
|
||||
"message": "={{ $json.data }}",
|
||||
"options": {},
|
||||
"subject": "=On-Page SEO Audit - {{ $('Landing Page Url').item.json['Landing Page Url'] }}"
|
||||
},
|
||||
"credentials": {
|
||||
"gmailOAuth2": {
|
||||
"id": "9EELWJ0jA3PIbx13",
|
||||
"name": "Gmail account"
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "bc4ac79c-71a0-4dae-805d-55b682b0c199",
|
||||
"connections": {
|
||||
"Merge": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Aggregate",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Markdown": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Gmail",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Aggregate": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Markdown",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Content Audit": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 1
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Scrape Website": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Content Audit",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Technical Audit",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Technical Audit": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Merge",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Landing Page Url": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Scrape Website",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Technical Audit",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"OpenAI Chat Model1": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "Content Audit",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
161
workflows/Form/1908_Form_Asana_Automate_Triggered.json
Normal file
161
workflows/Form/1908_Form_Asana_Automate_Triggered.json
Normal file
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"id": "lWfWe93aNGuNPLBz",
|
||||
"meta": {
|
||||
"instanceId": "9fd9ca4c1981198aec5412811736ddc08ea74ed6ff5bea7bfdaf584bc90b5d4c"
|
||||
},
|
||||
"name": "Automate Your Customer Service With WhatsApp Business Cloud & Asana",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "9d2a824a-6344-499e-a28a-454cf27b18e1",
|
||||
"name": "n8n Form Trigger",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
40,
|
||||
620
|
||||
],
|
||||
"webhookId": "15e05cd5-c58d-4bf2-8358-f0cd1917334f",
|
||||
"parameters": {
|
||||
"path": "15e05cd5-c58d-4bf2-8358-f0cd1917334f",
|
||||
"options": {},
|
||||
"formTitle": "Contact Us!",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Whats is your Name?",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "number",
|
||||
"fieldLabel": "What is your Phone Number?",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "What is your problem?",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2
|
||||
},
|
||||
{
|
||||
"id": "ac7cca4a-e42b-4eaa-bd8b-121c27b4f976",
|
||||
"name": "WhatsApp Business Cloud",
|
||||
"type": "n8n-nodes-base.whatsApp",
|
||||
"position": [
|
||||
800,
|
||||
480
|
||||
],
|
||||
"parameters": {
|
||||
"textBody": "=Hello {{ $json[\"Whats is your Name?\"] }},\n\nThank you for filling out the contact form.\nOur customer support team will get back to you as soon as possible.",
|
||||
"operation": "send",
|
||||
"phoneNumberId": "YOUR_PHONE_NUMBER",
|
||||
"additionalFields": {},
|
||||
"recipientPhoneNumber": "=+{{ $json['What is your Phone Number?'] }}"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "76a1a4d6-241d-4167-a7b6-3e8552752b2a",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
40,
|
||||
20
|
||||
],
|
||||
"parameters": {
|
||||
"width": 835.3263974964024,
|
||||
"height": 399.17043043523586,
|
||||
"content": "## Setup\n**Create and integrate your form**\n- You can use n8n native form or services like Typeform and integrate with them.\n- If you rename the phone number field, you also have to change this in the \"WhatsApp Business Cloud\" node \n- If you let people enter their phone number in another format (e.g. text) you may need to add in additional data transformation nodes\n\n**Add your WhatsApp Business Cloud credentials & your phone number**\n- Go into the \"WhatsApp Business Cloud\" node and add your credentials\n- Replace the placeholder by your WhatsApp Business Cloud phone number\n\n**Change the text body to your liking**\n- The text body right now is a confirmation of. contact form. You can change that to your liking & use-case.\n\n**Add your Asana credentials & add your workspace ID**\n- Go into the \"Asana\" node and add your credentials\n- Replace the placeholder by your Asana workspace ID"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3259ab56-8e5b-480a-b037-a23872bd9cbd",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-400,
|
||||
580
|
||||
],
|
||||
"parameters": {
|
||||
"width": 393.38103690955325,
|
||||
"height": 218.49276831296547,
|
||||
"content": "## Data input\n**Form submissions**\n\nThe default way to get your data into this workflow is a n8n-native form submission. \n\nTechnically you could also change it in a way that you get your data out of another form submission service, if you already have one in place, like Typeform or similar.\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "71310c11-bb13-4b97-a183-da9a5e0ee007",
|
||||
"name": "Asana",
|
||||
"type": "n8n-nodes-base.asana",
|
||||
"position": [
|
||||
800,
|
||||
820
|
||||
],
|
||||
"parameters": {
|
||||
"name": "=Support Ticket - {{ $json.submittedAt }}",
|
||||
"workspace": "YOUR_WORKSPACE_ID",
|
||||
"otherProperties": {
|
||||
"notes": "={{ $json['What is your problem?'] }}"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "3827e54a-bc87-4fa3-933f-0d1619d85697",
|
||||
"name": "Sticky Note2",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1020,
|
||||
420
|
||||
],
|
||||
"parameters": {
|
||||
"width": 472.6712339560175,
|
||||
"height": 271.78617944255603,
|
||||
"content": "## Confirmation Message\n**WhatsApp Business Cloud**\n\nThe default way to message your customer in this workflow is WhatsApp. \n\nIf your customers prefer e-mail, you can also add this capabilities to this workflow.\n\nYou would just need to change the form in a way to get the users mail, and integrate with a SMTP server or a mail-sending provider."
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "299327d9-18e1-41e2-975a-4808d6b542bb",
|
||||
"name": "Sticky Note3",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
1020,
|
||||
780
|
||||
],
|
||||
"parameters": {
|
||||
"width": 472.6712339560175,
|
||||
"height": 206.79421465037234,
|
||||
"content": "## Task Management\n**Asana**\n\nThe default way to to save the support tickets in this workflow is Asana. \n\nIf your teams work with another task management software, you can replace this node."
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "1aedd3d7-f980-46dd-ac0b-af085e3dcf05",
|
||||
"connections": {
|
||||
"n8n Form Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "WhatsApp Business Cloud",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Asana",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
323
workflows/Form/1957_Form_Stickynote_Automation_Triggered.json
Normal file
323
workflows/Form/1957_Form_Stickynote_Automation_Triggered.json
Normal file
@@ -0,0 +1,323 @@
|
||||
{
|
||||
"id": "plzObaqgoEvV4UU0",
|
||||
"meta": {
|
||||
"instanceId": "28a947b92b197fc2524eaba16e57560338657b2b0b5796300b2f1cedc1d0d355",
|
||||
"templateCredsSetupCompleted": true
|
||||
},
|
||||
"name": "Post on X",
|
||||
"tags": [
|
||||
{
|
||||
"id": "gNiDOCnjqCXR7phD",
|
||||
"name": "Marketing",
|
||||
"createdAt": "2025-04-15T01:08:25.516Z",
|
||||
"updatedAt": "2025-04-15T01:08:25.516Z"
|
||||
},
|
||||
{
|
||||
"id": "zKNO4Omjzfu6J25M",
|
||||
"name": "Demo",
|
||||
"createdAt": "2025-04-15T18:59:57.364Z",
|
||||
"updatedAt": "2025-04-15T18:59:57.364Z"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "203a06a1-2e25-46df-9465-4d5740177249",
|
||||
"name": "Create session",
|
||||
"type": "n8n-nodes-base.airtop",
|
||||
"position": [
|
||||
60,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"profileName": "={{ $json.airtop_profile }}",
|
||||
"timeoutMinutes": 5,
|
||||
"saveProfileOnTermination": true
|
||||
},
|
||||
"credentials": {
|
||||
"airtopApi": {
|
||||
"id": "Yi4YPNnovLVUjFn5",
|
||||
"name": "Airtop API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "18c8ade3-8492-4e75-8310-3be4d7815ab6",
|
||||
"name": "Create window",
|
||||
"type": "n8n-nodes-base.airtop",
|
||||
"position": [
|
||||
280,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://x.com/",
|
||||
"resource": "window",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"airtopApi": {
|
||||
"id": "Yi4YPNnovLVUjFn5",
|
||||
"name": "Airtop API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "c46baeac-5d91-4656-a30f-0ca932e8042c",
|
||||
"name": "Type text",
|
||||
"type": "n8n-nodes-base.airtop",
|
||||
"position": [
|
||||
500,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"text": "={{ $('Parameters').item.json.post_text }}",
|
||||
"resource": "interaction",
|
||||
"operation": "type",
|
||||
"pressEnterKey": true,
|
||||
"additionalFields": {},
|
||||
"elementDescription": "\"What's happening?\" text box on top"
|
||||
},
|
||||
"credentials": {
|
||||
"airtopApi": {
|
||||
"id": "Yi4YPNnovLVUjFn5",
|
||||
"name": "Airtop API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "cfc19d89-8fb2-49c5-97a3-38ad03dffe31",
|
||||
"name": "Click on Post",
|
||||
"type": "n8n-nodes-base.airtop",
|
||||
"position": [
|
||||
720,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"resource": "interaction",
|
||||
"additionalFields": {
|
||||
"visualScope": "viewport"
|
||||
},
|
||||
"elementDescription": "Click on the Post button "
|
||||
},
|
||||
"credentials": {
|
||||
"airtopApi": {
|
||||
"id": "Yi4YPNnovLVUjFn5",
|
||||
"name": "Airtop API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "1b2a4d37-1fcd-4b6a-8db7-a7056c569ad4",
|
||||
"name": "End session",
|
||||
"type": "n8n-nodes-base.airtop",
|
||||
"position": [
|
||||
940,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "terminate"
|
||||
},
|
||||
"credentials": {
|
||||
"airtopApi": {
|
||||
"id": "Yi4YPNnovLVUjFn5",
|
||||
"name": "Airtop API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "2fdae018-aaca-4101-acdc-42d799463880",
|
||||
"name": "When Executed by Another Workflow",
|
||||
"type": "n8n-nodes-base.executeWorkflowTrigger",
|
||||
"position": [
|
||||
-380,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"workflowInputs": {
|
||||
"values": [
|
||||
{
|
||||
"name": "airtop_profile"
|
||||
},
|
||||
{
|
||||
"name": "post_text"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 1.1
|
||||
},
|
||||
{
|
||||
"id": "2a2125ff-6acd-4aca-bc69-d148b6cbb678",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
0,
|
||||
20
|
||||
],
|
||||
"parameters": {
|
||||
"color": 5,
|
||||
"width": 220,
|
||||
"height": 320,
|
||||
"content": "### Heads up!\nTo make sure everything works smoothly, use an [Airtop Profile](https://docs.airtop.ai/guides/how-to/saving-a-profile) signed into x.com for the \"Create session\" node"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "ca75bf36-55c4-4496-9a77-3870d078bec2",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-380,
|
||||
80
|
||||
],
|
||||
"webhookId": "bf22d894-7313-40b1-aefa-98bc518473bf",
|
||||
"parameters": {
|
||||
"options": {
|
||||
"buttonLabel": "Post on X",
|
||||
"appendAttribution": false,
|
||||
"respondWithOptions": {
|
||||
"values": {
|
||||
"formSubmittedText": "✅ Your post has been published!"
|
||||
}
|
||||
}
|
||||
},
|
||||
"formTitle": "Post on X",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldLabel": "Airtop profile name",
|
||||
"placeholder": "e.g. my-x-profile",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Text to post",
|
||||
"placeholder": "e.g. This X post was made with Airtop and n8n",
|
||||
"requiredField": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"responseMode": "lastNode",
|
||||
"formDescription": "Enter the <a href=\"https://docs.airtop.ai/guides/how-to/saving-a-profile\" target=\"_blank\">Airtop Profile</a> and the content you would like to post on x.com"
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "d56e067b-9825-4a81-88a4-c65dac5a919c",
|
||||
"name": "Parameters",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
-160,
|
||||
180
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "e612bf63-72bd-4b61-82c9-786a90b58b7b",
|
||||
"name": "airtop_profile",
|
||||
"type": "string",
|
||||
"value": "={{ $json[\"Airtop profile name\"] || $json.airtop_profile }}"
|
||||
},
|
||||
{
|
||||
"id": "567e5e7d-4efd-4d0a-a93c-6c7aed02c305",
|
||||
"name": "post_text",
|
||||
"type": "string",
|
||||
"value": "={{ $json[\"Text to post\"] || $json.post_text }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "9129144f-d078-48f8-825a-7f8bbda4570b",
|
||||
"connections": {
|
||||
"Type text": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Click on Post",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Parameters": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create session",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Click on Post": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "End session",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create window": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Type text",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Create session": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Create window",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Parameters",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"When Executed by Another Workflow": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Parameters",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
569
workflows/Form/1968_Form_Stickynote_Automation_Webhook.json
Normal file
569
workflows/Form/1968_Form_Stickynote_Automation_Webhook.json
Normal file
@@ -0,0 +1,569 @@
|
||||
{
|
||||
"id": "r1u4HOJu5j5sP27x",
|
||||
"meta": {
|
||||
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462"
|
||||
},
|
||||
"name": "Social Media Publisher",
|
||||
"tags": [],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "f5050652-6170-41c6-b3c3-0f6616c9d575",
|
||||
"name": "On form submission",
|
||||
"type": "n8n-nodes-base.formTrigger",
|
||||
"position": [
|
||||
-380,
|
||||
120
|
||||
],
|
||||
"webhookId": "bb578d47-feaa-4973-96df-659089838de5",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"formTitle": "Post Publisher",
|
||||
"formFields": {
|
||||
"values": [
|
||||
{
|
||||
"fieldType": "dropdown",
|
||||
"fieldLabel": "Platform",
|
||||
"fieldOptions": {
|
||||
"values": [
|
||||
{
|
||||
"option": "instagram"
|
||||
},
|
||||
{
|
||||
"option": "linkedin"
|
||||
},
|
||||
{
|
||||
"option": "facebook"
|
||||
},
|
||||
{
|
||||
"option": "x"
|
||||
},
|
||||
{
|
||||
"option": "tiktok"
|
||||
},
|
||||
{
|
||||
"option": "threads"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Account",
|
||||
"placeholder": "User Profile name set on Upload-post.com",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "textarea",
|
||||
"fieldLabel": "Caption",
|
||||
"requiredField": true
|
||||
},
|
||||
{
|
||||
"fieldType": "file",
|
||||
"fieldLabel": "Upload",
|
||||
"multipleFiles": false,
|
||||
"requiredField": true,
|
||||
"acceptFileTypes": ".jpg,.mp4"
|
||||
},
|
||||
{
|
||||
"fieldLabel": "Facebook Id",
|
||||
"placeholder": "Facebook page Id (eg. 00000111122222)"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "e9d8b8c9-3e40-420d-98c3-82c92f1c53c7",
|
||||
"name": "Post photo",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
220,
|
||||
-180
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.upload-post.com/api/upload_photos",
|
||||
"method": "POST",
|
||||
"options": {},
|
||||
"sendBody": true,
|
||||
"contentType": "multipart-form-data",
|
||||
"authentication": "genericCredentialType",
|
||||
"bodyParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "title",
|
||||
"value": "={{ $json.Caption }}"
|
||||
},
|
||||
{
|
||||
"name": "user",
|
||||
"value": "={{ $json.Account }}"
|
||||
},
|
||||
{
|
||||
"name": "platform[]",
|
||||
"value": "={{ $json.Platform }}"
|
||||
},
|
||||
{
|
||||
"name": "photos[]",
|
||||
"parameterType": "formBinaryData",
|
||||
"inputDataFieldName": "=Upload"
|
||||
},
|
||||
{
|
||||
"name": "facebook_id",
|
||||
"value": "={{ $('On form submission').item.json['Facebook Id'] }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"genericAuthType": "httpHeaderAuth"
|
||||
},
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "DEE2XGvhGodgbAJh",
|
||||
"name": "Upload-post.com API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.2
|
||||
},
|
||||
{
|
||||
"id": "04103be2-a1d8-4b00-942b-44e13dffa666",
|
||||
"name": "Post video",
|
||||
"type": "n8n-nodes-base.httpRequest",
|
||||
"position": [
|
||||
220,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"url": "https://api.upload-post.com/api/upload",
|
||||
"method": "POST",
|
||||
"options": {},
|
||||
"sendBody": true,
|
||||
"contentType": "multipart-form-data",
|
||||
"authentication": "genericCredentialType",
|
||||
"bodyParameters": {
|
||||
"parameters": [
|
||||
{
|
||||
"name": "title",
|
||||
"value": "={{ $json.Caption }}"
|
||||
},
|
||||
{
|
||||
"name": "user",
|
||||
"value": "={{ $json.Account }}"
|
||||
},
|
||||
{
|
||||
"name": "platform[]",
|
||||
"value": "={{ $json.Platform }}"
|
||||
},
|
||||
{
|
||||
"name": "video",
|
||||
"parameterType": "formBinaryData",
|
||||
"inputDataFieldName": "=Upload"
|
||||
}
|
||||
]
|
||||
},
|
||||
"genericAuthType": "httpHeaderAuth"
|
||||
},
|
||||
"credentials": {
|
||||
"httpHeaderAuth": {
|
||||
"id": "DEE2XGvhGodgbAJh",
|
||||
"name": "Upload-post.com API"
|
||||
}
|
||||
},
|
||||
"typeVersion": 4.2
|
||||
},
|
||||
{
|
||||
"id": "e7803375-20b0-4e12-80a4-b102ba48b6ba",
|
||||
"name": "KO Video",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
880,
|
||||
380
|
||||
],
|
||||
"webhookId": "d03e4286-f252-4a35-a65e-ea8ac96222e4",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "=Oops",
|
||||
"completionMessage": "There was an error"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "91f2b501-4021-4ecc-9cc3-4e804d020135",
|
||||
"name": "OK Video",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
880,
|
||||
180
|
||||
],
|
||||
"webhookId": "d03e4286-f252-4a35-a65e-ea8ac96222e4",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "=Congratulations!",
|
||||
"completionMessage": "Your post has been published correctly"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "b3eead97-f995-42dc-b937-6d05f284f601",
|
||||
"name": "KO Photo",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
880,
|
||||
-80
|
||||
],
|
||||
"webhookId": "d03e4286-f252-4a35-a65e-ea8ac96222e4",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "=Oops",
|
||||
"completionMessage": "There was an error"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "8ead4dfa-cb9e-4ab4-b52c-7a681876269f",
|
||||
"name": "OK Photo",
|
||||
"type": "n8n-nodes-base.form",
|
||||
"position": [
|
||||
880,
|
||||
-280
|
||||
],
|
||||
"webhookId": "d03e4286-f252-4a35-a65e-ea8ac96222e4",
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"operation": "completion",
|
||||
"completionTitle": "=Congratulations!",
|
||||
"completionMessage": "Your post has been published correctly"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "a5fba676-4e7b-42e2-af36-e9d63458870b",
|
||||
"name": "Success Photo?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
640,
|
||||
-180
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"conditions": {
|
||||
"options": {
|
||||
"version": 2,
|
||||
"leftValue": "",
|
||||
"caseSensitive": true,
|
||||
"typeValidation": "loose"
|
||||
},
|
||||
"combinator": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"id": "47eee8ce-0237-48f2-b67f-04021d3acda2",
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"operation": "equals"
|
||||
},
|
||||
"leftValue": "={{ $json.result }}\n",
|
||||
"rightValue": "true"
|
||||
}
|
||||
]
|
||||
},
|
||||
"looseTypeValidation": true
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "310853de-ab7e-481e-8efa-5a681f08032b",
|
||||
"name": "Success Video?",
|
||||
"type": "n8n-nodes-base.if",
|
||||
"position": [
|
||||
660,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"conditions": {
|
||||
"options": {
|
||||
"version": 2,
|
||||
"leftValue": "",
|
||||
"caseSensitive": true,
|
||||
"typeValidation": "loose"
|
||||
},
|
||||
"combinator": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"id": "47eee8ce-0237-48f2-b67f-04021d3acda2",
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"operation": "equals"
|
||||
},
|
||||
"leftValue": "={{ $json.result }}\n",
|
||||
"rightValue": "true"
|
||||
}
|
||||
]
|
||||
},
|
||||
"looseTypeValidation": true
|
||||
},
|
||||
"typeVersion": 2.2
|
||||
},
|
||||
{
|
||||
"id": "81ec87fc-9298-4cd6-8a46-45ee6cb050b3",
|
||||
"name": "Result Photo",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
440,
|
||||
-180
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "551c5179-055a-415e-bf17-61f2a5dd2769",
|
||||
"name": "=result",
|
||||
"type": "string",
|
||||
"value": "={{ $json.results[$('Video or Photo?').item.json.Platform].success.toBoolean() }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "936ac765-0e7c-411d-b70d-bdfbe8e180a6",
|
||||
"name": "Result Video",
|
||||
"type": "n8n-nodes-base.set",
|
||||
"position": [
|
||||
440,
|
||||
280
|
||||
],
|
||||
"parameters": {
|
||||
"options": {},
|
||||
"assignments": {
|
||||
"assignments": [
|
||||
{
|
||||
"id": "551c5179-055a-415e-bf17-61f2a5dd2769",
|
||||
"name": "=result",
|
||||
"type": "string",
|
||||
"value": "={{ $json.results[$('Video or Photo?').item.json.Platform].success.toBoolean() }}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"typeVersion": 3.4
|
||||
},
|
||||
{
|
||||
"id": "3a3d66ae-7ecd-43aa-a905-10afdab753b3",
|
||||
"name": "Video or Photo?",
|
||||
"type": "n8n-nodes-base.switch",
|
||||
"position": [
|
||||
-120,
|
||||
120
|
||||
],
|
||||
"parameters": {
|
||||
"rules": {
|
||||
"values": [
|
||||
{
|
||||
"outputKey": "Image",
|
||||
"conditions": {
|
||||
"options": {
|
||||
"version": 2,
|
||||
"leftValue": "",
|
||||
"caseSensitive": true,
|
||||
"typeValidation": "strict"
|
||||
},
|
||||
"combinator": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"id": "879af56a-8979-4d9d-9acd-6009d821f6a7",
|
||||
"operator": {
|
||||
"type": "string",
|
||||
"operation": "equals"
|
||||
},
|
||||
"leftValue": "={{ $json.Upload.mimetype }}",
|
||||
"rightValue": "image/jpeg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"renameOutput": true
|
||||
},
|
||||
{
|
||||
"outputKey": "Video",
|
||||
"conditions": {
|
||||
"options": {
|
||||
"version": 2,
|
||||
"leftValue": "",
|
||||
"caseSensitive": true,
|
||||
"typeValidation": "strict"
|
||||
},
|
||||
"combinator": "and",
|
||||
"conditions": [
|
||||
{
|
||||
"id": "d7ee147d-d775-4b81-b043-0873c535b400",
|
||||
"operator": {
|
||||
"name": "filter.operator.equals",
|
||||
"type": "string",
|
||||
"operation": "equals"
|
||||
},
|
||||
"leftValue": "={{ $json.Upload.mimetype }}",
|
||||
"rightValue": "video/mp4"
|
||||
}
|
||||
]
|
||||
},
|
||||
"renameOutput": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {}
|
||||
},
|
||||
"typeVersion": 3.2
|
||||
},
|
||||
{
|
||||
"id": "76d1cc06-8bb5-43cd-8dcc-2da1656b0335",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-400,
|
||||
-1020
|
||||
],
|
||||
"parameters": {
|
||||
"width": 1380,
|
||||
"height": 680,
|
||||
"content": "## SETTINGS\n\n- Find your API key in your [Upload-Post Manage Api Keys](https://app.upload-post.com/) 10 FREE uploads per month\n- Set the the \"Auth Header\":\n-- Name: Authorization\n-- Value: Apikey YOUR_API_KEY_HERE\n- Create profiles to manage your social media accounts. The \"Profile\" you choose will be used in the field \"Account\" on form submission (eg. test1 or test2). \n\n\n\nApr-2025: YouTube integration is currently being verified by Google, and may not work as expected.\n"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"id": "e9b40e23-cde9-459d-b490-8adda6b9253f",
|
||||
"name": "Sticky Note1",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"position": [
|
||||
-400,
|
||||
-1240
|
||||
],
|
||||
"parameters": {
|
||||
"color": 3,
|
||||
"width": 1380,
|
||||
"height": 180,
|
||||
"content": "## Upload video and photo on TikTok, X, Facebook, Youtube, Instagram, Threads and Linkedin\n\nSimplify your social media workflow with our powerful platform designed for content creators and marketers.\n\nUpload your video once and let Upload-Post distribute it across all your connected social media accounts effortlessly."
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"pinData": {},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"versionId": "ac29ff60-2d87-4646-ae63-ab543f3849de",
|
||||
"connections": {
|
||||
"Post photo": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Result Photo",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Post video": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Result Video",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Result Photo": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Success Photo?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Result Video": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Success Video?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Success Photo?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "OK Photo",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "KO Photo",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Success Video?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "OK Video",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "KO Video",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Video or Photo?": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Post photo",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"node": "Post video",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"On form submission": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Video or Photo?",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user