HelpSpot ACTION
Create Request
Creates a new user request. See the documentation
- Action
- Writes data
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's HelpSpot account once, then configure and run Create Request 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: "helpspot-create-request",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
helpspot: { authProvisionId: "apn_xxxxxxx" },
tNote: "Note",
xCategory: "Category",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "helpspot-create-request",
"configured_props": {
"helpspot": { "authProvisionId": "apn_xxxxxxx" },
"tNote": "Note",
"xCategory": "Category"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "helpspot",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "helpspot-create-request",
arguments: {
tNote: "Note",
xCategory: "Category",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
tNote Note | string | The note of the request Required |
xCategory Category | string | The category id of the request. Required Dynamic |
fNoteType Note Type | string | The type of the note Optional |
fNoteIsHTML Note Is HTML? | string | whether the note is HTML or text Optional |
sTitle Subject | string | The title used as email subject Optional |
xStatus Status | string | Select a status of the request Optional Dynamic |
sUserId User Id | string | The Id of the customer Optional |
sFirstName First Name | string | The first name of the request creator Optional |
sLastName Last Name | string | The last name of the request creator Optional |
sEmail Email | string | The email of the request creator Optional |
sPhone Phone | string | The phone number of the request creator Optional |
fUrgent Urgent | boolean | Whether the request is urgent or not Optional |
fOpenedVia Opened Via | integer | Request opened via Optional |
emailFrom Send Email From | string | The ID of the mailbox to send emails from Optional Dynamic |
emailCC Email CC | string[] | A list of emails to CC on the request Optional |
emailBCC Email BCC | string[] | A list of emails to BCC on the request Optional |
emailStaff Email Staff | string[] | List of staff to email 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
- helpspot-create-request
- Version
- 0.0.3
- App
- HelpSpot
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗