Docs/Getting Started/Your First Workflow

Getting Started

Your First Workflow

Build a real purchase order approval flow from scratch — step by step.

What we're building

A four-step purchase order approval flow. When a PO is raised (manually or from your ERP), it goes to the procurement officer, then to a manager if over £5,000, then dispatches a supplier notification automatically.

StepTypeAssignee
PO SubmittedRequestProcurement officer
Finance ReviewApprovalFinance team (if PO > £5,000)
Manager Sign-offApprovalVP Operations
Supplier NotifiedNotifyAutomatic

Open the canvas

1
Go to Business Processes

Click the Waypoints icon in the left sidebar.

2
Click New flow

Give it a name: Purchase Order Approval.

3
You'll see a blank grid

This is the canvas. Nodes on the left panel can be dragged onto the grid. Arrows connect them.

Build the flow

1
Add the Request node

Drag a Request node onto the canvas. Label it 'PO Submitted'. This is the trigger — someone starts the flow here, or your ERP sends a purchase_order_created webhook event.

2
Add Finance Review

Drag an Approval node. Label it 'Finance Review'. In the settings panel: Assignee = Finance Role. Condition = only if PO value > 5000. Deadline = 24 hours.

3
Add Manager Sign-off

Drag another Approval node. Label it 'Manager Sign-off'. Assignee = VP Operations. Deadline = 4 hours. Escalation = after deadline, notify Head of Procurement.

4
Add Supplier Notification

Drag a Notify node. Label it 'Supplier Notified'. Channel = Email. Template = 'Your PO {po_id} has been approved. Expected delivery date: {delivery_date}'.

5
Draw the arrows

Hover over each node to see its connection handle. Drag from Request → Finance Review → Manager Sign-off → Supplier Notified. Add a bypass arrow from Request → Manager Sign-off for POs under £5,000.

6
Activate

Click Activate in the top right. The flow is live.

Test it

1
Click Simulate

This runs the flow without sending real notifications. You'll see each step light up as it progresses.

2
Submit a test PO

Go to Operations dashboard. Click New Request. Select Purchase Order Approval. Fill in PO details. Submit.

3
Approve it

As the Finance role or Manager, you'll see the pending approval in your dashboard. Approve it and watch the next step activate.

4
Check the audit trail

Every action is logged with who did it and when. Open the flow run to see the full timeline.

Connect to your ERP

Once your flow works manually, connect it to your ERP so purchase orders automatically trigger the flow. See the Connecting Your ERP guide for the n8n setup. The webhook event type is purchase_order_created.