Logo Zernio Workflow Creator

Zernio Workflow Creator

Cộng đồng
Enriquemarq1
zernio-workflow-creator

Tạo các quy trình Workflows xử lý hội thoại của Zernio — bao gồm tác nhân AI WhatsApp hoạt động 24/7 — theo yêu cầu qua API Zernio. Cho Claude biết tác nhân cần làm gì (trả lời câu hỏi, đánh giá khách hàng tiềm năng, đặt lịch gọi), rồi Claude sẽ tạo toàn bộ sơ đồ nút (kích hoạt → nút AI → trả lời → chờ → lặp lại) qua Zernio, kích hoạt quy trình và chỉnh sửa sau này khi bạn yêu cầu — không cần kéo từng nút một. Kết hợp với zernio-comment-to-dm (bình luận → DM → tác nhân AI này xử lý cuộc trò chuyện) và zernio-voice-agent (cấp cho CÙNG số điện thoại một tác nhân GIỌNG NÓI AI để trả lời cuộc gọi — ở đây là bộ não nhắn tin, ở kia là bộ não giọng nói). Kích hoạt với các yêu cầu như: “tạo quy trình Zernio”, “tạo tác nhân AI WhatsApp”, “tạo tác nhân AI trả lời DM”, “thêm bước vào quy trình”, “chỉnh sửa quy trình”, “tạo tác nhân đặt lịch trong Zernio”.

Add to TypingMind

Tổng quan

Nhà phát hànhEnriquemarq1
Kho mãzernio-library-skills
Tên kỹ năngzernio-workflow-creator
Sao
50
Bản fork
13
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Enriquemarq1 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Zernio Workflow Creator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-workflow-creator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Zernio Workflow Creator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Zernio Workflow Creator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Zernio Workflow Creator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Zernio Workflow Creator làm được gì?

Tạo các quy trình Workflows xử lý hội thoại của Zernio — bao gồm tác nhân AI WhatsApp hoạt động 24/7 — theo yêu cầu qua API Zernio. Cho Claude biết tác nhân cần làm gì (trả lời câu hỏi, đánh giá khách hàng tiềm năng, đặt lịch gọi), rồi Claude sẽ tạo toàn bộ sơ đồ nút (kích hoạt → nút AI → trả lời → chờ → lặp lại) qua Zernio, kích hoạt quy trình và chỉnh sửa sau này khi bạn yêu cầu — không cần kéo từng nút một. Kết hợp với zernio-comment-to-dm (bình luận → DM → tác nhân AI này xử lý cuộc trò chuyện) và zernio-voice-agent (cấp cho CÙNG số điện thoại một tác nhân GIỌNG NÓI AI để trả lời cuộc g...

Vì sao nên dùng Zernio Workflow Creator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Zernio Workflow Creator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Zernio Workflow Creator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-workflow-creator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Zernio Workflow Creator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Zernio Workflow Creator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Zernio Workflow Creator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Zernio Workflow Creator có miễn phí không?

Có. Kỹ năng này được Enriquemarq1 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇