CONNECT APP
Build with UpKeep
The #1 Software for Maintenance and Facility Management Teams. UpKeep is the top-rated software designed to revolutionize maintenance and asset management. We provide mobile-first SaaS solutions, Industrial IoT sensors, powerful data analytics, advanced enterprise integrations, and top-notch professional services.
Productivity
- OAuth
MCP
Give your agent UpKeep tools
Every UpKeep action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's UpKeep account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "upkeep",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Create Purchase Order:
const result = await mcp.callTool({
name: "upkeep-create-purchase-order",
arguments: {
title: "Title",
vendorId: "Vendor",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "upkeep",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Create Purchase Order:
result = await session.call_tool("upkeep-create-purchase-order", {
"title": "Title",
"vendorId": "Vendor",
})API PROXY
Call the UpKeep API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the UpKeep API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.onupkeep.com/api/v2/users/",
})
// Any allowed UpKeep endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://api.onupkeep.com/api/v2/users/
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkub251cGtlZXAuY29tL2FwaS92Mi91c2Vycy8?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run UpKeep actions from your backend
Connect a user's UpKeep account once, then run Create Purchase Order on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "upkeep-create-purchase-order",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
upkeep: { authProvisionId: "apn_xxxxxxx" },
title: "Title",
vendorId: "Vendor",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="upkeep-create-purchase-order",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"upkeep": {"authProvisionId": "apn_xxxxxxx"},
"title": "Title",
"vendorId": "Vendor",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "upkeep-create-purchase-order",
"configured_props": {
"upkeep": { "authProvisionId": "apn_xxxxxxx" },
"title": "Title",
"vendorId": "Vendor"
}
}'TOOLS
UpKeep actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Create Purchase Order
actionCreate a Purchase Order, See the docsWritev0.0.3 -
Create Request
actionCreate a Request, See the docsWritev0.0.3 -
Create Work Order
actionCreate a Work Order, See the docsWritev0.0.3 -
Find Asset
actionFinds assets according to props configured, if no prop configured returns all assets, See the docsRead-onlyv0.0.3 -
Find Location
actionFinds locations according to props configured, if no prop configured returns all locations, See the docsRead-onlyv0.0.3 -
Find Part
actionFinds parts according to props configured, if no prop configured returns all parts, See the docsRead-onlyv0.0.3 -
Find User
actionFinds users according to props configured, if no prop configured returns all users, See the docsRead-onlyv0.0.3 -
Find Vendor
actionFinds vendors according to props configured, if no prop configured returns all vendors. Note: enterprise/business-plus plan access only. See the docsRead-onlyv0.0.4 -
List Asset Options
actionRetrieves available options for the Asset field.Read-onlyv0.0.1 -
List Category Options
actionRetrieves available options for the Category field.Read-onlyv0.0.1 -
List Downtime Status Options
actionRetrieves available options for the Downtime Status field.Read-onlyv0.0.1 -
List Location Options
actionRetrieves available options for the Location field.Read-onlyv0.0.1 -
List Parts Options
actionRetrieves available options for the Parts field.Read-onlyv0.0.1 -
List Purchase Order Id Options
actionRetrieves available options for the Purchase Order Id field.Read-onlyv0.0.1 -
List Team Options
actionRetrieves available options for the Team field.Read-onlyv0.0.1 -
List User Options
actionRetrieves available options for the User field.Read-onlyv0.0.1 -
Update Purchase Order
actionUpdate a Purchase Order, See the docsWritev0.0.3
-
New Custom Event
triggerEmit new event when a configured event occurs.Instantv0.0.2 -
New Purchase Order Event
triggerEmit new event when a purchase order is created.Instantv0.0.2 -
New Purchase Order Status Change Event
triggerEmit new event when a purchase order status is changed.Instantv0.0.3 -
New Request Approved Event
triggerEmit new event when a request is approved.Instantv0.0.2 -
New Request Event
triggerEmit new event when a request is created.Instantv0.0.2 -
New Work Order Event
triggerEmit new event when a work order is created.Instantv0.0.2 -
New Work Order Status Change Event
triggerEmit new event when a work order status is changed.Instantv0.0.2
- App slug
- upkeep
- Authentication
- OAuth
- Categories
- Productivity
- Actions
- 17
- Triggers
- 7
- API proxy
- Available