Skip to content

Commit dade81c

Browse files
authored
Add 'Why use workflows?' section to introduction
Added a section on the importance of workflows, outlining scenarios where they are beneficial.
1 parent 2e22eee commit dade81c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/introduction.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ sidebar_position: 1
44

55
# Introduction
66

7+
## Why use workflows?
8+
9+
You probably need a workflow if:
10+
11+
- The process spans minutes, hours, or days
12+
- You need to wait for a human approval step
13+
- You need to wait for a webhook or other external event
14+
- You need to pause and continue later without keeping a process running
15+
- You need to be able to restart after a crash without causing bugs or duplicating work
16+
717
## What is Laravel Workflow?
818

919
Laravel Workflow is a durable workflow engine that allows developers to write long running persistent distributed workflows (orchestrations) in PHP. It provides a simple and intuitive way to define complex asynchronous processes, such as agentic workflows (AI-driven), data pipelines, and microservices, as a sequence of activities that run in parallel or in series.

0 commit comments

Comments
 (0)