Folder

Data and Storage

Builders separates durable files, run-local files, configuration values, database connections, and private model connections. Choose the resource by its lifetime and ownership boundary rather than using one store for every kind of data.

Choose the right resource

ResourceLifetimeBest forAccessed from
Static DrivePersists across runsTemplates, exports, shared reference files, and durable workflow artifactsDrive UI, Read File, Save File, and file-aware blocks
Context DriveOne workflow runUploads, generated intermediate files, and handoff between blocksRead File, Save File, file-aware blocks, and the Code runtime
General VaultPersists until changed or deletedReusable simple, JSON, dotenv-style, and secure configuration valuesTemplate expressions and the workflow executor
Database connectionPersists until changed or deletedReusable PostgreSQL, MySQL, or MongoDB accessDB Query blocks in projects with matching ownership access
Private AI agent connectionPersists until changed or deletedProvider credentials, model selection, and generation defaultsAI Agent blocks in the connection's ownership scope
External storage integrationProvider-controlledDurable files that must remain in Google Drive, OneDrive, S3, or compatible storageRead File and Save File through an integration

Use Context Drive when a file only coordinates steps in the same run. Use Static Drive or an external provider when another run, user, or system must retrieve it later. Use General Vault for configuration values, not as a file system or database.

Keep data and credentials separate

A workflow may pass business data through block inputs and Context Drive. Credentials remain in a database connection, AI connection, General Vault secure entry, or provider integration. Do not paste secrets into labels, templates, Code blocks, workflow exports, logs, or screenshots.

Personal resources are available only where the current user and project scope allow them. Team resources support shared workflows, but access still depends on team membership and the selected project owner. Moving or importing a workflow never grants access to resources from its original scope.

Plan a data path

Before building the workflow, answer these questions:

  1. Must the data survive the current run?
  2. Is it a file, a configuration value, or a record managed by a database?
  3. Does one user own it, or must a team maintain it?
  4. Which block needs read or write access?
  5. Does an external provider require a dedicated integration?
  6. What should happen when the resource is missing, full, unavailable, or no longer shared?

Documentation map

Next steps

Explore this folder

Boilerplate Wiki - Data and Storage