Autom8 AI Docs
  • Introduction to A8I
  • Quick Start
    • Your First Workflow
  • Workflows Explained
    • Create and Run a Workflow
    • Workflow Components
    • Executions
    • Manual, Partial, and Production Executions
    • Workflow Executions
    • All Executions
    • Custom Execution Data
    • Debug and Re-run Past Executions
    • Tags
    • Export and Import Workflows
    • Workflow Templates
    • Workflow Sharing
    • Workflow Settings
  • Flow Logic
  • Data
    • Data Structure
    • Data Flow Within Nodes
    • Transforming Data
    • Processing Data with Code
    • Data Mapping
  • AI Assistant
  • Glossary
  • Integrations
  • Build an AI Chat Agent in Autom8 AI
Powered by GitBook
On this page
  1. Data

Data Structure

In Autom8 AI, all data passed between nodes is structured as an array of items, where each item is typically an object containing a json or binary key.

This structure allows nodes to process multiple items efficiently—whether you're working with text, structured objects, or files.


Basic Format

Each item in the workflow looks like this:

jsonCopyEdit[
  {
    "json": {
      "exampleField": "value",
      "nestedField": {
        "key": 123
      }
    },
    "binary": {
      "file-example": {
        "data": "BASE64_ENCODED_DATA",
        "mimeType": "image/png",
        "fileExtension": "png",
        "fileName": "example.png"
      }
    }
  }
]
  • Use the json key for structured data

  • Use the binary key when passing files or binary content

  • Items are always wrapped in an array, even if there's just one


Simplified Input in Code Nodes

When using Code or Function nodes:

  • You don’t need to manually wrap your output in an array—Autom8 AI does this for you

  • It also adds the json key automatically if it's missing

This only applies to Code/Function nodes. When building custom nodes, you’ll still need to return correctly structured data.


Multi-Item Processing

Autom8 AI nodes are designed to work on multiple items at once. For example, if you're creating Trello cards from incoming data:

jsonCopyEdit[
  { "name-input-value": "Task 1" },
  { "name-input-value": "Task 2" }
]

The node will:

  • Read each item

  • Pull the name-input-value for each

  • Create one card per item with its respective name

This approach makes Autom8 AI highly scalable and flexible for bulk operations.

PreviousDataNextData Flow Within Nodes

Last updated 5 days ago