View as Markdown
Paigo icon

Paigo ACTION

Onboard Customer

Creates a new customer and assigns them an offering in Paigo. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Paigo account once, then configure and run Onboard Customer 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: "paigo-onboard-customer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    paigo: { authProvisionId: "apn_xxxxxxx" },
    customerName: "Customer Name",
    email: "Email",
  },
})

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.

Onboard Customer inputs
Property Type Description
customerName Customer Name string
The friendly, human-readable name for the customer profile
Required
email Email string
Customer email address
Required
paymentChannel Payment Channel string
The payment channel associated with a customer
Required
offeringId Offering ID string
The unique identifier for the offering
Optional Dynamic

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
paigo-onboard-customer
Version
0.0.2
App
Paigo
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes