Problem with form submission node

I’m having problems with my first node of this workflow which is the form sumission node, whatever I try I get: Problem running workflow

Please resolve outstanding issues before you activate it

and there are no errors showing on the workflow

{
“nodes”: [
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “84924182-8e05-4bc6-b8b6-3863c1be0f06”,
“name”: “User Input”,
“value”: “={{ $json[‘The Main Topic’] }}”,
“type”: “string”
},
{
“id”: “02602696-d3ad-4aeb-9d18-e80c6cf2ec17”,
“name”: “Script Duration”,
“value”: “={{ $json.Duration }}”,
“type”: “string”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
20,
160
],
“id”: “602be9f5-1942-4940-8320-7559009a72b5”,
“name”: “Set Idea”
},
{
“parameters”: {
“content”: “## Create script, title & description”,
“height”: 500,
“width”: 1820,
“color”: 5
},
“type”: “n8n-nodes-base.stickyNote”,
“typeVersion”: 1,
“position”: [
0,
0
],
“id”: “61b0940e-8e95-424a-8088-ff9c53ffc356”,
“name”: “Sticky Note”
},
{
“parameters”: {
“schemaType”: “manual”,
“inputSchema”: “{\n "type": "object",\n "properties": {\n "Title": {\n "type": "string",\n "description": "Short and engaging title, curiosity-driven."\n },\n "Description": {\n "type": "string",\n "description": "Short description with key hashtags, hook, context, CTA, and hashtags."\n },\n "Hook": {\n "type": "string",\n "description": "Introduction."\n },\n "MainScript": {\n "type": "string",\n "description": "Main script content."\n },\n "CTA": {\n "type": "string",\n "description": "Call to action"\n }\n },\n "required": ["Title", "Description", "Intro", "MainScript"]\n}”
},
“type”: “@n8n/n8n-nodes-langchain.outputParserStructured”,
“typeVersion”: 1.2,
“position”: [
1040,
380
],
“id”: “9a377e79-9485-419b-9d1e-68ef2f314180”,
“name”: “Structured Output Parser1”
},
{
“parameters”: {
“promptType”: “define”,
“text”: “=The Topic:\n{{ $json["User Input"] }}\n\nRough Duration:\n{{ $(‘Set Idea’).item.json[‘Script Duration’] }}”,
“messages”: {
“messageValues”: [
{
“message”: “=Act as a YouTube video scriptwriter who specializes in transforming user-submitted ideas—whether they are story concepts or intriguing facts—into engaging, bite-sized video scripts. The user will also provide a target video length, which you should keep in mind while crafting the content. Your goal is to take these ideas and produce compelling, original content without referencing specific sources or names.\n\nYour script should be engaging, energetic, and easy to follow, turning user concepts into captivating narratives within the specified video length. Use a conversational tone, vivid descriptions, and a strong hook to instantly grab attention. Keep the pacing snappy, ensuring that every second counts.\n\nNEVER add linebreaks or emojis to the hook, main script & CTA\n\nOutput Format:\n- Title: [Catchy, curiosity-driven title based on user idea] \n- Description: [50-150 characters, snappy summary with key hashtags relevant to the user’s topic] \n- Hook: [An attention-grabbing opening line inspired by the user idea] \n- MainScript: [A natural, spoken-style script without line breaks or emojis, tailored to the user-defined video length] \n- Call to Action: [A compelling prompt encouraging viewers to engage, like "What was your favorite part of this story?" or "Want to explore more ideas? Follow for more!"]\n\nMake sure the MainScript feels seamless and original, as if these insights are being shared firsthand. No direct references to names, specific sources, or the user—just pure, engaging storytelling that keeps viewers hooked.”
}
]
}
},
“type”: “@n8n/n8n-nodes-langchain.chainLlm”,
“typeVersion”: 1.5,
“position”: [
460,
260
],
“id”: “6d790161-2600-46a6-b3fa-0b8f333e0647”,
“name”: “Script Writier :brain:
},
{
“parameters”: {
“promptType”: “define”,
“text”: “=User Imput:\n{{ $json.text }}”,
“hasOutputParser”: true,
“messages”: {
“messageValues”: [
{
“message”: “=Take the user input and output in the following JSON Structure, DO NOT change or alter any of the text\n\n{\n "type": "object",\n "properties": {\n "Title": {\n "type": "string",\n "description": "Short and engaging title, curiosity-driven."\n },\n "Description": {\n "type": "string",\n "description": "Short description with key hashtags, hook, context, CTA, and hashtags."\n },\n "Hook": {\n "type": "string",\n "description": "The hook."\n },\n "MainScript": {\n "type": "string",\n "description": "Main script content."\n },\n "CTA": {\n "type": "string",\n "description": "Call to action"\n }\n },\n "required": ["Title", "Description", "Intro", "MainScript"]\n}”
}
]
}
},
“type”: “@n8n/n8n-nodes-langchain.chainLlm”,
“typeVersion”: 1.5,
“position”: [
860,
160
],
“id”: “70d1e520-3493-4c2e-ba89-03803ff4a326”,
“name”: “Output Parser :hammer_and_wrench:
},
{
“parameters”: {
“rules”: {
“values”: [
{
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“leftValue”: “={{ $(‘On form submission’).item.json[‘Video Type’] }}”,
“rightValue”: “From transcript”,
“operator”: {
“type”: “string”,
“operation”: “equals”
},
“id”: “67835e1a-7770-4d3e-b9d6-0dac59a5923a”
}
],
“combinator”: “and”
},
“renameOutput”: true,
“outputKey”: “From transcript”
},
{
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “171a9dfd-59a3-49a4-af28-c284abc85f13”,
“leftValue”: “”,
“rightValue”: “”,
“operator”: {
“type”: “string”,
“operation”: “equals”,
“name”: “filter.operator.equals”
}
}
],
“combinator”: “and”
},
“renameOutput”: true,
“outputKey”: “User Idea”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.switch”,
“typeVersion”: 3.2,
“position”: [
200,
160
],
“id”: “699dd7b6-8c03-4267-aba6-ceb213c3af6c”,
“name”: “Switch”
},
{
“parameters”: {
“promptType”: “define”,
“text”: “=The Transcript:\n{{ $json[‘User Input’] }}”,
“messages”: {
“messageValues”: [
{
“message”: “=Act as a YouTube video scriptwriter who specializes in transforming insights, interesting facts, and key takeaways into engaging, bite-sized video scripts. Your goal is to craft compelling short-form scripts based on the most intriguing ideas from long-form podcast transcripts—presenting them as fresh, original content without referencing sources or names. \n\nYour script should be engaging, energetic, and easy to follow, turning complex ideas into exciting, digestible narratives. Use a conversational tone, vivid descriptions, and a strong hook to instantly grab attention. Keep the pacing snappy, ensuring every second counts. \n\nImportant Guidelines:\n- Do NOT use asterisks () or emojis. Keep the text clean and formatted naturally. \n- Do NOT include line breaks within the "MainScript" unless necessary for readability. Write in a natural, spoken style as if it’s being delivered by a person. \n- The script must feel ORIGINAL and conversational, without direct references to specific podcasts, hosts, or episodes. \n- The Call to Action should remain simple and engaging. Examples: "What was your favorite insight?" or "Want more ideas like this? Follow for more!"\n\nOutput Format: \n- Title: [Catchy, curiosity-driven title] \n- Description: [50-150 characters, snappy summary with key hashtags] \n- Hook: [An attention-grabbing opening line] \n- MainScript: [A natural, spoken-style script—NO asterisks, NO emojis, NO unnecessary formatting] \n- Call to Action: [A compelling prompt encouraging viewers to engage] \n\nMake sure the MainScript feels seamless and engaging, as if these insights are being shared firsthand. Keep everything punchy and to the point, ensuring high retention and engagement. "
}
]
}
},
“type”: “@n8n/n8n-nodes-langchain.chainLlm”,
“typeVersion”: 1.5,
“position”: [
460,
40
],
“id”: “fd7ab910-7105-47cd-841b-925fd48eed55”,
“name”: “Long form to Script Writier :brain:
},
{
“parameters”: {
“operation”: “create”,
“databaseId”: 114,
“tableId”: 450,
“fieldsUi”: {
“fieldValues”: [
{
“fieldId”: 4398,
“fieldValue”: “={{ $(‘Output Parser :hammer_and_wrench:’).item.json.output.Title }}”
},
{
“fieldId”: 4906,
“fieldValue”: “={{ $(‘Output Parser :hammer_and_wrench:’).item.json.output.Description }}”
},
{
“fieldId”: 4965,
“fieldValue”: “={{ $json.Script }}”
},
{
“fieldId”: 6631,
“fieldValue”: “={{ $(‘Set Idea’).item.json[‘User Input’] }}”
},
{
“fieldId”: 6630,
“fieldValue”: “={{ $(‘On form submission’).item.json[‘Generative Style’] }}”
},
{
“fieldId”: 6222,
“fieldValue”: “={{ $(‘On form submission’).item.json[‘TTS Voice’] }}”
},
{
“fieldId”: 6632,
“fieldValue”: “Processing”
},
{
“fieldId”: 6633,
“fieldValue”: “={{ $(‘On form submission’).item.json[‘Image Provider’] }}”
}
]
}
},
“type”: “n8n-nodes-base.baserow”,
“typeVersion”: 1,
“position”: [
1600,
160
],
“id”: “b76b9413-f224-44b3-9557-e30ee6de46dd”,
“name”: “Baserow - Create record”,
“credentials”: {
“baserowApi”: {
“id”: “uPtanahSaHLSeXkn”,
“name”: “Baserow account”
}
}
},
{
“parameters”: {
“model”: “deepseek/deepseek-chat-v3-0324:free”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenRouter”,
“typeVersion”: 1,
“position”: [
780,
380
],
“id”: “b9a77017-e932-4bce-9e1b-458d9144a346”,
“name”: “Open Router - Deepseek v3.1”,
“credentials”: {
“openRouterApi”: {
“id”: “JjGLxcfhHBCnCBFl”,
“name”: “OpenRouter account”
}
}
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “7cd1dc03-8331-44ba-bda9-848145bab939”,
“name”: “Main Script”,
“value”: “={{ $json.output.Hook }} {{ $json.output.MainScript }} {{ $json.output.CTA }}”,
“type”: “string”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
1200,
160
],
“id”: “f46e3379-30da-4705-ad73-25d382a60d8a”,
“name”: “Combine”
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “bfd6c0e6-93c2-496a-8f3d-9ebc3061e78f”,
“name”: “Script”,
“value”: "={{$json[‘Main Script’]\n .replace(/\n{2,}/g, "") // Remove multiple newlines\n .replace(/\
(.?)\/g, "$1") // Remove asterisks around words\n}}\n”,
“type”: “string”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
1380,
160
],
“id”: “22eac723-a16e-4c81-9d43-5c0231f94540”,
“name”: “Format Cleanup”
},
{
“parameters”: {
“formTitle”: “Brainer Rotter 5000”,
“formDescription”: “Creates Brain Rot”,
“formFields”: {
“values”: [
{
“fieldLabel”: “The Main Topic”,
“fieldType”: “textarea”,
“placeholder”: “Amazing world of cats”,
“requiredField”: true
},
{
“fieldLabel”: “Duration”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “30 Second”
},
{
“option”: “1 Minute”
},
{
“option”: “2 Minutes”
}
]
}
},
{
“fieldLabel”: “Generative Style”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “Lego”
},
{
“option”: “Minecraft”
},
{
“option”: “Disney Pixar”
},
{
“option”: “Hand-Drawn”
},
{
“option”: “Chibi”
},
{
“option”: “Anime”
},
{
“option”: “Hyper-Realistic”
},
{
“option”: “Cyberpunk”
},
{
“option”: “fantasy”
}
]
}
},
{
“fieldLabel”: “Video Type”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “From user idea”
},
{
“option”: “From transcript”
}
]
},
“requiredField”: true
},
{
“fieldLabel”: “TTS Voice”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “af_alloy”
},
{
“option”: “af_aoede”
},
{
“option”: “af_bella”
},
{
“option”: “af_heart”
},
{
“option”: “af_jadzia”
},
{
“option”: “af_jessica”
},
{
“option”: “af_kore”
},
{
“option”: “af_nicole”
},
{
“option”: “af_nova”
},
{
“option”: “af_river”
},
{
“option”: “af_sarah”
},
{
“option”: “af_sky”
},
{
“option”: “am_adam”
},
{
“option”: “am_echo”
},
{
“option”: “am_eric”
},
{
“option”: “am_fenrir”
},
{
“option”: “am_liam”
},
{
“option”: “am_michael”
},
{
“option”: “am_onyx”
},
{
“option”: “am_puck”
},
{
“option”: “am_santa”
}
]
},
“requiredField”: true
},
{
“fieldLabel”: “Image Provider”,
“fieldType”: “dropdown”,
“fieldOptions”: {
“values”: [
{
“option”: “together.ai”
},
{
“option”: “fal.ai”
}
]
},
“requiredField”: true
}
]
},
“options”: {
“appendAttribution”: false,
“ignoreBots”: true
}
},
“type”: “n8n-nodes-base.formTrigger”,
“typeVersion”: 2.2,
“position”: [
-220,
160
],
“id”: “948df1f4-5121-4860-9dd0-1a3ae860379e”,
“name”: “On form submission”,
“webhookId”: “3b749a18-39ca-4f86-9f0d-c3de1cf8a05f”
}
],
“connections”: {
“Set Idea”: {
“main”: [
[
{
“node”: “Switch”,
“type”: “main”,
“index”: 0
}
]
]
},
“Structured Output Parser1”: {
“ai_outputParser”: [
[
{
“node”: “Output Parser :hammer_and_wrench:”,
“type”: “ai_outputParser”,
“index”: 0
}
]
]
},
“Script Writier :brain:”: {
“main”: [
[
{
“node”: “Output Parser :hammer_and_wrench:”,
“type”: “main”,
“index”: 0
}
]
]
},
“Output Parser :hammer_and_wrench:”: {
“main”: [
[
{
“node”: “Combine”,
“type”: “main”,
“index”: 0
}
]
]
},
“Switch”: {
“main”: [
[
{
“node”: “Long form to Script Writier :brain:”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “Script Writier :brain:”,
“type”: “main”,
“index”: 0
}
]
]
},
“Long form to Script Writier :brain:”: {
“main”: [
[
{
“node”: “Output Parser :hammer_and_wrench:”,
“type”: “main”,
“index”: 0
}
]
]
},
“Open Router - Deepseek v3.1”: {
“ai_languageModel”: [
[
{
“node”: “Output Parser :hammer_and_wrench:”,
“type”: “ai_languageModel”,
“index”: 0
},
{
“node”: “Script Writier :brain:”,
“type”: “ai_languageModel”,
“index”: 0
},
{
“node”: “Long form to Script Writier :brain:”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Combine”: {
“main”: [
[
{
“node”: “Format Cleanup”,
“type”: “main”,
“index”: 0
}
]
]
},
“Format Cleanup”: {
“main”: [
[
{
“node”: “Baserow - Create record”,
“type”: “main”,
“index”: 0
}
]
]
},
“On form submission”: {
“main”: [
[
{
“node”: “Set Idea”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“instanceId”: “fb410e0af8c11d5f788c0079e3948f011792b9a1fb1e08df367a129ee073f742”
}
}