Skip to main content

Workflow Overview

What is a Workflow?​

Workflows are the core feature of Zotero Agents, allowing you to combine multiple skill steps into automated processing pipelines. A Workflow defines a complete task: from receiving input, processing data, to producing output.

Workflow Structure​

workflow.json (manifest file)
├── manifest: declares metadata, version, name
├── parameters: defines configurable parameters
├── inputs: defines input types (attachments, items, notes, etc.)
├── validateSelection: declarative input validation and filtering
├── hooks: JavaScript hook scripts (preflight, build requests, apply results)
└── provider: specifies the required backend type

Input Unit Types​

TypeDescription
attachmentAttachment files of an item
parentParent item of the selected item
noteNote item
workflowBatch scope

Hook System​

Workflows can run custom JavaScript scripts at various stages of execution:

  • validateSelection: Declaratively filter and validate inputs before JavaScript hooks run
  • preflight: Inspect the resolved input unit, attach execution context, skip, short-circuit to applyResult, or expand one input into multiple request units
  • buildRequest: Build the request content sent to the backend
  • normalizeSettings: Normalize user settings
  • applyResult: Apply the results returned by the backend to Zotero

Three Execution Backends​

Workflows can be executed through three backend types:

BackendRequest TypeUse Case
Skill-Runnerskill.run.v1General skill execution, supports interactive mode
ACPacp.skill.run.v1Skill execution via ACP backend
Generic HTTPgeneric-http.request.v1HTTP API calls

Official Workflow Package​

Official Workflows are published and installed as standalone packages, decoupled from the plugin itself. Installation methods:

  • Right-click menu → Zotero Agents → 📦 Install Official Workflow Package
  • Click Install Official Workflow Package in Preferences

Official packages support three update channels: stable / beta / dev. The plugin automatically checks for updates on startup.

Official Workflows​

The plugin includes a series of official workflows, grouped by function:

📚 Literature Analysis Toolkit​

WorkflowPurposeInputBackendDocs
Literature Analysis ⭐Generate digest, references, citation analysis from PDF/MD. Can cascade into tag regulationAttachmentSkill-RunnerDetails
Literature Metadata CuratorQuery, correct and complete bibliographic metadata for a Zotero itemParent itemSkill-RunnerDetails
Literature TranslatorTranslate academic literature with glossary management and quality gatesAttachmentSkill-RunnerDetails
Interactive Literature ExplainerMulti-turn dialogue with AI for deep literature understanding, with verified answers to prevent hallucinationAttachmentSkill-RunnerDetails
Deep ReadingGenerate structured deep reading HTML view with translation supportAttachmentACPDetails
Literature Search & IngestLet the Agent search academic literature and ingest directly into ZoteroworkflowACPDetails
Collection CollectorSelect existing library literature for an existing collection from a declared scopeworkflowACPDetails
Export/Import Literature BundleExport/import portable ZIP bundles of Zotero items with metadata, attachments, and notesParent item / workflowNo backend requiredDetails
Export Research BundleAuto-assemble a read-only Research Bundle for a paper project from existing library and Synthesis contextworkflowSkill-RunnerDetails
Tag AuditorScan all library items against the controlled tag vocabulary and report complianceworkflowNo backend requiredDetails
Tag BootstrapperInteractively create a controlled tag vocabulary for a research domainworkflowSkill-RunnerDetails
Tag RegulatorNormalize tags based on a controlled vocabulary and infer new tagsParent itemSkill-RunnerDetails
Export/Import NotesExport or import analysis notes with support for editing and re-importingParent itemNo backend requiredDetails

🛠️ Utilities​

WorkflowPurposeInputBackendDocs
MinerU PDF ParsingCall MinerU service to parse PDF into MarkdownAttachmentGeneric HTTPDetails
Topic SynthesisThree-step pipeline to create topic synthesis analysis and reportsworkflowACPDetails
Manuscript Literature FramingGenerate Introduction / Related Work LaTeX draftsworkflowACPDetails

🔧 Debug Tools​

WorkflowPurposeBackendDocs
Debug ProbeWorkflow system development testing and diagnosticsSkill-RunnerDetails

Next Steps​