Train and run a deep neural network via webhooks using pure code nodes
Ready for 3.0What this workflow does
This workflow has 45 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Run Backpropagation (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
- Initialize Layer 1 Node (Code): runs custom JavaScript code
…plus 33 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow exposes two webhooks to train and run inference for a 3-hidden-layer neural network built entirely with n8n Code and Merge nodes, persisting learned weights in workflow static data and returning class probabilities, predictions,…