View as Markdown
SkillzRun icon

SkillzRun ACTION

Upsert User

Creates or updates a user based on the user email prop. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's SkillzRun account once, then configure and run Upsert User from your backend or agent.

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: "skillzrun-upsert-user",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    skillzrun: { authProvisionId: "apn_xxxxxxx" },
    email: "User Email",
    name: "User Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Upsert User inputs
Property Type Description
email User Email string
The email of the user. This is required and must be unique.
Required
name User Name string
The name of the user
Required
phone Phone string
The phone number of the user
Optional
isActive Is Active boolean
Whether the user is active
Optional
seesAllSubjects Sees All Subjects boolean
Whether the user sees all offers
Optional
ignoreNotOpenLevels Ignore Not Open Levels boolean
Whether to ignore not open levels
Optional
ignoreStopItems Ignore Stop Items boolean
Whether to ignore stop items
Optional
noteAboutUser Note About User string
Additional information about the user
Optional
isDemoMode Is Demo Mode boolean
Whether the user is in demo mode
Optional
aboutMe About Me string
Information about the user
Optional
personalLink Personal Link string
The url of the user's personal link
Optional
newPassword New Password string
The password of the user
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
skillzrun-upsert-user
Version
0.0.2
App
SkillzRun
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes