Overview
The Veydra Live Bridge is a Google Workspace Add-on that connects Google Sheets directly to the Veydra System Dynamics Engine. It replaces static file exports with real-time, bi-directional sync — giving you native spreadsheet recalculation with sub-200ms latency.Unlike legacy tools that require exporting files and manually importing data, the Live Bridge maintains a persistent connection to your Veydra models with automatic updates.
Key Benefits
Real-Time Sync
Changes in Sheets instantly update your Veydra model, and simulation results flow back automatically
Native Experience
Works with familiar spreadsheet features — formulas, ranges, and dynamic arrays
Multi-User Collaboration
Multiple users can work on the same sheet with real-time updates across all sessions
Live Model Info
Generate auto-updating sheets with all model variables, units, and current values
How It Works
- Sidebar UI — A React-based panel for authentication, model selection, and parameter controls
- Custom Functions — Spreadsheet formulas like
=VEYDRA.FORECAST()that fetch simulation results - Apps Script Layer — Handles triggers, sheet I/O, and the WebSocket connection to Veydra
Features
Bi-Directional Cell Mapping
Map spreadsheet cells directly to Veydra model nodes: Sheet → Veydra (Inputs)- Select a cell range in your spreadsheet
- Open the Veydra sidebar and click Bind
- Choose the input node to map (e.g., “Marketing Spend”)
- Changes to those cells automatically update the model
VEYDRA.FORECAST function to pull simulation results:
Reactive Sliders
The sidebar includes interactive sliders for model parameters:- Drag a slider to change a parameter value
- The Veydra engine recalculates immediately
- Results update in your spreadsheet in real-time (no manual refresh)
Model Info Generator
Generate a comprehensive summary sheet of your connected model:- Open the sidebar and click Generate Model Info Sheet
- A new sheet is created with all variables, their units, and current values
- Unlike static exports, this sheet stays synchronized with your model
Multi-User Real-Time Sync
When multiple users have the same Google Sheet open:- User A changes a parameter via the sidebar
- User B sees the updated values appear in their sheet automatically
- Both users see the same simulation results
Getting Started
Installation
1
Open Google Sheets
Create a new spreadsheet or open an existing one at sheets.google.com
2
Install the Add-on
Go to Extensions → Add-ons → Get add-ons and search for “Veydra Live Bridge”Click Install and grant the required permissions
3
Open the Sidebar
After installation, go to Extensions → Veydra Live-Bridge → Open Sidebar
4
Sign In
Click Sign in with Google in the sidebar to authenticate with your Veydra account
Connecting a Model
1
Select a Model
In the sidebar, use the Model dropdown to select from your available Veydra models
2
View Model Details
Click Generate Model Info Sheet to see all available variables and their current values
3
Bind Input Cells
Select cells in your sheet, then click Bind in the sidebar to map them to model inputs
4
Add Output Formulas
Enter
=VEYDRA.FORECAST() formulas to display simulation resultsCustom Functions Reference
VEYDRA.FORECAST
Runs a simulation and returns the forecast values for an output variable.
Example:
Comparison with Legacy Tools
Troubleshooting
Model not appearing in dropdown
Model not appearing in dropdown
- Verify you’re signed in with the correct Veydra account
- Check that you have at least one model created in Veydra
- Try clicking the refresh button next to the model dropdown
VEYDRA.FORECAST returns an error
VEYDRA.FORECAST returns an error
- Verify the model ID is correct (check the URL in app.veydra.io)
- Ensure the output node name matches exactly (case-sensitive)
- Check that your input range contains valid numeric values
Changes not syncing in real-time
Changes not syncing in real-time
- Check your internet connection
- The WebSocket connection may have timed out — close and reopen the sidebar
- Verify the Veydra service is operational at status.veydra.io
Requirements
- Google account with access to Google Sheets
- Veydra account with at least one model
- Modern browser (Chrome, Firefox, Edge, or Safari)
- Internet connection for real-time sync

