主公 Sign in

Core concepts: nodes, tables, agents, automations

Four words come up again and again in 主公: nodes, tables, agents and automations. Once these make sense, you know most of what you need. We’ll go through them one at a time, then tie them together with a real template.

Nodes: everything in your space

What a node is

Everything you make lives in a “space”. Each item in a space, whether it’s a document, a table, a whiteboard or a folder, is called a “node”. Think of nodes as the files on your computer.

Kinds of nodes

When you create something new, you can pick:

  • Document: write notes, plans or instructions.
  • Database: a table where you track things row by row (more on this below).
  • Board: cards arranged in columns by status, handy for following progress.
  • Form: a form other people fill in.
  • Whiteboard: a free-form canvas where you can place things and generate images with AI.
  • Rich page: a page you can connect to a table so each row’s data fills it in.
  • Folder: a place to group nodes together.

Keeping things tidy

Open Drive to see the nodes in your space. You can create folders, move nodes into them and upload files.

Tables: keep track of things, one row at a time

Records and fields

A table works like a spreadsheet. Each row is a record (say, one trip) and each column is a field (say, “City” or “Start date”). Click Add field to add a column. Common ones are text, number, date, single select, multiple select, checkbox and attachment. There’s also Link to record, which connects two tables.

Different ways to look at it

The same table can be shown as Grid (the usual spreadsheet look), Gallery (cards with pictures) or Calendar. It’s the same data, just shown differently.

AI columns

Any field can be switched on with Enable AI for this field, so AI fills it in for each row. It can produce four kinds of results: Text / structured value, Image, Speech (TTS) and Video. Images, speech and video go into an attachment or audio field.

When it runs is up to the Generation trigger:

  • Generate manually for selected rows: it only runs when you click.
  • Regenerate when referenced fields change: when a column it reads from changes, it runs again by itself.
  • Generate when a reference media field is AI-generated: for example, once AI makes a picture, a video can be made from that picture automatically. Pictures you upload or import don’t set it off.

Results can be saved as Draft — review before updating data, so you check them first, or as Official value — write directly. Keep in mind that each run may use credits.

AI buttons on records

Many templates add ready-made AI buttons to records, such as AI 草擬每日行程 (“AI: draft daily plan”) in the trip template. One click asks the agent to work on that row.

Agents: an AI helper that does things

What it can do

Click New chat on the left to talk to the agent. It does more than answer questions. It can work right inside your space: create tables, add, change and look up records, make views and forms, write documents and rich pages, set up automations, create or edit images, add things to a whiteboard, and start AI column generation. It works in the space you’re in, so the results land in your own tables and documents.

Picking a model

You can choose a model in the chat box. The default is Auto, which uses your workspace’s default model. Once a conversation starts the model is fixed, so start a new chat if you want to switch.

Seeing what it’s working on

Agent Tasks on the left lists tasks that are running or need your attention.

Making your own agent

The Agents page also has New agent. It’s mainly for technical users who want to connect a coding agent or an outside agent. For everyday use, the default agent is all you need.

Automations: work that runs on its own

The Automation & Workflow page on the left has two parts.

Workflows

On a database or board, you set up a “when this happens, do that” rule. It can start on Record created, Record updated, Status changed, Form submitted or Agent run completed, or you can run it by hand. You can add a condition, then have it Ask an agent or Update record. In a table’s toolbar you can also select some rows (up to 100) and Run an automation for the selected records.

Scheduled tasks

These run on a timer: Recurring (for example, every day at 9 a.m.), One time or Run now. When it’s time, the task sends the message you wrote to the agent to carry out. Every run is kept in Run history.

A heads-up

{/* template-activation-policy:start */}

Activate workflows immediately is unchecked by default. Without activation, the template’s workflows (including reminders) and AI buttons remain switched off.

Review the installed configuration, then open Automation & Workflow and enable the required workflows or scheduled tasks. Check that their status is Enabled before relying on reminders. You can also explicitly select immediate activation during installation.

{/* template-activation-policy:end */}

How it all fits together: City Trip Planner

  • Nodes: after you install it, your space gets 4 tables (Trips, Daily Itinerary, Stays & Transport, Trip To-dos) and a Guide & Prompts document.
  • Tables: you enter the city and dates in Trips, and list tickets to book, things to sort out and how many days ahead to be reminded in Trip To-dos.
  • Agents: on a trip, click AI 草擬每日行程 (“AI: draft daily plan”) and the agent looks up places to visit and drafts morning, afternoon and evening plans. AI 估算交通與花費 (“AI: estimate travel and costs”) estimates travel times and the day’s spending. Everything is a draft, so check opening hours and prices with official sources.
  • Automations: every day at 9 a.m. you get a reminder about to-dos coming due, and every evening at 8 p.m. a reminder to look over tomorrow’s plan.

In the app, template and table names appear in both Chinese and English, for example “城市旅遊行程計劃 (City Trip Planner)”.

Quick glossary

TermIn one line
SpaceYour own workspace where everything lives
NodeOne item in a space, like a document, table or folder
Table (database)Where you track things row by row
RecordOne row in a table
FieldOne column in a table
AI columnA field with AI switched on that fills in each row for you
AgentAn AI helper that can do things in your space
WorkflowA “when this happens, do that” rule
Scheduled taskSomething the agent does at a time you set
Run historyThe log of every automatic run

Next steps