{"library":"n8n-nodes-waha","title":"n8n WAHA Community Node","description":"The `@devlikeapro/n8n-nodes-waha` package provides community-contributed nodes for n8n, enabling seamless integration with WAHA (WhatsApp HTTP API). This allows n8n users to automate WhatsApp messaging and interactions within their workflows, leveraging a self-hosted WhatsApp API solution. The current stable version is 2024.11.5, with frequent releases indicated by the recent `2024.9.x` and `2024.11.x` versioning. Key differentiators include its open-source nature, the ability to operate WhatsApp automation without Meta's per-message fees, and the nodes being generated from WAHA's OpenAPI specification, ensuring comprehensive API coverage.","language":"javascript","status":"active","last_verified":"Thu Apr 23","install":{"commands":["npm install n8n-nodes-waha"],"cli":null},"imports":["/* End-users do not directly import symbols from n8n community nodes. */","/* End-users do not directly import symbols from n8n community nodes. */"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# 1. Install n8n (if not already installed, e.g., via npm or Docker)\nnpm install -g n8n\n\n# 2. Add the WAHA community node to your n8n instance via CLI:\nn8n add:community-node @devlikeapro/n8n-nodes-waha\n\n# 3. Start your n8n instance (if not running):\nn8n start\n\n# 4. In the n8n UI (e.g., http://localhost:5678):\n#    a. Go to 'Credentials' and add a new 'WAHA API' credential.\n#       - Name: MyWahaAPI\n#       - Base URL: http://localhost:3000 (or your WAHA instance URL)\n#       - API Key: YOUR_WAHA_API_KEY (if WAHA is configured with one)\n#    b. Create a new workflow. Drag and drop:\n#       - 'WAHA Trigger' node: Configure it to listen for 'message' events.\n#         - Webhook URL: Copy the URL provided by the node after saving the workflow and configure your WAHA session to send events to this URL.\n#         - Session: 'default' (or your WAHA session name)\n#       - 'Set' node (to extract message text):\n#         - Mode: 'Merge Data'\n#         - Keep Only Set: true\n#         - Add Field:\n#           - Name: 'text'\n#           - Value: `{{$json.body.message.text.body}}`\n#       - 'WAHA' (action) node (to send a reply):\n#         - Credential: 'MyWahaAPI'\n#         - Operation: 'Send Text'\n#         - Chat ID: `{{$json.body.message.chatId}}` (to reply to the sender)\n#         - Text: `Echo: {{$json.text}}`\n#         - Session: 'default'\n\n# This workflow sets up an 'echo' bot: any message received by WAHA will be echoed back to the sender via n8n.","lang":"javascript","description":"Demonstrates how to install the n8n-nodes-waha community node, configure WAHA API credentials, and build a basic n8n workflow using the WAHA Trigger and WAHA Send Text Message nodes to create an 'echo' bot.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}