mirror of
https://github.com/cloudflare/skills.git
synced 2026-04-25 14:45:54 +03:00
[GH-ISSUE #23] Workflows reference: event.params should be event.payload #7
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/skills#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FredKSchott on GitHub (Feb 18, 2026).
Original GitHub issue: https://github.com/cloudflare/skills/issues/23
Multiple files in the workflows reference use
event.paramsto access workflow event data, but the actualWorkflowEvent<T>type fromcloudflare:workersusesevent.payload.From the runtime type definition:
Affected files (non-exhaustive):
references/workflows/api.md— e.g.event.params.paymentMethod,event.params.userIdreferences/workflows/patterns.md— e.g.event.params.imageKey,event.params.email,event.params.sourceUrlreferences/workflows/gotchas.md— best practices mentionevent.payloadin one place but the rest of the docs consistently useevent.paramsAll instances of
event.paramsin workflow code examples should beevent.payload.Source:
cloudflare:workerstype definitions and https://developers.cloudflare.com/workflows/build/events-and-parameters/