Logotipo de Zernio Workflow Creator

Zernio Workflow Creator

Comunidad
Enriquemarq1
zernio-workflow-creator

Crea flujos de conversación de Zernio —incluidos agentes de IA de WhatsApp disponibles 24/7— mediante la API de Zernio, con una sola instrucción. Dile a Claude qué debe hacer el agente (responder preguntas, cualificar contactos, reservar una llamada) y creará todo el gráfico de nodos (activador → nodo de IA → respuesta → espera → bucle) en Zernio, lo activará y lo modificará cuando se lo pidas, sin tener que arrastrar los nodos uno a uno. Se combina con zernio-comment-to-dm (comentario → mensaje directo → este agente de IA lleva la conversación) y zernio-voice-agent (asigna al MISMO número una IA DE VOZ que conteste llamadas telefónicas: aquí, el cerebro de texto; allí, el de voz). Se activa con peticiones como: «crear un flujo de Zernio», «hacer un agente de IA para WhatsApp», «crear un agente de IA que responda mis mensajes directos», «añadir un paso al flujo», «editar el flujo» o «crear un agente de reservas en Zernio».

Add to TypingMind

Descripción general

EditorEnriquemarq1
Repositoriozernio-library-skills
Nombre de la habilidadzernio-workflow-creator
Estrellas
50
Forks
13
Archivos incluidos
2
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 2

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Enriquemarq1 en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Zernio Workflow Creator en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-workflow-creator
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Zernio Workflow Creator en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Zernio Workflow Creator automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Zernio Workflow Creator no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Zernio Workflow Creator?

Crea flujos de conversación de Zernio —incluidos agentes de IA de WhatsApp disponibles 24/7— mediante la API de Zernio, con una sola instrucción. Dile a Claude qué debe hacer el agente (responder preguntas, cualificar contactos, reservar una llamada) y creará todo el gráfico de nodos (activador → nodo de IA → respuesta → espera → bucle) en Zernio, lo activará y lo modificará cuando se lo pidas, sin tener que arrastrar los nodos uno a uno. Se combina con zernio-comment-to-dm (comentario → mensaje directo → este agente de IA lleva la conversación) y zernio-voice-agent (asigna al MISMO número...

¿Por qué usar Zernio Workflow Creator en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Zernio Workflow Creator está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Zernio Workflow Creator en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Enriquemarq1/zernio-library-skills/tree/main/.claude/skills/zernio-workflow-creator. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Zernio Workflow Creator?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Zernio Workflow Creator?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Zernio Workflow Creator con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Zernio Workflow Creator?

Sí. Enriquemarq1 la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇