View as Markdown
HelpCrunch icon

HelpCrunch ACTION

Find or Create Customer

Search for an existing customer within Helpcrunch platform, if no match is found it creates a new customer record. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's HelpCrunch account once, then configure and run Find or 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: "helpcrunch-find-create-customer",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    helpcrunch: { authProvisionId: "apn_xxxxxxx" },
    name: "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.

Find or Create Customer inputs
Property Type Description
name Name string
Name of the customer
Optional
email Email string
Email address of the customer
Optional
company Company string
Company of the user
Optional
phone Phone string
Phone number of the user
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
helpcrunch-find-create-customer
Version
0.0.2
App
HelpCrunch
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes