View as Markdown
Craftboxx icon

Craftboxx ACTION

Create Customer and Mailing Address

Creates a new customer along with their mailing address in Craftboxx. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Craftboxx account once, then configure and run Create Customer and Mailing Address 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: "craftboxx-create-customer-and-mailing-address",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    craftboxx: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    customerNumber: "Customer Number",
  },
})

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 and Mailing Address inputs
Property Type Description
name Name string
The name of the customer
Required
customerNumber Customer Number string
The number of the customer
Optional
info Info string
The info of the customer
Optional
type Type string
The customer address type
Optional
street Street string
The customer address street
Optional
zip Zip string
The customer address zip
Optional
city City string
The customer address city
Optional
country Country string
The customer address country
Optional
mail Mail string
The customer address mail
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
craftboxx-create-customer-and-mailing-address
Version
0.0.3
App
Craftboxx
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes