© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Where do I set initial state? - Mastra
M
Mastra
•
5mo ago
•
3 replies
Aaron Farr
Where do I set initial state?
The docs
here
reference setting initialState when starting a workflow
. I can find no other reference to this in the documentation or the source code
. Where are we supposed to be setting this value
?
Workflows overview | Workflows | Mastra Docs | Mastra Documentation
Workflows in Mastra help you orchestrate complex sequences of tasks with features like branching
, parallel execution
, resource suspension
, and more
.
Mastra
Join
The TypeScript Agent FrameworkFrom the team that brought you Gatsby: prototype and productionize AI features with a modern JavaScript stack.
5,321
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
set state in Mastra Studio
M
Mastra / help-bugs-problems
3mo ago
Error: Invalid initial state: Invalid input: expected string, received undefined
M
Mastra / help-bugs-problems
4w ago
initial message generation
M
Mastra / help-bugs-problems
6mo ago
How do i retrieve the runTimeContext set in the playground's UI ?
M
Mastra / help-bugs-problems
6mo ago