Calculate profit margin and markup with interactive web forms
Ready for 3.0What this workflow does
This workflow has 21 nodes and runs when someone submits an n8n form (“Profit Margin and Markup Calculator”). It uses only n8n's built-in nodes.
How it runs
Trigger: When someone submits an n8n form (“Profit Margin and Markup Calculator”).
- Set URL (Edit Fields (Set)): sets 1 field: url
- Check Product Cost (If): checks a condition and branches into true / false
- Check Tax and Fee (If): checks a condition and branches into true / false
- Error Message about Cost (n8n Form): shows the next form page
- Switch: routes items into 2 branches
- Error Message about Tax and Fee (n8n Form): shows the next form page
- Return to Initial Page (n8n Form): shows the next form page
- Check Profit Margin (If): checks a condition and branches into true / false
- Check Markup (If): checks a condition and branches into true / false
- Return to Initial Page (n8n Form): shows the next form page
…plus 10 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 (6)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Code
n8n-nodes-base.code
From the author
Quick Overview This workflow exposes an n8n Form that calculates a product’s selling price from cost, tax, and marketplace fees using either a target profit margin or a target markup, then displays the resulting price, profit, margin, and markup (or a…