Gridscript

Import & Export

GridScript lets you save, share, and reload entire pipelines— including all stages, scripts, and configuration — using the native.gspp (GridScript Pipeline) format.

This allows you to back up your analytical workflows, transfer them between workspaces, or share them with other users. Pipelines can also import data files directly within individual Import Stages.

Importing Pipelines

You can import a pipeline using the File → Import option in the pipeline toolbar. Supported formats include:

  • GridScript Pipeline (.gspp) – Complete pipelines containing all stages, scripts, and context data.
  • Excel (.xlsx) or CSV (.csv) – Can be imported at the stage level using an Import Stage to load raw data into the pipeline context.

Once imported, the pipeline will appear in your workspace with the same stage order, code, and configuration as when it was exported.

Exporting Pipelines

You can export your entire pipeline using the File → Export GSPP option in the toolbar. This generates a .gspp file that includes:

  • All pipeline stages (Import and Code).
  • All JavaScript and Python scripts inside Code Stages.
  • Pipeline configuration and stage order.

Exported pipelines can be reloaded later or shared with collaborators. They are fully self-contained and do not require any external dependencies.

Saving Pipelines

When working inside a workspace, pipelines can be saved locally using the File → Save option in the toolbar. This stores the current pipeline state (including all stages and scripts) in your browser or cloud workspace depending on your account type.

Saved pipelines are automatically reloaded when you return to the same workspace, allowing you to continue where you left off.

Importing Data into Stages

In addition to importing full pipelines, you can import data files directly into an Import Stage. Supported file types include:

  • Excel (.xlsx) – Multi-sheet workbooks supported.
  • CSV (.csv) – Simple, delimited data files.
  • JSON (.json) – Structured data imports.

Each imported dataset becomes part of the pipeline’s shared context, accessible to all subsequent Code Stages.

Best Practices

  • Use .gspp when you want to preserve the full pipeline structure, including all stages and code.
  • Use Import Stages for importing raw datasets like CSV or Excel files.
  • Save frequently to avoid losing work — especially when using anonymous workspaces.

Example Workflow

  1. Create a pipeline with several Import and Code stages.
  2. Run the pipeline to verify your transformations and visualizations.
  3. Open the toolbar and select File → Export GSPP.
  4. Share the exported .gspp file with teammates or import it into another workspace.

Next Steps

After learning how to import and export pipelines, explore Pipeline Scripting to see how to write code within stages, or visit Pipelines to learn more about their structure and functionality.