SkillByAIOpen interactive version →

Dify Workflow Basics

Build LLM apps visually with Dify: workflows and chatflows, prompts and variables, knowledge bases, routing, iteration, code nodes, structured extraction, API calls and streaming, with runnable Python for every testable piece.

Start course →

What you'll learn

Syllabus

Getting to Know Dify

  1. What Dify Is
  2. App Types: Chatbot, Agent, Chatflow and Workflow
  3. Setting Up: Cloud or Self-Hosted, and Model Providers

Workflow Building Blocks

  1. Start Node and Variables
  2. LLM Nodes and Prompt Templates
  3. End Node and Outputs

Knowledge Bases and Retrieval

  1. Creating a Knowledge Base and Chunking
  2. Retrieval Settings: Search Mode, Top K and Threshold
  3. Grounded Answers From Retrieved Context

Routing, Classification and Iteration

  1. If/Else Branches
  2. Question Classifier Node
  3. Iteration Over Lists
  4. Variable Aggregator and Merging Branches

Code, Extraction and External Calls

  1. Code Nodes
  2. Parameter Extraction
  3. HTTP Requests, Tools and Plugins

Chatflows, Memory and Agents

  1. Chatflows Versus Workflows
  2. Memory and Context Length
  3. Agent Nodes and Tool Use

Publishing and Calling Apps

  1. Calling a Workflow Through the API
  2. Streaming Responses
  3. Publishing, Web Apps and Versions

Debugging, Cost and Production Readiness

  1. Logs, Tracing and Debugging
  2. Cost per Run
  3. A Production Readiness Checklist