AI
Workflow Diagram Generator
Brought to you by the folks at

How to generate an AI Workflow Diagram

Step-by-step guide on generating a Workflow Diagram

  1. Write a prompt describing the workflow. Aim for 3–4 sentences or a structured outline. Include:
    1. Phases or stages – Identify the key stages of the workflow (e.g. "Request Submission", "Manager Review", "Final Approval").
    2. Tasks within each phase – Describe the main actions taken in each stage. You can also include the role responsible (e.g. "HR team verifies documents").
    3. Start and end points – Clearly define where the process begins and ends. For example, “Workflow begins when a form is submitted and ends when approval is granted.”
  2. Generate the diagram using the written prompt. The AI will convert it into a structured, flowchart-style diagram showing the progression of tasks across phases.
  3. Refine the diagram with follow-up prompts (requires signing into Eraser). You can add missing steps, rename items, or clarify task descriptions.
  4. Manually adjust the layout using GUI tools (also requires sign-in). Drag and drop elements to clean up spacing, align nodes, or improve the visual structure.

Tips on generating a Workflow Diagram

  • Start with existing documentation – Pull steps from SOPs, project plans, onboarding manuals, or stakeholder interviews. This saves time and ensures accuracy.
  • Use an AI assistant to organize your thoughts – If the process is complex, prompt an LLM to outline the phases and tasks first. For example: “Break this into workflow stages and tasks by role.” This helps you generate a clean and complete prompt before feeding it into the diagram tool.

Trusted by leading architecture teams globally

FAQs

How do I get started?
Try one of our presets. Select an option under "Load a preset" and click "Generate Diagram". You can also browse our use case video library for more inspiration.
Can I edit my diagram?
Yes, the diagrams can be edited in Eraser, a docs and diagram tools built for engineering teams. Click on "Save and Edit Diagram". In Eraser, the diagrams can be edited using Eraser's diagram-as-code syntax.
Who made this and what is Eraser?
DiagramGPT was created by the team at Eraser, leveraging OpenAI's GPT-4. Eraser (eraser.io) is a whiteboard for engineering teams. You can edit your DiagramGPT generated diagrams using Eraser.
How can I share feedback?
We'd love to hear from you. Reach out to us at hello@tryeraser.com, on Twitter (@eraserlabs), or join our Slack community.
What types of diagrams can it draw?
4 types are currently available – flow charts, entity relationship diagrams, cloud architecture diagrams, and sequence diagrams.
Is there an API?
Yes, you can read our API documentation here. Due to LLM costs, the API is only available to Professional Plan teams.
Will my data be used for LLM training?
No. OpenAI nor Eraser will use your data to train AI models. Eraser may analyze your usage to improve and enhance our AI feature.
What's next?
It only gets better from here. We're working to improve accuracy and layout customization. If there's something you'd really like to see, drop us a note at hello@tryeraser.com.