Manage OnePageCRM contacts, companies, deals, next actions, notes and calls, and look up users, statuses, lead sources and pipelines via the OnePageCRM API v3.
OnePageCRM ships in the w6w first-party pack. It declares 23 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.onepagecrmOnePageCRM is an action-focused CRM for small businesses: every contact is meant to carry a next action, so nothing is left without a follow-up. This app covers its core objects through the OnePageCRM API v3.
It lists, searches, creates, updates and deletes contacts, reads companies, creates and moves deals through pending, won and lost, and manages next actions: creating one on a contact and marking it done. It logs notes and calls against a contact, tags a contact or changes its status, and looks up the users, statuses, lead sources and pipelines whose ids the other actions need.
Good for teams that want to create contacts and a first next action automatically from a form or another tool, keep deals in step with a billing or support system, log calls from an outside dialer, or hand a lead to the right owner.
Three routes to the same 23 actions. The Workflow tab is generated from OnePageCRM's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
change-contact-status Set a contact's status (lead, prospect, customer, or a custom status).
create-contact Create a contact. Provide a last name or a company name (at least one is required).
get-company Fetch one company with its contact count, won/pending deal totals and pending deals.
get-contact Fetch one contact: names, company, status, tags, phones, emails, URLs, addresses and custom fields.
list-actions List next actions, filtered by assignee, contact, company, done flag or status.
list-companies List the account's companies, optionally filtered by name, phone or first letter.
list-contacts List or search contacts, filtered by name/company/phone, email, tag, status, owner or company.
list-lead-sources The account's lead sources in alphabetical order; each id is what contacts reference as lead_source_id.
list-pipelines The account's deal pipelines, each with its ordered stages; use the pipeline id and a stage number on deals.
list-statuses The account's contact statuses (lead, prospect, customer, custom) in configured order; use the status id on contacts.
list-users The account's users with name, email and role (unpaginated); use the ids as owners and assignees.
update-contact Change fields on a contact. Only the fields you send change (unless Replace is set).
update-deal Change fields on a deal, e.g. mark it won or lost. Only the fields you send change.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying OnePageCRM's real ids.
{
"manifestVersion": "2",
"name": "onepagecrm-example",
"steps": [
{
"id": "assign-contact-tag",
"uses": {
"app": "io.w6w.onepagecrm",
"action": "assign-contact-tag",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"contactId": "<contactId>",
"tagName": "<tagName>"
}
}
]
}assign-contact-tag change-contact-status create-action create-call create-contact +18 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for OnePageCRM, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to OnePageCRM. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "assign-contact-tag",
payload: {
contactId: "<value>",
tagName: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action assign-contact-tag --payload '{"contactId":"<value>","tagName":"<value>"}' Give an AI agent OnePageCRM — without giving it OnePageCRM's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.onepagecrm#assign-contact-tag",
"input": {
"contactId": "<contactId>",
"tagName": "<tagName>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's OnePageCRM connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
OnePageCRM's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. OnePageCRM itself is MIT, and the runtime that executes it is source-available (FSL).
OnePageCRM declares its own checks, so its health is a property of the app rather than something the host guesses at.
The vendor's own probe (developer.onepagecrm.com/status): the 1x1 PNG at https://app.onepagecrm.com/status_check/<timestamp>.png. 1x1 = up; any other image = maintenance; no image = unreachable. Unauthenticated and unsigned.
Unsigned GET https://app.onepagecrm.com/api/v3/users. A 401 carrying OnePageCRM's own error envelope (`error_name`) passes: it proves the API is answering. Credential validity is the derived `auth:*` check's job.