View as Markdown
RiskAdvisor icon

RiskAdvisor ACTION

Update Client

Updates an existing in RiskAdvisor. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's RiskAdvisor account once, then configure and run Update Client 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: "riskadvisor-update-client",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    riskadvisor: { authProvisionId: "apn_xxxxxxx" },
    clientId: 10,
    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 Client inputs
Property Type Description
clientId Client integer
Identifier of the client to update
Required Dynamic
firstName First Name string
The first name of the client.
Optional
lastName Last Name string
The last name of the client.
Optional
phoneNumber Phone Number string
The phone number for the client.
Optional
email Email string
The email address of the client.
Optional
middleName Middle Name string
The middle name of the client.
Optional
suffix Suffix string
The suffix of the client.
Optional
dateOfBirth Date of Birth string
The date of birth of the client.
Optional
contactPreference Contact Preference string
The client's preferred contact method (i.e. phone or email).
Optional
gender Gender string
The client's gender.
Optional
education Education string
The client's education level.
Optional
occupation Occupation string
The client's occupation.
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
riskadvisor-update-client
Version
0.0.2
App
RiskAdvisor
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes