View as Markdown
SkillzRun icon

SkillzRun ACTION

Create User With Offers

Creates a new user with their associated offers in the SkillzRun app. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's SkillzRun account once, then configure and run Create User With Offers 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-create-user-with-offers",
  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.

Create User With Offers 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
offerIds Offer IDs integer[]
The IDs of the associated offers.
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

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-create-user-with-offers
Version
0.0.2
App
SkillzRun
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes