View as Markdown
Content Snare icon

Content Snare ACTION

Create Request

Initiates a novel request on Content Snare. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Content Snare 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: "content_snare-create-request",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    content_snare: { authProvisionId: "apn_xxxxxxx" },
    name: "Request Name",
    clientEmail: "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.

Create Request inputs
Property Type Description
name Request Name string
The name of the request to initiate on Content Snare.
Required
clientEmail Email string
The email address of the client.
Required
clientFullName Full Name string
The full name of the client.
Required
clientPhone Client Phone string
The phone number of the client.
Optional
companyName Company Name string
The name of the client's company.
Optional
requestTemplateName Request Template Name string
The name of the request template to use for this request. Either this field or Request Template ID must be provided.
Optional
requestTemplateId Request Template ID string
The ID of the request template to use for this request.
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
content_snare-create-request
Version
0.0.2
App
Content Snare
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes