Hello Kurt! Your friendly n8n support specialist here, ready to help you fix the issue with your Form Trigger and Sub-Workflow. I’m passionate about solving workflow puzzles, so let’s dive in!
Layman’s Terms (Simple & Friendly)
Problem: When you add a Sub-Workflow node, your Form Trigger gets stuck loading forever.
Why This Happens:
The Form Trigger and Sub-Workflow are like two people trying to talk at the same time, and they’re not listening to each other.
The Sub-Workflow might be blocking the Form Trigger from doing its job.
Simple Fix:
Check the Sub-Workflow: Make sure it’s not stuck in an endless loop.
Test Without Sub-Workflow: Remove the Sub-Workflow node and see if the Form Trigger works again.
Add Debug Nodes: Use a “Debug” node after the Form Trigger to see what’s happening.
Experienced User Guide (Step-by-Step Fix)
Root Cause: The Sub-Workflow might be causing a conflict with the Form Trigger’s webhook or blocking execution.
Steps to Fix:
Step 1: Verify Sub-Workflow
Open the Sub-Workflow and check for:
Infinite loops (e.g., a trigger node inside the Sub-Workflow).
Missing “Return” nodes (Sub-Workflows must end with a “Return” node).
Step 2: Debug the Form Trigger
Add a Debug Node right after the Form Trigger.
Submit the form and check the Debug Node’s output.
If no output, the Form Trigger isn’t firing.
If output, the issue is downstream (likely the Sub-Workflow).
Step 3: Test Without Sub-Workflow
Temporarily remove the Sub-Workflow node.
Replace it with a simple “Set” node to mimic the Sub-Workflow’s output.
Test the form again. If it works, the Sub-Workflow is the culprit.
Step 4: Rebuild the Sub-Workflow
Create a new Sub-Workflow from scratch.
Add a Return Node at the end to ensure it sends data back to the main workflow.
Test it in isolation before connecting it to the main workflow.
Professional Deep Dive (Technical Fix)
Technical Analysis:
Form Trigger: Relies on a webhook to listen for form submissions.
Sub-Workflow: Executes a separate workflow and returns data to the main workflow.
Conflict: The Sub-Workflow might be blocking the main workflow’s execution thread or causing a webhook collision.
Advanced Fix:
Step 1: Check Webhook Configuration
Ensure the Form Trigger’s webhook URL is unique and not shared with other workflows.
Verify the webhook is active:
Go to Settings > Webhooks in n8n.
Check if the Form Trigger’s webhook is listed and active.
Step 2: Isolate the Sub-Workflow
Test the Sub-Workflow independently:
Use a Manual Trigger to run the Sub-Workflow.
Check for errors or infinite loops.
Add a Function Node at the start of the Sub-Workflow to log inputs:
So I will attempt these steps, but I am sceptical if it will work. I understand the infinite loop issue may come from either sub-workflow, and that they may conflict, but the issue is that the workflow never moves past the form submit stage, so how can it be the sub-workflows since they aren’t even triggered yet?