P Api
Skill by rafacpti23
Why use this skill?
Automate WhatsApp messaging, instances, and interactive content with the P-API skill for OpenClaw. Streamline customer communication today.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/rafacpti23/p-apiWhat This Skill Does
The P-API skill serves as a comprehensive bridge between your OpenClaw agent and the WhatsApp ecosystem. It utilizes a robust microservices architecture to manage WhatsApp instances, handle complex message types, and interact with professional communication features. By integrating this skill, your agent gains the ability to autonomously send text messages, rich media (images, videos, documents), and interactive elements like buttons, lists, carousels, and polls. Beyond simple messaging, it allows for sophisticated instance management, including QR code generation for pairing, connection status monitoring, and group management. It is designed for developers and businesses needing a scalable way to integrate WhatsApp into automated workflows.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/rafacpti23/p-api. Once installed, navigate to your TOOLS.md file to define your global configuration settings. You must provide the Base URL of your P-API instance and your unique API Key. We recommend using environment variables for the API Key to maintain security.
Use Cases
This skill is ideal for businesses looking to automate customer service, marketing, and notification systems. Use it to: 1) Deploy a 24/7 automated support agent that sends buttons to help users navigate support menus. 2) Schedule bulk promotional messages with personalized attachments. 3) Monitor real-time status of multiple WhatsApp numbers via an automated health check routine. 4) Integrate with internal CRM tools to trigger SMS or WhatsApp notifications when a new lead is qualified. 5) Manage product catalogs, allowing your agent to answer specific product inquiries by pulling data directly from your P-API instances.
Example Prompts
- "Check the status of my 'sales-bot' instance and if it is connected, send a welcome message with a list of our services to the user at [email protected]."
- "Create a new WhatsApp instance named 'marketing-campaign' and provide me with the QR code so I can authorize it."
- "Send a poll to the customer with ID [email protected] asking for their feedback on our latest support interaction, including options for Excellent, Good, and Needs Improvement."
Tips & Limitations
Always ensure your instance is active before sending requests; use the /status endpoint to verify connectivity. The skill relies on external API connectivity, so monitor your network latency. Note that WhatsApp limits apply to message volume; ensure your implementation aligns with WhatsApp Business Policy to avoid account bans. For high-volume usage, consider utilizing the Pro features like chip rotation to maintain delivery reliability.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-rafacpti23-p-api": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api