Install
openclaw skills install salesflareFull Salesflare API operations skill for reading, searching, creating, and updating CRM data (accounts, contacts, opportunities, tasks, pipelines, users, tags, workflows, and more). Use when a user asks to query or mutate Salesflare data via API, build API-driven automations, inspect available endpoints/fields, or troubleshoot Salesflare API requests. Supports practical/basic filters out of the box and raw advanced query parameters; does not provide a dedicated high-level builder for Salesflare's complex query-builder payloads.
openclaw skills install salesflareUse this skill to work with the Salesflare REST API safely and consistently.
Default approach:
Set API key before requests:
export SALESFLARE_API_KEY='your_key_here'
https://api.salesflare.com (production, default)Authorization: Bearer <API_KEY>SALESFLARE_BASE_URL to a staging URL if needed for local testing..env.local or process environment only. Do not publish API keys or smoke-test outputs with the skill.scripts/sf.py — unified CLI wrapper (subcommands: discover, request, get, post, put, patch, delete, smoketest)scripts/sf_discover.py — discover/list endpoints and methods from OpenAPIscripts/sf_request.py — execute GET/POST/PATCH/PUT/DELETE with retry handling; supports query params, JSON body, auto-paginationscripts/sf_smoketest.py — smoke-test OpenAPI operations. Default mode is read-only; lifecycle writes require --allow-write, and cleanup deletes require both --allow-write --allow-delete.python scripts/sf.py discover --contains opportunities
python scripts/sf.py discover --tag Accounts
python scripts/sf.py get --path /accounts --query limit=5 --query search=acme
Always confirm intent with the user before executing POST, PUT, PATCH, or DELETE. For DELETE operations, require explicit confirmation regardless of context — do not infer consent from prior conversation.
Return:
Default smoke test is read-only:
python scripts/sf.py smoketest
Enable lifecycle write-path testing explicitly. This creates controlled test records first, runs GET list and by-ID checks, updates only records created by the same run, then deletes only those records:
python scripts/sf.py smoketest --allow-write --allow-delete
Lifecycle write coverage is intentionally limited to data the smoke test can own and clean up: accounts, contacts, opportunities, tasks, meetings, internal notes/messages, and tags. It also tests account-contact/account-user relationship updates on the test account and feedback on the test message. Other write endpoints are reported as skipped unless they can be safely represented in that lifecycle.
Run write coverage without cleanup only if you intentionally want to keep the created records:
python scripts/sf.py smoketest --allow-write
--allow-write --allow-delete for lifecycle write testing with cleanup. PUT and DELETE are only run on records created by the same smoke-test run.OpenClaw Smoke or tags starting with openclaw-smoke- before rerunning.--query key=valueq object/rules): pass as raw serialized query payload when neededq structures/accounts /contacts /opportunities
/accounts/{account_id}/feed
/tasks /pipelines /users /me
/tags /workflows
See references/endpoints.md for concrete command examples and write patterns.
GET /accounts/{account_id}/feed — returns an account's feed/timeline when enabled for the workspace. If it is unavailable, contact support@salesflare.com and ask Salesflare to turn on account feed API access.GET /persons — bare call can return 500. Use ?search=... or ?id=... instead.GET /tags/{tag_id} — returns 500 with valid IDs; use GET /tags and GET /tags/{tag_id}/usage.GET /persons filter fields — GET /filterfields/person returns 400; use contact instead.references/endpoints.md for the full list of endpoint-specific caveats.sf.py — unified wrapper CLIsf_discover.py — endpoint discovery from OpenAPIsf_request.py — authenticated API execution helpersf_smoketest.py — full operation smoke-test runnerendpoints.md — practical request examples, write patterns, and endpoint-specific caveats