View as Markdown
Kustomer icon

Kustomer ACTION

Create Customer

Creates a new customer in Kustomer. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Kustomer account once, then configure and run Create 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: "kustomer-create-customer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    kustomer: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    company: "Company",
  },
})

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 Customer inputs
Property Type Description
name Name string
Name of the customer
Optional
company Company string
Company of the customer
Optional
externalId External ID string
External identifier
Optional
username Username string
Username of the customer
Optional
avatarUrl Avatar URL string
URL to the avatar
Optional
externalIds External IDs string[]
External identifiers
Optional
sharedExternalIds Shared External IDs string[]
Shared external identifiers
Optional
emails Emails string[]
Emails of the customer
Optional
sharedEmails Shared Emails string[]
Shared emails
Optional
phones Phones string[]
Phone numbers of the customer
Optional
sharedPhones Shared Phones string[]
Shared phone numbers
Optional
whatsApps WhatsApps string[]
WhatsApp numbers of the customer
Optional
urls URLs string[]
Associated URLs
Optional
tags Tags string[]
Tags associated with the conversation
Optional Dynamic
sentimentPolarity Sentiment Polarity string
Sentiment polarity associated with the conversation
Optional
sentimentConfidence Sentiment Confidence string
Sentiment confidence associated with the conversation
Optional
birthdayAt Birthday At string
A valid ISO 8601 date/time
Optional
gender Gender string
Gender of the customer
Optional
defaultLang Default Language string
Default language for the customer
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
kustomer-create-customer
Version
0.0.3
App
Kustomer
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes