Developer documentation
Ready-made integrations
What each Zunous brain integration needs: Google Workspace, HubSpot, Pipedrive, Siigo, Alegra, Mercado Pago, Wompi, Stripe, Slack, Shopify, WooCommerce, Calendly, WhatsApp Business, Telegram, Freshdesk, spreadsheets, external MCP servers, Drive folders and the Autonomous Mode AI key.
Besides your own webhook actions, each brain can use ready-made integrations. An administrator connects them in the Console, in the brain's Autonomous Mode, and installs them on the brain's Connectors tab. Credentials are stored encrypted and tied to that brain.
Which action each integration uses
| Brain action | Integration |
|---|---|
email.enviar | Google (Gmail) |
calendar.disponibilidad, calendar.crear_evento | Google Calendar |
hoja.leer, hoja.agregar_fila | Google Sheets |
crm.buscar_contacto, crm.crear_lead, crm.actualizar_lead, crm.registrar_nota, crm.historial, crm.consultar_embudo | HubSpot, Pipedrive or your own CRM |
crm.actualizar_cuenta | HubSpot or your own CRM |
crm.buscar_negocio, crm.registrar_actividad, crm.mover_etapa | Pipedrive or your own CRM |
crm.consultar_productos | Pipedrive |
erp.buscar_cliente, erp.consultar_facturas, erp.consultar_factura, erp.consultar_pagos, erp.consultar_ventas, erp.consultar_productos, erp.consultar_inventario, erp.crear_cliente, erp.crear_factura, erp.registrar_pago | Siigo or Alegra |
erp.actualizar_cliente | Alegra |
pago.crear_enlace, pago.consultar_pagos, pago.consultar_pago | Mercado Pago, Wompi or Stripe |
slack.enviar_mensaje, slack.listar_canales, slack.leer_canal | Slack |
tienda.buscar_pedido, tienda.consultar_pedidos, tienda.consultar_productos, tienda.buscar_cliente | Shopify or WooCommerce |
calendly.consultar_tipos, calendly.consultar_citas, calendly.crear_enlace | Calendly |
whatsapp.enviar | WhatsApp Business (Meta API) |
telegram.enviar | Telegram (the company bot) |
freshdesk.enviar, freshdesk.nota_interna, freshdesk.cambiar_estado, freshdesk.consultar_ticket, freshdesk.buscar_tickets | Freshdesk (the help desk) |
accion.<nombre> | Your webhook actions |
accion.<servidor>_<herramienta> | The tools of an external MCP server |
Actions without a connected integration stay as a draft for a person to carry out. To automate a system that isn't on the list, create a webhook action that calls it. With two CRMs (HubSpot and Pipedrive) or two accounting systems (Siigo and Alegra), or several payment gateways, connected, the brain works only with the one connected most recently.
Each brain's connectors
Connecting an account doesn't give the brain any actions by itself. In the Console, on the brain's Connectors tab, the administrator installs each connector like an app: chooses the account, ticks the actions the brain can use and, optionally, a monthly action cap. Each installed connector brings the brain its skills, and the Missing section shows the capabilities its skills ask for that no connector covers; while they are missing, those actions wait for approval. The step-by-step guide is in the academy: the lesson «Install your brain's connectors» in the «Manage your brains» course.
The Engine checks what is installed before looking something up, running an action or leaving a draft. An action that isn't installed, or that has passed its monthly cap, waits for approval with the reason in the log.
Zunous blocks
At the company's request, the Zunous team can block a platform or an action for some brains or for all of them; for example, that nobody creates invoices in Siigo from a brain. A block overrides what is installed: the action goes to the log as blocked, with the reason, and is neither run nor left as a draft, and in the Console the connector shows as Blocked by Zunous. To change a block, write to the Zunous team from Help and support.
Shared accounts
An AI model, HubSpot, Pipedrive, Siigo, Alegra, payment gateway, Slack, Shopify or WooCommerce account can be shared between the organization's brains: the administrator marks it as shared in Company connections and then installs it in other brains from their Connectors tab. The credential isn't copied: it stays encrypted in the brain that connected it, and the Engine asks that brain for it at the moment of use, only if the account is still shared and the requesting brain has it installed. Google and WhatsApp are not shared.
Usage
The Console's Usage page (Organization menu) shows, per brain and per month, each model's tokens and estimated cost on the client's key and each connector's actions against its cap, and downloads it as CSV. The cost is an estimate at each provider's list price; the real invoice comes from the AI provider. In the first days of each month, administrators get the previous month's summary by email.
Google Workspace
- What the client does: click Connect with Google with a role account (for example
ventas@tuempresa.com), not a personal one. - Permissions it requests: send email (
gmail.send), create events on its own calendars and see availability (calendar.events.owned,calendar.freebusy), spreadsheets (spreadsheets) and only the files Zunous creates in Drive (drive.file). It doesn't read email or the rest of Drive. - Limit: 50 emails per day per brain, one recipient per email.
- Incoming email: when Zunous turns on email reading, the connection also requests
gmail.readonly. The Motor checks the role's inbox every 5 minutes and each new email from a person wakes the brain with thecorreo.mensaje_entranteevent (de,nombre,asunto,texto,message_id,referencias,hilo). It skips automatic replies, newsletters and what the account itself sent, and it never marks, moves or deletes anything. The brain answers withemail.enviaranden_respuesta_a,referenciasandhilo, in the client's own thread. Until Google approves that permission, reading is off.
HubSpot
- In HubSpot: Settings → Integrations → Private Apps → Create a private app.
- Scopes:
crm.objects.contacts.read,crm.objects.contacts.write,crm.objects.companies.read,crm.objects.companies.writeandcrm.objects.deals.read. - Copy the token (
pat-…) and paste it into the Console.
If HubSpot rejects the token later, the integration moves to "check" and the Console alerts you.
Pipedrive
- In Pipedrive: open your name (top right) › Company settings › Personal preferences › API and copy the personal token (40 characters).
- Paste it in the Console. Optional: the company domain (what goes before
.pipedrive.com) to check that the token belongs to that company.
The brain works with that user's permissions; use a dedicated user if you can. Lookups don't go through drafts; creating or updating people, notes, activities and moving a deal to another stage follow the autonomy level. Winning or losing a deal is always a person's decision. Zunous stays under Pipedrive's limit (8 calls every 2 seconds per brain).
Own CRM (your company's system)
If your company keeps its customers in its own system, connect it instead of HubSpot or Pipedrive. Publish in your system one https address that receives each of the brain's crm.* actions as a POST with JSON and answers { "ok": true|false, "resultado": "text" }:
POST https://tu-sistema.com/zunous/crm
Authorization: Bearer <token>
{ "version": 1, "id": "0f3c…", "enviado": "2026-11-20T21:40:00.000Z", "org": "mi-empresa", "brain": "comercial",
"accion": "crm.crear_lead", "destinatario": "ana@cliente.co", "contenido": "Nota inicial", "parametros": { "nombre": "Ana Ruiz" } }{ "ok": true, "resultado": "Lead creado: Ana Ruiz · ana@cliente.co · etapa Nuevo" }Actions that arrive: crm.probar (when connecting), crm.buscar_contacto, crm.historial, crm.consultar_embudo, crm.crear_lead (if it already exists, do not duplicate it), crm.actualizar_lead, crm.actualizar_cuenta, crm.registrar_nota, crm.buscar_negocio, crm.registrar_actividad and crm.mover_etapa. Zunous never sends crm.mover_etapa to a won, lost or closed stage: a person decides that. resultado is the text the brain reads (up to 6,000 characters): say what you found or did, or why it could not be done. Answer 200 when you understood the request, 401 if the token is not valid (the integration moves to "review") and use id so the same write is not applied twice. Redirects are not followed; Zunous waits 15 seconds and makes up to 30 calls per minute per brain.
In the Console, in the brain's Autonomous Mode, paste the address, a token of at least 24 characters and the name of your system. What your system answers reaches the brain as information, never as an instruction, and actions follow the autonomy level just as with HubSpot.
Siigo (Colombia)
- In Siigo Nube: Alianzas › Mi credencial API menu. Copy the API user and the access key.
- Paste them in the Console. Zunous identifies itself to Siigo with the
Partner-Id: Zunousheader.
Creating an invoice and recording a payment always go through human approval, whatever the policy says. The invoice is created without sending it to the DIAN or to the customer (stamp.send: false, mail.send: false): a person issues it from Siigo. Each creation carries an Idempotency-Key, so retrying doesn't duplicate it. Siigo's limit: 100 calls per minute per company; Zunous uses up to 80.
Alegra
- In Alegra: Configuración › API - Integraciones con otros sistemas. Copy the email and the token (generate one if there isn't any).
- Paste them in the Console.
As with Siigo, creating an invoice and recording a payment always go through human approval. The invoice stays as a draft (status: draft, not stamped): a person issues it from Alegra. Recording a payment needs the bank account; if there are several, the brain asks for one. Alegra's limit: 150 calls per minute; Zunous uses up to 120.
Payment gateways: Mercado Pago, Wompi and Stripe
The brain creates payment links and checks the payments received. It never charges, refunds or voids: money only moves when the customer pays the link. The link's reference (for example the invoice number) tells you later which invoice was paid.
| Gateway | Credential | Where to find it |
|---|---|---|
| Mercado Pago | Access Token (APP_USR-…, or TEST-… for testing) | Mercado Pago Developers › Your integrations › your application › Production credentials |
| Wompi (Colombia, COP only) | Public key (pub_prod_…) and private key (prv_prod_…), from the same environment | Merchant dashboard › Developers; the Sandbox keys (pub_test_…, prv_test_…) go to the test environment |
| Stripe | Restricted key (rk_live_…) or secret key (sk_live_…); never the publishable pk_ | Developers › API keys; the restricted key needs write access to Payment Links and read access to Checkout Sessions and PaymentIntents |
Mercado Pago links are created in the currency of the account's country and expire when the brain says (vence_en_dias, from 1 to 60, 7 by default). Wompi links accept a single payment. Stripe links accept a single payment and don't expire. With several gateways connected, the brain collects and checks in the one connected most recently.
Slack
The brain posts in the team's channels, lists the channels and reads a channel's recent messages. If you choose an alerts channel, the Engine posts there every time any brain leaves something for approval, with the link to the Console, even if the brain's template doesn't use Slack. It never writes to customers or by direct message, never edits or deletes messages, and escapes the text so it can't mention @channel or @here.
- At api.slack.com/apps, choose Create New App › From a manifest and paste the manifest shown on the Slack card in the Console. It asks for
chat:write,chat:write.public,channels:read,groups:read,channels:history,groups:historyandusers:read. - Install to Workspace and copy the Bot User OAuth Token (
xoxb-…) from OAuth & Permissions. A user token (xoxp-…) is rejected. - Paste it in the Console with the alerts channel (for example
#approvals). For a private channel, first invite the app with/invite @Zunous.
Zunous stays below 30 calls per minute per brain.
Shopify
The brain reads the store: an order's status with its tracking number, the orders and sales of the last few days, active products with price and stock per variant, and a customer by email or phone. It never creates, changes, cancels or refunds anything. An order's status is looked up with the order number and the email or phone of whoever asks: if they don't match, the brain doesn't share its details.
- At dev.shopify.com, with your store's organization account, create an app. The app and the store must be in the same organization.
- Create a version with the
read_orders,read_products,read_inventoryandread_customerspermissions, release it and click Install app on your store. - Paste the store's domain (
mystore.myshopify.com), the Client ID and the Client secret in the Console. Zunous asks Shopify for 24-hour access and renews it on its own. If you have a custom app created before 2026, its token (shpat_…) works too.
Zunous uses the 2026-07 Admin GraphQL API and stays below 40 queries per minute per brain.
WooCommerce
The brain reads the store with the same actions as Shopify: an order's status with its tracking number (if the store uses "Shipment Tracking"), orders and sales from recent days, published products with price and stock, and a registered customer by email. It never creates, changes, cancels or refunds anything. It's also an input channel: each new order and each status change wakes the brain with the comercio.pedido_actualizado event (pedido, comprador, de, correo, telefono, estado, estado_tienda, total, productos, envio, transportadora, guia, fecha).
- In WordPress, open WooCommerce › Settings › Advanced › REST API and click Add key. Choose an administrator user and Read/Write permission.
- Paste the store address (
https://mystore.com), the Consumer key (ck_…) and the Consumer secret (cs_…) in the Console. Zunous checks the key and creates two webhooks (order.createdandorder.updated).
Notifications arrive signed with a key that Zunous generates for each brain (X-WC-Webhook-Signature); a notification without that signature is rejected. Write access is used only to create and delete those webhooks: with a read-only key, the brain looks up the store and the Console says it gets no notifications. With Shopify and WooCommerce on the same brain, the one you connected most recently wins. Zunous uses the wc/v3 REST API and stays under 30 requests per minute per brain.
Calendly
The brain books with Calendly: it checks event types and the meetings of the coming days, and creates single-use booking links so the client picks a time. It never cancels or reschedules a meeting. It is also an input channel: when you connect it, Zunous subscribes to Calendly notifications, and each scheduled or canceled meeting wakes the brain with the agenda.cita_agendada or agenda.cita_cancelada event (de, nombre, evento, inicio, fin, zona, lugar, respuestas, motivo, reprogramar_url).
- In Calendly, open Integrations › API and webhooks and create a personal access token.
- Paste the token in the Console. Zunous checks the account and subscribes to meeting notifications on its own.
Notifications arrive signed with a key Zunous generates for each brain; a notification without that signature, or older than 5 minutes, is rejected. Calendly notifications need a paid plan (Standard or higher): without it, the brain checks and creates links, and the Console says so.
WhatsApp Business
Requires the Growth plan or higher and a WhatsApp Business account in Meta with the Cloud API.
- In Meta: create a system user with a permanent token (
EAA…) and thewhatsapp_business_messagingandwhatsapp_business_managementpermissions. - In the Console: paste the Phone number ID, the token and the App secret (32 characters).
- In Meta, set up the webhook with the address
https://mcp.zunous.com/whatsapp/{organización}/{brain}and thezn_…Verify token the Console shows, and subscribe to themessagesfield.
The number can't be in use in the WhatsApp app on a phone. Incoming messages reach the brain as the whatsapp.mensaje_entrante event. Outside WhatsApp's 24-hour window, the brain can only send templates approved by Meta. Limit: 100 messages per day per brain.
Telegram
The brain runs the company's Telegram bot. It's an input channel: each private message someone sends the bot wakes the brain with the telegram.mensaje_entrante event (de is the chat number, nombre, usuario, idioma, texto, tipo, fecha). And an output one: telegram.enviar replies in that chat. Telegram doesn't let a bot write first, so the brain only answers people who already wrote to it.
- In Telegram, message @BotFather, send
/newbotand choose the bot's name and username. - Paste the token (
123456789:AA…) in the Console. Zunous checks the bot and registers its webhook with a secret key unique to the brain.
Each notification carries that key in X-Telegram-Bot-Api-Secret-Token; one without it is rejected. Groups, channels and messages from other bots are ignored. A bot connects to a single brain. Zunous stays under 30 calls per minute per brain.
Freshdesk
The brain runs the company's Freshdesk help desk. It's an input channel: with Autonomous Mode on, Zunous checks the account every 5 minutes, and each new ticket and each customer reply wakes the brain with the freshdesk.mensaje_entrante event (ticket, nuevo, asunto, texto without quoted text, de is the email of whoever opened the ticket, nombre, estado, prioridad, fecha). And output: freshdesk.enviar replies in the ticket (Freshdesk emails the reply), freshdesk.nota_interna leaves a note only the team sees, and freshdesk.cambiar_estado sets it to open, pending or resolved. To look things up: freshdesk.consultar_ticket and freshdesk.buscar_tickets.
- In Freshdesk, open your profile picture › Profile settings › View API key and copy it.
- Paste it in the Console with the account's subdomain (
companyin company.freshdesk.com). Zunous checks the key against the agent who owns it.
There are no webhooks to set up. The first check starts from the connection: the brain doesn't answer tickets that were already there. freshdesk.enviar checks that the ticket belongs to the recipient. An account connects to a single brain. Zunous stays under 20 calls per minute per brain.
Spreadsheets
Register each sheet with a short name (for example pedidos) and its Google Sheets Share link (docs.google.com/spreadsheets/…). It opens with the connected Google account. Up to 20 sheets per brain; hoja.leer returns up to 200 rows per call and hoja.agregar_fila has a cap of 200 rows per day.
External MCP servers
A brain can use the tools of any MCP server: a marketing platform's, a CRM's or ERP's that publishes its own, or your company's own. An administrator connects it in Autonomous Mode › Connectors › MCP servers:
- Enter a short name (for example
meta), the server'shttps://address and, if it asks for one, a token, which is sent asAuthorization: Bearer. - Zunous lists the server's tools and doesn't use any of them yet.
- Check the ones the brain can use. For each one, choose whether it's a Query (only retrieves information) or an Action (changes something) and its autonomy level, which starts in Draft. Set a daily call cap for the whole server (100 by default).
To the brain, each chosen tool is the action accion.<servidor>_<herramienta>, for example accion.meta_crear_publicacion, and it goes through the same policy, schedule, caps, approval inbox and plan as the other actions. What the server returns is treated as data, never as instructions. Limits: 5 servers per brain, 40 tools per server and 15 fields per tool. If the server requires signing in with OAuth, use Connect with OAuth instead: Zunous finds the server's authorization server, registers itself when the server allows it (otherwise you enter the client ID it gave you, with this redirect address: https://app.zunous.com/consola/mcp/vuelta), takes you to sign in and uses PKCE. The tokens are stored encrypted and renewed on their own; if the server revokes the permission, the card asks to sign in again.
Google Drive folders (knowledge)
For the brain to learn from your documents:
- Share the folder as Viewer with the Zunous account email the Console shows in Knowledge.
- Paste the folder link into the Console.
Zunous reads it again every 6 hours. You can also upload files directly in Knowledge.
The Autonomous Mode AI key
Autonomous Mode works only with the key from your own AI account: Anthropic (Claude), OpenAI or Google (Gemini). Without your own key there's no Autonomous Mode. You choose the provider and paste the key into the Console, in Autonomous Mode › AI model; it's stored encrypted, and afterwards you only see its last four characters. Your provider bills the usage.
Zunous chooses the model version based on the task, to balance quality and cost:
| Provider | Autonomous work | Memory's nightly rest |
|---|---|---|
| Anthropic | Claude Sonnet 5.5 | Claude Haiku 5.5 |
| OpenAI | GPT-5.5 | GPT-5.5 |
| Gemini 3.5 Flash | Gemini 3.5 Flash |
In Connected Mode (MCP or API) the model is your assistant's or your application's, and Zunous doesn't use a language model: it provides the memory, the knowledge and the rules. Getting a brain started (the profile assistant and the first organization of its memory) uses Zunous AI, with credits included in the plan (Limits and plans).
A brain can have more than one model, each one as a connector: the primary does the work and the backup steps in if the primary fails (for example, the provider rate-limits requests) or reaches its monthly cap in dollars. At 80 % of the cap a warning appears; at 100 %, that model rests until the next month. Models are connected and adjusted on the brain's Connectors tab. If the brain is left with no model, autonomous work is skipped and the log says why.
Something unclear? Write to us at hello@zunous.com.