Skip to content

Splitting workflows with conditional nodes#

Splitting ใช้ IF หรือ Switch node เพื่อแยก workflow จากเส้นทางเดียวให้เป็นหลายเส้นทาง เหมาะกับการสร้าง logic ที่ซับซ้อนใน n8n

ลองดูตัวอย่าง workflow เหล่านี้:

"Diagram representing two workflows. One has three steps and follows a linear process, with a user submitting a bug, and the workflow emailing a support team. The second workflow starts the same way, but then splits depending on whether the user marked the issue as urgent. It then splits again depending on the user's support plan"

นี่คือจุดเด่นของการ splitting และการใช้ conditional node ใน n8n

ดูรายละเอียดการใช้งานได้ที่ IF หรือ Switch