pinkr-crm for Openclaw

A Python-based CLI tool for AI agents to interact seamlessly with Pinkr CRM backend APIs for customer data management.

double-jin
v0.1.0
Mar 31, 2026
0
595
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pinkr-admin-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pinkr-admin-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is pinkr-crm?

The pinkr-crm skill provides a robust interface for AI agents to access and manage customer data within the Pinkr CRM ecosystem. By leveraging Openclaw Skills, developers can empower their agents to perform member lookups and detailed profile retrievals through a secure POST-based API structure. The skill handles complex tasks like automated token management, session caching, and error handling, ensuring a stable connection between the AI model and the backend database.

pinkr-crm Use Cases

  • Retrieving customer lists for automated marketing analysis.
  • Fetching specific member details via ID for personalized support.
  • Integrating CRM data into AI-driven reporting workflows.
  • Automating customer verification processes through Openclaw Skills.

How pinkr-crm Works

  1. The AI agent initiates a login sequence using the provided admin credentials to obtain a Bearer Token.
  2. The token is cached in memory for the duration of the execution to optimize subsequent requests.
  3. The agent identifies the user intent (e.g., listing members or checking details) and constructs a JSON payload for the specific POST endpoint.
  4. The skill executes the Python CLI command, handling network retries or re-authentication if the token expires.
  5. Results are returned as beautified JSON, which the AI agent parses to provide a human-readable response.

pinkr-crm Setup

To get started with this skill, configure your environment variables and initialize the connection.

# Set required environment variables
export PINKR_ADMIN_NAME="your_admin_name"
export PINKR_PASSWORD="your_password"
export PINKR_BASE_URL="https://crm.pinkr.com"

# Test the connection to ensure Openclaw Skills can reach the CRM
python pinkr_crm.py test-connection

pinkr-crm Data Schema & Taxonomy

The skill uses standardized JSON objects for both requests and responses. Key endpoints include:

Endpoint Method Description
Crm/Business/getToken POST Authentication and token retrieval
Crm/Customer/GetCustomers POST Fetches member lists based on phone or criteria
Crm/Customer/GetCustomer POST Retrieves detailed member profile by customer ID

Common Response Structure:

  • code: Status code (e.g., 200).
  • message: Success or error description.
  • data: Payload containing requested CRM records or token details.

pinkr-crm Advanced Features

  • Automated Token Management: Handles session expiration and re-login without manual intervention.
  • AI-Optimized Output: Returns pretty-printed JSON specifically formatted for LLM context windows within Openclaw Skills.
  • Error Resilience: Built-in retry logic for network instability and automatic cache clearing.
  • Comprehensive CLI: Includes tools for testing connections and auditing current configurations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*