Record10 Logo Record10
Documentation / Record Flow / Import & Export

Import & Export

Share your automation workflows, create backups, and collaborate with others using Record Flow's import and export functionality.

Overview

Record Flow allows you to export your flows and workspaces as JSON files. These files can be:

  • Shared with team members or the community
  • Used as backups for your automation workflows
  • Transferred between different installations
  • Version controlled using Git or other systems
  • Modified manually for advanced use cases

💡 Tip: Exporting flows is a great way to share common automation patterns with your team or create a library of reusable workflows.

Exporting Flows

Export a Single Flow

To export an individual flow:

  1. Open the workspace containing the flow you want to export
  2. Right-click on the flow in the flows list
  3. Select "Export Flow" from the context menu
  4. Choose a location and filename for the JSON file
  5. Click Save

Export Multiple Flows

To export multiple flows at once:

  1. Open the workspace
  2. Select multiple flows by holding Ctrl (Windows/Linux) or Cmd (Mac) and clicking each flow
  3. Right-click on one of the selected flows
  4. Select "Export Selected Flows"
  5. Choose a location and base filename
  6. Each flow will be saved as a separate JSON file

Exported Flow Structure

An exported flow JSON file contains:

{
  "name": "Login Flow",
  "description": "Automated login process",
  "browser": "chrome",
  "variables": [
    {
      "name": "username",
      "value": "user@example.com",
      "scope": "flow"
    }
  ],
  "actions": [
    {
      "type": "navigate",
      "url": "https://example.com/login",
      "order": 1
    },
    {
      "type": "input",
      "selector": "#email",
      "text": "{username}",
      "order": 2
    }
  ],
  "createdAt": "2025-12-05T10:30:00.000Z",
  "updatedAt": "2025-12-05T10:35:00.000Z"
}

Importing Flows

Import a Flow

To import a flow into a workspace:

  1. Open the workspace where you want to import the flow
  2. Click the "Import Flow" button or use the menu
  3. Select the JSON file containing the flow
  4. Review the import preview showing flow details
  5. Click "Import" to add the flow to your workspace

Import Multiple Flows

To import multiple flows at once:

  1. Open the target workspace
  2. Click "Import Flows"
  3. Select multiple JSON files (using Ctrl or Cmd + click)
  4. Review the list of flows to be imported
  5. Click "Import All"

⚠️ Note: If a flow with the same name already exists in the workspace, Record Flow will append a number to the imported flow's name (e.g., "Login Flow (1)").

Exporting Workspaces

Export an entire workspace including all its flows and workspace-level variables:

  1. Right-click on the workspace in the workspaces list
  2. Select "Export Workspace"
  3. Choose a location and filename
  4. Click Save

Exported Workspace Structure

A workspace export includes all flows and metadata:

{
  "name": "E-Commerce Testing",
  "description": "Automated tests for online store",
  "variables": [
    {
      "name": "baseUrl",
      "value": "https://shop.example.com",
      "scope": "workspace"
    }
  ],
  "flows": [
    {
      "name": "Login Flow",
      "actions": [...],
      "variables": [...]
    },
    {
      "name": "Add to Cart Flow",
      "actions": [...],
      "variables": [...]
    }
  ],
  "createdAt": "2025-12-01T10:00:00.000Z",
  "updatedAt": "2025-12-05T15:30:00.000Z"
}

Importing Workspaces

Import a complete workspace with all its flows:

  1. From the main screen, click "Import Workspace"
  2. Select the workspace JSON file
  3. Review the workspace name and number of flows
  4. Click "Import"
  5. The workspace will be added to your workspaces list

⚠️ Note: If a workspace with the same name already exists, the imported workspace will be renamed with a number suffix.

Handling Import Conflicts

Name Conflicts

When importing flows or workspaces with duplicate names:

  • Automatic Renaming: Record Flow automatically appends "(1)", "(2)", etc. to duplicate names
  • Manual Rename: You can rename the imported item after import
  • No Overwrite: Existing flows are never overwritten automatically

Variable Conflicts

When importing flows with variables:

  • Flow Variables: Imported as-is with the flow
  • Workspace Variables: Merged with existing workspace variables
  • Global Variables: Not affected by imports (set separately)
  • Duplicate Names: If a workspace variable with the same name exists, the imported value is ignored

Missing Dependencies

If an imported flow references variables that don't exist:

  • The flow will still be imported successfully
  • You'll need to create the missing variables manually
  • Check the variable references in the imported flow's actions

Best Practices

✓ Do's

  • Add Descriptions: Include clear descriptions in your flows before exporting
  • Document Variables: Comment on what each variable is used for
  • Test Before Sharing: Verify flows work correctly before exporting
  • Use Meaningful Names: Name flows clearly for easy identification
  • Version Control: Use Git or similar tools to track changes to exported flows
  • Regular Backups: Export important workspaces regularly as backups
  • Organize Files: Keep exported flows in organized folders by project or purpose

✗ Don'ts

  • Don't Export Secrets: Avoid exporting flows with sensitive passwords or API keys in variables
  • Don't Edit JSON Manually: Unless you understand the structure, manual edits can break imports
  • Don't Share Personal Data: Remove any personal or confidential data before sharing flows
  • Don't Rely Solely on Exports: Keep original workspaces; exports are supplements, not replacements
  • Don't Import Untrusted Files: Only import flows from trusted sources

Sharing Workflows with Teams

Preparing Flows for Sharing

Before sharing a flow with your team:

  1. Review Variables: Ensure no sensitive data is hardcoded
  2. Add Documentation: Include clear descriptions and comments
  3. Test Thoroughly: Verify the flow works in a clean environment
  4. List Prerequisites: Document any required setup (URLs, credentials format)
  5. Export: Create the JSON export file

Distribution Methods

Email

Attach the JSON file to an email with instructions for import and any required setup steps.

Shared Drive

Store exported flows in a team shared drive (Google Drive, Dropbox, OneDrive) for easy access.

Version Control

Commit exported flows to a Git repository for version tracking and team collaboration.

# Example Git workflow
git clone https://github.com/yourteam/flows.git
cd flows
# Add exported flow
cp ~/Downloads/login-flow.json ./e-commerce/
git add .
git commit -m "Add login flow for e-commerce site"
git push

Internal Wiki/Docs

Create a library of flows in your team's documentation system with download links and usage guides.

Advanced: Manual JSON Editing

For advanced users, you can manually edit exported JSON files to:

  • Batch update selectors across multiple actions
  • Find and replace URLs or text patterns
  • Programmatically generate flows
  • Merge multiple flows

⚠️ Warning: Manual editing requires understanding the JSON structure. Invalid JSON will fail to import. Always keep a backup before editing.

Example: Bulk Selector Update

If a website changes its selectors, you can use find/replace in a text editor:

# Before: Old class name
"selector": ".old-button"

# After: New class name
"selector": ".new-button"

# Use find/replace in your editor to update all instances

Validation

After manual edits, validate your JSON:

  • Use an online JSON validator (jsonlint.com)
  • Test import in Record Flow with a copy first
  • Run the imported flow to verify functionality

Troubleshooting

Import Fails: "Invalid JSON Format"

Cause: The JSON file is corrupted or manually edited incorrectly

Solution:

  • Validate the JSON using an online validator
  • Check for missing commas, brackets, or quotes
  • Re-export from the original source if available

Import Succeeds but Flow Doesn't Work

Possible Causes:

  • Missing variables that weren't included in the export
  • Different environment (URLs, credentials)
  • Website changes since flow was created

Solution:

  • Check all variable references and create missing ones
  • Update URLs and selectors for your environment
  • Run the flow step-by-step to identify issues

Export Button Doesn't Work

Solution:

  • Ensure you have write permissions to the destination folder
  • Try exporting to a different location (like Desktop)
  • Check if there's enough disk space
  • Restart Record Flow and try again

Variables Missing After Import

Cause: Variable scope differences

Solution:

  • Flow-level variables are imported with the flow
  • Workspace-level variables must be created manually or imported with the workspace
  • Global variables are never exported/imported (set them separately)

Common Use Cases

Team Collaboration

QA engineers create test flows and share them with the team through a shared repository. Each team member imports the flows they need.

Environment Migration

Export flows from your staging environment, then import and modify variables for production use.

Backup Strategy

Set up a weekly routine to export all workspaces to a backup folder synced to cloud storage.

Template Library

Create and maintain a collection of common flow templates (login, form submission, data extraction) that can be imported and customized for new projects.

Disaster Recovery

Regular workspace exports ensure you can quickly restore your automation setup if you need to reinstall Record Flow or switch computers.

Related Topics