Diagram Desk

ATM withdrawal flowchart

Withdrawing cash at an ATM: PIN check, then balance check, with the card kept after three wrong PINs. Good practice for chained decisions.

The diagram

StartInsert card, enter PINPIN correct?Third wrong try?Keep card, show noticeEndEnter amountEnough balance?Show insufficient fundsDispense cash andreceiptnonoyesyesnoyes
Flowchart · 10 shapes

Reading it step by step

  • 1. Start at 'Start'.
  • 2. 'Insert card, enter PIN' is an input or output. Next: 'PIN correct?'.
  • 3. Decide 'PIN correct?': if 'no', go to 'Third wrong try?'; if 'yes', go to 'Enter amount'.
  • 4. Decide 'Third wrong try?': if 'no', go to 'Insert card, enter PIN'; if 'yes', go to 'Keep card, show notice'.
  • 5. 'Keep card, show notice' is a processing step. Next: 'End'.
  • 6. End at 'End'.
  • 7. 'Enter amount' is an input or output. Next: 'Enough balance?'.
  • 8. Decide 'Enough balance?': if 'no', go to 'Show insufficient funds'; if 'yes', go to 'Dispense cash and receipt'.
  • 9. 'Show insufficient funds' is a processing step. Next: 'Enter amount'.
  • 10. 'Dispense cash and receipt' is a processing step. Next: 'End'.

Shape by shape

ShapeSymbolConnections
StartTerminator→ Insert card, enter PIN
Insert card, enter PINInput/output→ PIN correct? · ← Start, Third wrong try?
PIN correct?Decision→ Third wrong try?(no), Enter amount(yes) · ← Insert card, enter PIN
Third wrong try?Decision→ Insert card, enter PIN(no), Keep card, show notice(yes) · ← PIN correct?
Keep card, show noticeProcess→ End · ← Third wrong try?
EndTerminator← Keep card, show notice, Dispense cash and receipt
Enter amountInput/output→ Enough balance? · ← PIN correct?, Show insufficient funds
Enough balance?Decision→ Show insufficient funds(no), Dispense cash and receipt(yes) · ← Enter amount
Show insufficient fundsProcess→ Enter amount · ← Enough balance?
Dispense cash and receiptProcess→ End · ← Enough balance?

Symbols used here

SymbolMeaning
TerminatorWhere the flow starts or ends; a rounded rectangle.
ProcessOne action such as a calculation; a rectangle.
DecisionA question whose answer picks the next path; a diamond.
Input/outputData comes in or goes out; a parallelogram.
Flow lineThe order of steps, in the arrow direction.

All flowchart symbols and how to draw

Diagram text

Paste this text into the editor to get the same picture, then change the names to fit your own work.

# ATM withdrawal flowchart
flowchart TD
  s(["Start"])
  a[/"Insert card, enter PIN"/]
  b{"PIN correct?"}
  c{"Third wrong try?"}
  d["Keep card, show notice"]
  z(["End"])
  e[/"Enter amount"/]
  f{"Enough balance?"}
  g["Show insufficient funds"]
  h["Dispense cash and receipt"]
  s --> a
  a --> b
  b -->|no| c
  c -->|no| a
  c -->|yes| d
  d --> z
  b -->|yes| e
  e --> f
  f -->|no| g
  g --> e
  f -->|yes| h
  h --> z

More flowchart examples

All SeewolLabs tools