Documentation
HomeAPISign In
  • Getting Started
    • Overview
      • Core Concepts
      • Building your First Workflow
    • API Reference
  • Your Data
    • Brand Kits
    • Knowledge Bases
      • Add Data
        • Upload Files
        • Web Scrape
        • Import from Google Drive
        • Import from SQL Database
        • Import from Shopify
      • Knowledge Base Search
      • Knowledge Base Metadata
      • Knowledge Base API
  • Building Workflows
    • Workflow Concepts
      • Workflow Inputs
        • Input Types
      • Workflow Outputs
      • Variable Referencing
      • Liquid Templating
    • Workflow Steps
      • AI
        • Prompt LLM
          • Choosing a Model
          • Prompting Techniques
        • Transcribe Audio File
      • Web Research
        • Google Search
        • Web Page Scrape
      • Code
        • Run Code
        • Call API
        • Format JSON
        • Run SQL Query
        • Write Liquid Text
      • Flow
        • Condition
        • Iteration
        • Human Review
        • Content Comparison
        • Error
      • Data
        • Search Knowledge Base
        • Write to Knowledge Base
        • Get Knowledge Base File
      • AirOps
        • Workflow
        • Agent
      • Image & Video
        • Generate Image with API
        • Search Stock Images
        • Fetch Stock Image with ID
        • Resize Image
        • Screenshot from URL
        • Create OpenGraph Image
        • Create Video Avatar
      • SEO Research
        • Semrush
        • Data4SEO
      • Content Quality
        • Detect AI Content
        • Scan Content for Plagiarism
      • Content Processing
        • Convert Markdown to HTML
        • Convert PDF URL to Text
        • Group Keywords into Clusters
      • B2B Enrichment
        • Hunter.io
        • People Data Labs
      • CMS Integrations
        • Webflow
        • WordPress
        • Shopify
        • Contentful
        • Sanity
        • Strapi
      • Analytics Integrations
        • Google Search Console
      • Collaboration Integrations
        • Gmail
        • Google Docs
        • Google Sheets
        • Notion
        • Slack
    • Testing and Iteration
    • Publishing and Versioning
  • Running Workflows
    • Run Once
    • Run in Bulk (Grid)
    • Run via API
    • Run via Trigger
      • Incoming Webhook Trigger
      • Zapier
    • Run on a Schedule
    • Error Handling
  • Grids
    • Create a Grid
      • Import from Webflow
      • Import from Wordpress
      • Import from Semrush
      • Import from Google Search Console
    • Add Columns in the Grid
    • Run Workflows in the Grid
      • Add Workflow Column
      • Run Workflow Column
      • Map Workflow Outputs
      • Review Workflow Run Metadata
    • Review Content in the Grid
      • Review Markdown Content
      • Review HTML Content
      • Compare Content Difference
    • Publish to CMS from Grid
    • Pull Analytics in the Grid
    • Export as CSV
  • Copilot
    • Chat with Copilot
    • Edit Workflows with Copilot
    • Fix Errors with Copilot
  • Monitoring
    • Task Usage
    • Analytics
    • Alerts
    • Execution History
  • Your Workspace
    • Create a Workspace
    • Folders
    • Settings
    • Billing
    • Use your own LLM API Keys
    • Secrets
    • Team and Permissions
  • Chat Agents (Legacy)
    • Agent Quick Start
    • Chat Agents
    • Integrate Agents
      • Widget
      • Client Web SDK
  • About
    • Ethical AI and IP Production
    • Principles
    • Security and Compliance
Powered by GitBook
On this page
  • Write to Grid Step
  • What is the Write to Grid Step?
  • How to Configure the Write to Grid Step
  • Output Format
  • Common Use Cases
  • Best Practices
  • Integration with Other Steps

Was this helpful?

  1. Building Workflows
  2. Workflow Steps
  3. Data

Write to Grid

Write to Grid Step

The "Write to Grid" Step allows you to export data from your workflow directly into an AirOps Grid. This functionality is essential for storing, organizing, and visualizing the output of your workflow in a structured format that can be further analyzed or processed.

What is the Write to Grid Step?

The Write to Grid step enables you to save the results of your workflow processing into an AirOps Grid, making it possible to store and organize data for future use. This is particularly valuable when you need to:

  • Store the results of batch processing operations

  • Create a repository of generated content

  • Organize data for review or further processing

  • Build a database of workflow outputs for reporting or analysis

How to Configure the Write to Grid Step

Configuring the step requires setting the parameters shown below:

[ SCREENSHOT OF WRITE TO GRID CONFIGURATION PANEL]

Select a Grid

Choose the Grid where you want to write your data. You can either:

  • Create a New Grid: Generate a new Grid to store your data

  • Select Existing Grid: Add data to an already existing Grid

Output Mapping

Define how the data from your workflow should be mapped to columns in the Grid:

  • Create Columns: Specify which workflow outputs should be mapped to which Grid columns

  • Column Names: Define the names of the columns in your Grid

  • Data Sources: Select which workflow step outputs should populate each column

[ SCREENSHOT OF OUTPUT MAPPING INTERFACE]

Write Mode

Choose how your data should be written to the Grid:

  • Append: Add new rows to the existing Grid data

  • Replace: Clear existing Grid data and replace it with the new data

  • Update: Update specific rows in the Grid based on a key column

When using the "Update" option, you'll need to specify a key column that identifies which rows should be updated.

Batch Size (Optional)

For processing large amounts of data, you can set a batch size to control how many rows are written to the Grid at once. This helps optimize performance and manage memory usage.

Output Format

The Write to Grid step typically doesn't have an output that's used in subsequent workflow steps, since its primary purpose is to write data to a Grid. However, it will return a success status that can be checked in subsequent steps if needed.

Common Use Cases

Content Management

Store generated content like blog posts, product descriptions, or marketing copy in a Grid for review, editing, and publishing.

Data Collection and Analysis

Accumulate data from multiple workflow runs in a Grid for subsequent analysis, visualization, or reporting.

Processing Pipeline

Create multi-stage processing pipelines by writing intermediate results to a Grid, then using the Read from Grid step in another workflow to continue processing.

Bulk Operations

Generate and store large sets of data (like SEO metadata for hundreds of pages) that can then be exported or connected to other systems.

[ SCREENSHOT OF A WRITE TO GRID USE CASE]

Best Practices

  1. Plan Your Grid Structure: Design your Grid columns thoughtfully to ensure they properly represent your data structure.

  2. Use Descriptive Column Names: Make column names clear and descriptive to make the Grid easier to understand and use.

  3. Consider Data Volume: For very large datasets, use appropriate batch sizes to optimize performance.

  4. Validation Before Writing: Include validation steps in your workflow before writing to the Grid to ensure data quality.

  5. Combine with Read from Grid: Create powerful data processing pipelines by combining Write to Grid with Read from Grid in sequential workflows.

  6. Maintain Data Consistency: When updating existing Grid data, ensure you have proper key columns defined to maintain data integrity.

Integration with Other Steps

The Write to Grid step works particularly well when combined with:

  • Read from Grid: For creating multi-stage data processing pipelines

  • LLM Steps: To store and organize AI-generated content

  • Iteration Steps: To collect and store results from processing multiple items

  • Human Review Steps: To maintain a record of reviewed and approved content

Last updated 2 months ago

Was this helpful?