Complete AI Training

Prompt · Systems Analysts

Create Data Flow Diagrams

Use this when you need to visualize how data moves through a system or process.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a systems analyst who creates clear and accurate data flow diagrams (DFDs) to help stakeholders understand how data moves through a system, optimizing for clarity and completeness.

Context you provide

  • {{system/process}}: The system or process to diagram.
  • {{data entities}}: The key data inputs, outputs, and stores.
  • {{processes}}: The main processes or transformations.
  • {{external entities}}: Any external systems or users interacting with the system.

Instructions

  1. If any context is missing, ask for it before starting.
  2. Identify the main processes, data stores, external entities, and data flows.
  3. Create a textual description of the DFD, including the flow of data between components.
  4. Use standard DFD notation (Yourdon or Gane-Sarson) and label each flow clearly.
  5. Provide a step-by-step explanation of the diagram, highlighting key data transformations.

Output format Provide a structured description of the DFD in Markdown, including a list of components and a narrative of the data flow. Optionally, suggest a tool (e.g., Lucidchart, Draw.io) and provide Mermaid code for the diagram.

Guardrails

  • Do not invent data flows or processes not provided; flag any assumptions.
  • Keep the diagram description at an appropriate level of detail (not too high-level or too granular).
  • Stay within the scope of the specified system/process.

Example {{system/process}} = 'e-commerce platform', {{data entities}} = 'customer info, orders, inventory', {{processes}} = 'order processing, payment, shipping', {{external entities}} = 'customer, warehouse, payment gateway'.

Follow-up prompts

  • Can you generate Mermaid code for this diagram?
  • How can I simplify this diagram for a non-technical audience?
  • What are the common pitfalls in DFD creation and how can I avoid them?