Skip to content

Commit 09df5cf

Browse files
committed
update landing page
1 parent 05a635a commit 09df5cf

File tree

3 files changed

+29
-24
lines changed

3 files changed

+29
-24
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
pcx_content_type: navigation
3+
title: Vectorize
4+
external_link: /workflows/
5+
head: []
6+
description: APIs available in Cloudflare Workers to interact with
7+
Workflows. Workflows allow you to build durable, multi-step applications
8+
using Workers.
9+
10+
---

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ interface Env {
5555

5656
export default {
5757
async fetch(req: Request, env: Env) {
58-
//
58+
//
5959
const instanceId = new URL(req.url).searchParams.get("instanceId")
6060

6161
// If an ?instanceId=<id> query parameter is provided, fetch the status
@@ -84,3 +84,7 @@ export default {
8484
## REST API (HTTP)
8585

8686
TODO
87+
88+
## Command line (CLI)
89+
90+
Refer to the [CLI quick start](/workflows/get-started/cli-quick-start/) to learn more about how to manage and trigger Workflows via the command-line.

src/content/docs/workflows/index.mdx

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,48 +7,43 @@ sidebar:
77
order: 1
88
head:
99
- tag: title
10-
content: Cloudflare D1
10+
content: Cloudflare Workflows
1111

1212
---
1313

1414
import { CardGrid, Description, Feature, LinkTitleCard, Plan, RelatedProduct } from "~/components"
1515

1616
<Description>
1717

18-
19-
Create new serverless SQL databases to query from your Workers and Pages projects.
20-
18+
Build durable multi-step applications on Cloudflare Workers with Workflows.
2119

2220
</Description>
2321

2422
<Plan type="workers-all" />
2523

26-
D1 is Cloudflare’s native serverless database. D1 allows you to build applications that handle large amounts of users at no extra cost. With D1, you can restore your database to any minute within the last 30 days.
24+
Workflows is a durable execution engine built on Cloudflare Workers. Workflows allow you to build multi-step applications that can automatically retry, persist state and run for minutes, hours, days or weeks. Workflows introduces a programming model that makes it easier to build reliable, long-running tasks, observe as they progress, and programatically trigger instances based on events across your services.
2725

28-
Create your first D1 database by [following the Get started guide](/d1/get-started/), learn how to [import data into a database](/d1/build-with-d1/import-export-data/), and how to [interact with your database](/d1/build-with-d1/d1-client-api/) directly from [Workers](/workers/) or [Pages](/pages/functions/bindings/#d1-databases).
26+
Refer to the [get started guide](/workflows/get-started/guide/) to start building with Workflows
2927

3028
***
3129

3230
## Features
3331

34-
<Feature header="Create your first D1 database" href="/d1/get-started/" cta="Create your D1 database">
35-
36-
Create your first D1 database, establish a schema, import data and query D1 directly from an application [built with Workers](/workers/).
32+
<Feature header="Deploy your first Workflow" href="/workflows/get-started/guide/" cta="Deploy your first Workflow">
3733

34+
Define your first Workflow, understand how to compose multi-steps, and deploy to production.
3835

3936
</Feature>
4037

41-
<Feature header="SQLite" href="/d1/build-with-d1/d1-client-api/" cta="Execute SQL queries">
42-
43-
Execute SQL with SQLite's SQL compatibility and D1 Client API.
38+
<Feature header="Rules of Workflows" href="/workflows/build/rules-of-workflows/" cta="Best practices">
4439

40+
Understand best practices when writing and building applications using Workflows.
4541

4642
</Feature>
4743

48-
<Feature header="Time Travel" href="/d1/reference/time-travel/" cta="Learn about Time Travel">
49-
50-
Time Travel is D1’s approach to backups and point-in-time-recovery, and allows you to restore a database to any minute within the last 30 days.
44+
<Feature header="Trigger Workflows" href="/workflows/build/trigger-workflows/" cta="Trigger Workflows from Workers">
5145

46+
Learn how to trigger Workflows from your Workers applications, via the REST API, and the command-line.
5247

5348
</Feature>
5449

@@ -76,16 +71,12 @@ Deploy dynamic front-end applications in record time.
7671

7772
<CardGrid>
7873

79-
<LinkTitleCard title="Pricing" href="/d1/platform/pricing/" icon="seti:shell">
80-
Learn about D1's pricing and how to estimate your usage.
81-
</LinkTitleCard>
82-
83-
<LinkTitleCard title="Limits" href="/d1/platform/limits/" icon="document">
84-
Learn about what limits D1 has and how to work within them.
74+
<LinkTitleCard title="Pricing" href="/workflows/reference/pricing/" icon="seti:shell">
75+
Learn more about how Workflows is priced.
8576
</LinkTitleCard>
8677

87-
<LinkTitleCard title="Community projects" href="/d1/reference/community-projects/" icon="pen">
88-
Browse what developers are building with D1.
78+
<LinkTitleCard title="Limits" href="/workflows/reference/limits/" icon="document">
79+
Learn about what limits Workflows has and how to work within them.
8980
</LinkTitleCard>
9081

9182
<LinkTitleCard title="Storage options" href="/workers/platform/storage-options/" icon="document">

0 commit comments

Comments
 (0)