File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
src/content/docs/workflows/examples Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ type : example
3+ summary : Request approvals and input within a Workflow instance
4+ tags :
5+ - Workflows
6+ - Workers AI
7+ - Agents
8+ pcx_content_type : configuration
9+ title : Human-in-the-loop Agents
10+ sidebar :
11+ order : 10
12+ description : Request approvals and input within a Workflow instance
13+
14+ ---
15+
16+ import { TabItem , Tabs , WranglerConfig } from " ~/components"
17+
18+ TODO
19+
20+ <WranglerConfig >
21+
22+ ``` toml
23+ name = " cart-invoices"
24+ main = " src/index.ts"
25+ compatibility_date = " 2024-10-22"
26+ compatibility_flags = [" nodejs_compat" ]
27+
28+ [[workflows ]]
29+ name = " cart-invoices-workflow"
30+ binding = " CART_WORKFLOW"
31+ class_name = " cartInvoicesWorkflow"
32+
33+ [[send_email ]]
34+ name = " SEND_EMAIL"
35+ ```
36+
37+ </WranglerConfig >
You can’t perform that action at this time.
0 commit comments