WhatsApp Connector Pack
★Trustedv1.0.0MIT✔Verified88by AgentNode · published 22 days ago · toolpack
Send and receive WhatsApp messages via the Business API.
Send text messages, images, and documents through WhatsApp Business API. Supports message templates, quick replies, and read receipts.
Quick Start
agentnode install whatsapp-connector-packUsage
From packagefrom whatsapp_connector_pack.tool import run
result = run(
action="send_message",
to="+14155551234",
message_type="text",
text="Hi Maria! Your order #ORD-7823 has been shipped. "
"Expected delivery: March 21, 2026. "
"Track your package here: https://track.example.com/ORD-7823"
)
print(f"Message ID: {result['message_id']}")
print(f"Status: {result['status']}")
print(f"Timestamp: {result['timestamp']}")Environment Variables
WHATSAPP_PHONE_NUMBER_IDWhatsApp Business phone number ID from Meta Business Manager
WHATSAPP_ACCESS_TOKENWhatsApp Business API access token from Meta for Developers
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 18d ago· Runner v2.0.0
Use this when you need to...
- ›Send order confirmation messages to customers via WhatsApp
- ›Build a WhatsApp chatbot for appointment scheduling
- ›Broadcast promotional templates to opted-in customer lists
- ›Receive and process incoming WhatsApp messages for support triage
- ›Send delivery tracking updates with interactive reply buttons
README
WhatsApp Connector Pack
Send and receive WhatsApp messages via the Business API. Build customer communication workflows — from order notifications and appointment reminders to interactive chatbots with quick-reply buttons.
Quick Start
agentnode install whatsapp-connector-pack
from whatsapp_connector_pack.tool import run
result = run(
action="send_message",
to="+14155551234",
text="Your order has been shipped!"
)
print(result["message_id"])
Usage
Send a Text Message
result = run(
action="send_message",
to="+14155551234",
text="Hi! Your appointment is confirmed for tomorrow at 3 PM."
)
Send a Template Message
result = run(
action="send_template",
to="+14155551234",
template_name="order_update",
template_language="en",
components=[{
"type": "body",
"parameters": [
{"type": "text", "text": "ORD-4521"},
{"type": "text", "text": "March 21, 2026"}
]
}]
)
Receive and Process Messages
result = run(action="get_messages", limit=10)
for msg in result["messages"]:
print(f"{msg['from']}: {msg['text']}")
API Reference
| Action | Description |
|---|---|
send_message | Send a text, image, or document message |
send_template | Send an approved template message |
get_messages | Retrieve incoming messages |
get_message_status | Check delivery/read status of a sent message |
Requirements
export WHATSAPP_PHONE_NUMBER_ID=1234567890
export WHATSAPP_ACCESS_TOKEN=EAABs...
Requires a Meta Business account with WhatsApp Business API access.
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install whatsapp-connector-packEnvironment Variables
WHATSAPP_PHONE_NUMBER_IDrequiredWHATSAPP_ACCESS_TOKENrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode