You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workflows/examples/send-invoices.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ description: Send invoice when shopping cart is checked out and paid for
15
15
16
16
import { TabItem, Tabs } from"~/components"
17
17
18
-
In this example we implement a Workflow for that is triggered
18
+
In this example, we implement a Workflow for an e-commerce website that is triggered every time a shopping cart is created.
19
19
20
20
Once a workflow instance is triggered, it starts polling a [D1](/d1) database for the cart ID until it's been checked out. Once the shopping cart is checked out, we proceed to process the payment with an external provider doing a fetch POST. Finally, assuming everything goes well, we try to send an email using [Email Workers](/email-routing/email-workers/) with the invoice to the customer.
0 commit comments