More screenshots

    Works with the AI Agents you already use

    WhatsApp AI Sales, Pix & n8n Production Blueprint (PT-BR)

    by Almir Maria

    1

    Building a production-ready WhatsApp sales agent in Brazil requires more than just a LLM connection.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    WhatsApp AI Sales, Pix & n8n Production Blueprint (PT-BR)

    WhatsApp AI Sales, Pix & n8n Production Blueprint (PT-BR)

    Example session with this skill installed

    Desenhe uma arquitetura no n8n para vender um curso de R$ 197 via WhatsApp, usando a Evolution API e recebimento via Pix. Preciso de proteção contra rajada de mensagens e log LGPD.

    • Read your context and instructions
    • Compiled the whatsapp ai sales

    Finalizei a arquitetura técnica para seu fluxo de vendas via WhatsApp e Pix. Abaixo, detalho a topologia de webhooks, o buffer de mensagens e o contrato JSON para o agente.

    Arquitetura de Vendas WhatsApp Pix (Produção)

    graph TD
        A[WhatsApp/Evolution API] --> B[n8n Webhook: Ingestão]
        B --> C{Redis Buffer: 8s}
        C -->|Acumular| D[Redis msg_buffer:phone]
        C -->|Janela de Silêncio| E[Worker: Concatenar Mensagens]
        E --> F[Agente LLM: Triagem e Oferta]
        F --> G{Intenção: Compra?}
        G -->|Sim| H[Tool: Gerar Pix Dinâmico]
        G -->|Não| I[Fluxo Suporte/Dúvida]
        H --> J[WhatsApp: Enviar Copia-e-Cola]
        K[Webhook Gateway Pix] --> L[n8n: Confirmação Pagamento]
        L --> M[CRM Update + Liberação Curso]
    

    Especificação dos Componentes

    ComponenteRegra de Implementação
    DebounceRedis SET last_seen:{phone} com TTL de 8s. Apenas o último trigger aciona o LLM.
    Idempotênciaidempotency_key gerada como hash(phone + order_id + step).
    LGPDNó de função n8n para regex de mascaramento: \d{3}\.\d{3}\.\*\*\*-\*\*.

    Contrato JSON do Agente

    {
      "estado_atual": "FECHAMENTO_PIX",
      "mensagens_whatsapp": [
        "Perfeito! Gerando seu acesso para o curso.",
        "Aqui está o código Pix Copia-e-Cola (vence em 30 min):"
      ],
      "tool_call": {
        "executar": true,
        "ferramenta": "gerar_cobranca_pix",
        "parametros": {
          "valor_centavos": 19700,
          "cliente_documento": "12345678901"
        }
      }
    }
    

    Next steps

    1. Configure o Redis no seu ambiente n8n para habilitar o nó de espera (Wait) dinâmico.
    2. Homologue o webhook de retorno do seu gateway Pix em ambiente Sandbox.
    3. Adicione o comando SAIR no nó de roteamento inicial para conformidade imediata.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Building a production-ready WhatsApp sales agent in Brazil requires more than just a LLM connection. You face high-frequency message bursts, complex Pix payment flows, and strict LGPD data privacy laws. This skill provides the complete engineering architecture to handle these production pains without losing leads or leaking sensitive data.

    What it does

    • Anti-Burst Buffering implements Redis-based debounce logic to handle users who send multiple short messages.
    • Multimodal Triaging processes text, audio (via Whisper/Gemini), and images with structured OCR extraction.
    • Pix Checkout Engine generates dynamic QR codes and Copy-and-Paste keys with configurable expiration and idempotency.
    • State Machine Architecture separates conversations into Triaging, Offer, Closing, and Human Handoff states.
    • LGPD Governance enforces PII masking, opt-out commands, and strict data retention policies.

    How it works

    1. Initial Diagnosis where you define your WhatsApp provider, orchestrator (n8n/Make), and CRM stack.
    2. Architecture Generation producing end-to-end Mermaid flow diagrams and JSON schemas.
    3. Implementation Specs including specific node configurations for n8n/Make and MCP tool definitions.
    4. Validation against the LGPD checklist to ensure legal and security compliance before rollout.

    Frameworks & tools

    Built for n8n (self-hosted or cloud) and Make. Integrates with WhatsApp Cloud API, Evolution API, Z-API, Redis for buffering, and standard Brazilian Pix gateways.

    Why this beats prompting it yourself

    Standard prompts fail when users send five messages in a row or when a Pix payment fails to sync with the CRM. This skill enforces engineering patterns like Dead Letter Queues and idempotency keys that basic LLM instructions ignore.

    Use cases

    • Automating high-volume sales for digital products with instant Pix delivery.
    • Building lead qualification bots that sync directly with HubSpot or Pipedrive.
    • Creating customer support agents that handle audio messages and proof-of-payment OCR.

    Known limitations

    Requires an external Redis instance for high-scale buffering. Financial confirmation relies entirely on external Pix webhooks rather than LLM vision.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This blueprint provides a production-grade architecture for n8n and Make, solving common 'real-world' issues like handling multiple rapid-fire messages (buffering), processing Pix payments securely, and ensuring LGPD legal compliance for data privacy.

    You will receive complete JSON workflow schemas for n8n/Make, Mermaid architecture diagrams, node configuration guides, and an LGPD validation checklist to ensure your deployment is secure and compliant.

    While it works with any LLM, you will need a WhatsApp provider (such as WhatsApp Cloud API, Evolution API, or Z-API) and an external Redis instance if you plan to implement high-scale message buffering.

    Yes, the 'State Machine Architecture' includes a dedicated workflow for Human Handoff, allowing the AI to smoothly transition the conversation to a live agent when it detects a complex query or a specific user request.

    The blueprint is designed to be provider-agnostic, supporting standard Brazilian Pix gateways that offer webhook notifications, ensuring your CRM and WhatsApp bot sync instantly when a payment is confirmed.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.