|
Staffology is a cloud-based payroll and HR software designed for UK businesses. It automates payroll processes, manages employee records, and handles HMRC reporting. Accountants and businesses of all sizes in the UK use it to streamline their payroll and HR administration.
Official docs: https://developers.staffology.co.uk/
Use action names and parameters as needed.
This skill uses the Membrane CLI to interact with Staffology. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.
Install the Membrane CLI so you can run membrane from the terminal:
CODEBLOCK0
CODEBLOCK1
A browser window opens for authentication.
Headless environments: Run the command, copy the printed URL for the user to open in a browser, then complete with membrane login complete <code>.
membrane search staffology --elementType=connector --json
Take the connector ID from output.items[0].element?.id, then:
membrane connect --connectorId=CONNECTOR_ID --json
The user completes authentication in the browser. The output contains the new connection id.
membrane connection list --json
If a Staffology connection exists, note its INLINECODE3
When you know what you want to do but not the exact action ID:
CODEBLOCK5
This will return action objects with id and inputSchema in it, so you will know how to run it.
Use npx @membranehq/cli@latest action list --intent=QUERY --connectionId=CONNECTION_ID --json to discover available actions.
CODEBLOCK6
To pass JSON parameters:
CODEBLOCK7
When the available actions don't cover your use case, you can send requests directly to the Staffology API through Membrane's proxy. Membrane automatically appends the base URL to the path you provide and injects the correct authentication headers — including transparent credential refresh if they expire.
CODEBLOCK8
Common options:
| Flag | Description |
|---|---|
| INLINECODE5 | HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| INLINECODE6 |
-H "Accept: application/json" |-d, --data | Request body (string) |--json | Shorthand to send a JSON body and set Content-Type: application/json |--rawData | Send the body as-is without any processing |--query | Query-string parameter (repeatable), e.g. --query "limit=10" |--pathParam | Path parameter (repeatable), e.g. --pathParam "id=123" |
membrane action list --intent=QUERY (replace QUERY with your intent) to find existing actions before writing custom API calls. Pre-built actions handle pagination, field mapping, and edge cases that raw API calls miss.该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 staffology-1775730265 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 staffology-1775730265 技能
skillhub install staffology-1775730265
文件大小: 2.6 KB | 发布时间: 2026-4-11 23:01