View as Markdown
Thinkific icon

Thinkific ACTION

Update User

Updates the information of a specific user on Thinkific. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Thinkific account once, then configure and run Update 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: "thinkific-update-user",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    thinkific: { authProvisionId: "apn_xxxxxxx" },
    userId: "User ID",
    firstName: "First 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.

Update User inputs
Property Type Description
userId User ID string
The ID of the user
Required Dynamic
firstName First Name string
The user's first name
Optional
lastName Last Name string
The user's last name
Optional
password Password string
The password of the User. If not included, the Express Sign In Link becomes activated for the User. Min length 8.
Optional
roles Roles string[]
The user's roles
Optional
company Company string
The user's company name
Optional
headline Headline string
The user's headline
Optional
affiliateCode Affiliate Code string
User's affiliate code
Optional
affiliateCommission Affiliate Commission string
Required only if the User is an affiliate. This should be greater than 0 and less than or equal to 100 if the type is percentage or lower than 9999.99 if is a fixed type.
Optional
affiliateCommissionType Affiliate Commission Type string
The affiliate payout type, it can be either % (percentage, default) or $ (fixed amount). Required only if the User is an affiliate.`
Optional
affiliatePayoutEmail Affiliate Payout Email string
The email of the User. Required only if the user is an affiliate. Used to pay the User out.
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
thinkific-update-user
Version
0.0.3
App
Thinkific
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes