YZJ Form Parser for Openclaw

A specialized utility for parsing and constructing YunZhijia form data, enabling seamless bidirectional synchronization between business systems and approval workflows.

jlifeng
v1.0.0
May 11, 2026
0
690
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install yzj-form-parser

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install yzj-form-parser using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is YZJ Form Parser?

The YZJ Form Parser is an essential tool for developers working with YunZhijia enterprise systems. It provides a robust framework for handling the consistent JSON structure used in both data push events and approval initiation requests. By abstracting the complexities of widgetMap and detailMap, it ensures that data flows accurately between Openclaw Skills and the YunZhijia platform.

This skill automates the translation of business logic into technical form requirements, handling diverse widget types from simple text inputs to complex multi-select personnel and department pickers. It allows for reliable data extraction from incoming notifications and precise payload construction for system-triggered approvals.

YZJ Form Parser Use Cases

  • Parsing incoming YunZhijia approval push notifications to update external databases.
  • Automatically generating and initiating YunZhijia approval forms based on external system triggers.
  • Mapping complex business data to YunZhijia-specific widgets like personnel, department, and attachment controls.
  • Synchronizing data between CRM/ERP systems and enterprise mobile office forms via Openclaw Skills.

How YZJ Form Parser Works

  1. The skill receives a YunZhijia JSON payload containing formInfo (widgetMap and detailMap) and basicInfo.
  2. For parsing, it iterates through the widgetMap keys using specific codeIds to extract values based on the widget type.
  3. For construction, it maps business fields to the appropriate widget structure, ensuring type safety (e.g., converting dates to millisecond timestamps).
  4. It processes the detailMap for sub-form data, handling row IDs and column definitions (widgetVos).
  5. The final structured output is either a cleaned business object or a formatted YunZhijia JSON payload ready for API submission.

YZJ Form Parser Setup

To integrate this parser within your Openclaw Skills environment, ensure your data pipeline provides the standard YunZhijia JSON structure. You can initialize the parser using standard configuration:

# Example of integrating the parser logic
npm install yzj-form-parser

Ensure that you have the formDefId and codeId mapping for your specific YunZhijia forms to properly route the data.

YZJ Form Parser Data Schema & Taxonomy

The skill organizes data into three primary segments:

Segment Description
basicInfo Metadata including eventId, formInstId, flowInstId, and actionType.
widgetMap Main form components mapped by codeId, including title, type, and value.
detailMap Sub-form or line-item data (detailedWidget) containing row-based values.

Widget Data Types:

  • Text/TextArea: String values.
  • Date: Long (millisecond timestamps).
  • Number/Money: String representations of decimals.
  • Radio/Checkbox: Key-based selection strings or arrays.
  • Person/Dept: Arrays containing OIDs and detailed metadata.

YZJ Form Parser Advanced Features

  • Bidirectional conversion support for both reading push data and writing initiation data.
  • Comprehensive support for specialized enterprise widgets like personSelectWidget and departmentSelectWidget.
  • Advanced detailMap handling for processing dynamic line items in complex approval forms.
  • Built-in type conversion for number and money widgets to prevent precision loss.
  • Automated attachment and image metadata handling for file-based workflows within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*