Zernio Workflow Creator 标志

Zernio Workflow Creator

社区
Enriquemarq1
zernio-workflow-creator

按需通过 Zernio API 构建 Zernio 对话工作流,包括每周 7 天、每天 24 小时运行的 WhatsApp AI 智能体。告诉 Claude 智能体要做什么(回答问题、筛选潜在客户、预约通话),它就会通过 Zernio 构建完整的节点图(触发器 → AI 节点 → 回复 → 等待 → 循环)、启用工作流,并在您提出要求时继续编辑——无需逐个拖动节点。可与 zernio-comment-to-dm 配合使用(评论 → 私信 → 由此 AI 智能体接手对话),也可与 zernio-voice-agent 配合使用(让同一个号码拥有接听电话的 AI 语音助手——这里负责文字对话,那里负责语音对话)。适用于以下需求:“构建 Zernio 工作流”“创建 WhatsApp AI 智能体”“创建能回复我私信的 AI 智能体”“在工作流中添加步骤”“编辑工作流”或“在 Zernio 中构建预约智能体”。

Add to TypingMind

概览

发布者Enriquemarq1
代码仓库zernio-library-skills
技能名称zernio-workflow-creator
星标数
50
复刻数
13
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Enriquemarq1 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Zernio Workflow Creator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-workflow-creator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Enriquemarq1/zernio-library-skills.git /tmp/zernio-library-skills
mkdir -p .claude/skills
cp -r /tmp/zernio-library-skills/.claude/skills/zernio-workflow-creator .claude/skills/zernio-workflow-creator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Zernio Workflow Creator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Zernio Workflow Creator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Zernio Workflow Creator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

zernio-workflow-creator

Build a Zernio Workflow — a branching conversation automation that can run a 24/7 AI agent on WhatsApp, Instagram, Facebook, Telegram, and more — just by asking Claude. Claude writes the node graph, creates it through the Zernio API, activates it, and edits it later on command. No node-by-node dragging, no cloning workflows.

The skill informs; the agent acts. This file + reference/zernio-workflows-api.md give Claude the Zernio Workflow API contract + the recipes. Claude executes with curl (or the user's HTTP tool). You stay in control — Claude shows you the graph and confirms before creating or activating anything (it goes live on a real audience).

What you can ask

  • "Build a WhatsApp AI agent that answers questions and books a call."
  • "Make a workflow: when someone DMs PRICING, an AI agent walks them through the plans."
  • "Add an email-capture step before the booking question." → Claude edits the graph.
  • "Pause / activate / duplicate / roll back the booking workflow."

What Claude needs (ask once, then remember in-session)

  1. ZERNIO_API_KEY — Authorization: Bearer <key> (zernio.com → Settings → API keys).
  2. profileId + accountId — the Zernio profile + connected account (GET /v1/profiles, GET /v1/accounts).
  3. platform — whatsapp (default), instagram, facebook, telegram, twitter, bluesky, reddit.
  4. The behavior in plain words — what the agent should do, the system prompt's job, the booking link / next step.

WhatsApp prerequisites (one-time)

  • A WhatsApp number bought inside Zernio — POST /v1/whatsapp/phone-numbers/purchase (needs a paid plan + KYC, which can take days — start early). Test first on the sandbox: POST /v1/whatsapp/sandbox/sessions.
  • For the AI node on Claude (BYOK): store your Anthropic API key in Zernio. Set provider: anthropic + model on the node to use it; omit provider for Zernio's built-in path.

The recipe (Claude follows this)

1. Design the graph (the core)

A 24/7 conversational AI agent is a small loop with memory. Default shape:

trigger ─▶ add_tag ─▶ condition(route) ─default─▶ ai(agent) ─success─▶ set_variable(remember) ─▶ send_message ─▶ wait_for_reply ─reply─▶ condition(route)  (loop)
                            │ wants_human─▶ handoff               │ error─▶ handoff                                                      └────timeout─▶ end
  • trigger — inbound_message (optionally gated by keywords + matchType).
  • add_tag — tag the contact once (e.g. whatsapp-ai-lead) so leads are findable. Put it before the routing/AI so it fires a single time (the loop re-enters at route, not tag).
  • condition (route) — the human-escape. Check each inbound message for a human request (operator: matches, a regex like (?i)(human|real person|representative)) → handoff; the 'default' handle flows to the AI. If the rule never matches it safely falls through to the agent.
  • ai — provider: anthropic, your model, a systemPrompt defining the job (tone, what to collect, when to book), userPromptTemplate that feeds memory + the new message, saveAs: "aiReply".
  • set_variable (remember) — THE MEMORY TRICK. The AI node has no built-in conversation history (it only sees systemPrompt + userPromptTemplate per call). Without memory it re-greets and re-asks every message. So append each turn to a history variable (value: "{{history}}\nThem: {{lastMessage}}\nYou: {{aiReply}}") and put {{history}} back in userPromptTemplate. Now the agent has real multi-turn context.
  • send_message — messageType: text, text: "{{aiReply}}".
  • wait_for_reply — timeoutMinutes + saveAs: "lastMessage" (reuse the same var the AI reads); 'reply' edge loops back to the AI, 'timeout' ends.
  • handoff — on the AI 'error' edge, hand the conversation to a human.

Copy-paste starting point: templates/whatsapp-customer-service-agent.json (this exact memory-enabled graph; the systemPrompt is a fill-in-the-blank structure a business owner can complete in plain language). Full node/edge contract + all 16 node types: reference/zernio-workflows-api.md.

Gaps to design around (learned the hard way)
  • Memory — the #1 gap. Always add the set_variable accumulator above; a stateless agent feels broken. Two caveats: (1) it grows unbounded — the full transcript is re-sent every turn, so a long conversation balloons input tokens; for long chats keep a sliding window (last N turns) or a rolling summary, and set maxTokens on the AI node. (2) The self-referential {{history}} assignment assumes it reads the old value before writing the new one — not guaranteed by the spec; verify with a live test.
  • Empty AI reply — an empty/whitespace text response still takes the AI 'success' edge, so send_message tries to send a blank message (WhatsApp rejects it) and send_message has no error handle → the contact silently gets nothing. If it matters, add a condition (aiReply empty → handoff) before the reply.
  • userPromptTemplate is REQUIRED on the AI node (the spec marks it optional; the API rejects without it). The inbound message arrives as {{lastMessage}}.
  • BYOK — provider: anthropic needs the user's Anthropic key stored in Zernio. If it's missing the AI node errors → the handoff path fires (no reply). Verify by testing, or omit provider for the built-in path. Always wire an error → handoff edge so failures degrade gracefully.
  • Double-reply — onlyFirstMessage: false + the wait-loop may let a rapid 2nd inbound spawn a parallel run instead of resuming the waiting one → two replies. The spec does not guarantee one run per conversation, and onlyFirstMessage is undocumented — so don't blindly flip it to true (that can permanently silence repeat customers). Test then decide: fire two rapid inbounds on the sandbox during the wait window and check GET /v1/workflows/{id}/executions — if you see two runs for the same conversation, the race is real; only then weigh onlyFirstMessage: true.
  • Lead capture (advanced) — to persist a booking, give the AI node a tools:[{name:"save_lead",…}] and branch the 'tool:save_lead' edge into set_field + add_tag + handoff. Verify how tool-call args surface as variables before relying on it.
  • Graph edits are draft/paused only — to change a live workflow: pause → PATCH → activate.

2. Create it (one call, draft)

bash
curl -s -X POST "https://zernio.com/api/v1/workflows" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" -H "Content-Type: application/json" \
  -d @workflow.json

Body = { profileId, accountId, platform, name, description, nodes[], edges[] }. Returns the workflow id in draft. entryNodeId is derived from the single trigger node.

3. Activate it

bash
curl -s -X POST "https://zernio.com/api/v1/workflows/<id>/activate" -H "Authorization: Bearer $ZERNIO_API_KEY"

Now it matches inbound messages. Pause anytime: POST /v1/workflows/<id>/pause.

4. Edit it later (the "you're still steering" part)

  • Graph edits only while draft or paused (a live edit returns 400). So: pause → PATCH the graph → activate again.
bash
curl -s -X PATCH "https://zernio.com/api/v1/workflows/<id>" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" -H "Content-Type: application/json" \
  -d '{ "nodes": [ ... updated ... ], "edges": [ ... updated ... ] }'
  • Versioned: GET /v1/workflows/<id>/versions, restore via POST /v1/workflows/<id>/versions/<v>/restore.
  • Fork a working one: POST /v1/workflows/<id>/duplicate.

5. Inspect runs

GET /v1/workflows/<id>/executions (runs) · .../executions/<execId>/events (per-node timeline).

Guardrails

  • Confirm before create + before activate. Show the user the graph (or a plain-English summary of each node) and the system prompt, get a yes, then POST.
  • Never print the API key. It lives in env / the user's secret store.
  • Edit only while paused/draft — pause first, then PATCH, then re-activate. Don't attempt a live graph edit.
  • Voice: the AI node's systemPrompt should make the agent sound like the creator — warm, direct, human, one ask at a time. Not a robotic FAQ bot.
  • WhatsApp-only nodes: template / interactive messages and start_call only work on WhatsApp.

Reference

  • reference/zernio-workflows-api.md — full endpoint + node/edge contract (verified from docs.zernio.com).
  • templates/whatsapp-customer-service-agent.json — copy-paste 24/7 WhatsApp customer-service agent (memory + human-escape + handoff); fill in the systemPrompt's [BRACKETS].

Want the agent to TALK too? → zernio-voice-agent

This skill builds the text brain. Its sibling skill zernio-voice-agent gives the SAME number an AI voice that answers actual phone calls (inbound WhatsApp Calling routed via forwardTo to a Retell AI agent), plus the front-desk workflow variant where the text agent detects call intent and sends the number's tap-to-call deep link. If the user mentions calls, voice, "it should pick up the phone", or an AI receptionist — switch to (or combine with) zernio-voice-agent.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Zernio Workflow Creator AI 技能有什么作用?

按需通过 Zernio API 构建 Zernio 对话工作流,包括每周 7 天、每天 24 小时运行的 WhatsApp AI 智能体。告诉 Claude 智能体要做什么(回答问题、筛选潜在客户、预约通话),它就会通过 Zernio 构建完整的节点图(触发器 → AI 节点 → 回复 → 等待 → 循环)、启用工作流,并在您提出要求时继续编辑——无需逐个拖动节点。可与 zernio-comment-to-dm 配合使用(评论 → 私信 → 由此 AI 智能体接手对话),也可与 zernio-voice-agent 配合使用(让同一个号码拥有接听电话的 AI 语音助手——这里负责文字对话,那里负责语音对话)。适用于以下需求:“构建 Zernio 工作流”“创建 WhatsApp AI 智能体”“创建能回复我私信的 AI 智能体”“在工作流中添加步骤”“编辑工作流”或“在 Zernio 中构建预约智能体”。

为什么在 TypingMind 中使用 Zernio Workflow Creator?

因为您只需安装一次,就能搭配任何模型使用。Zernio Workflow Creator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Zernio Workflow Creator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-workflow-creator。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Zernio Workflow Creator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Zernio Workflow Creator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Zernio Workflow Creator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Zernio Workflow Creator AI 技能免费吗?

是的。Enriquemarq1 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇