Skip to content

Commit 66108c2

Browse files
committed
workflows: human in the loop example outline
1 parent dbae6bd commit 66108c2

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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>

0 commit comments

Comments
 (0)