Vryno ACTION
Create Unique Lead
Creates a unique lead in the Vryno system, ensuring no duplication of lead details. See the documentation
- Action
- Writes data
- OAuth
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Vryno account once, then configure and run Create Unique Lead 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: "vryno-create-unique-lead",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
vryno: { authProvisionId: "apn_xxxxxxx" },
firstName: "First Name",
name: "Last Name",
},
})
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": "vryno-create-unique-lead",
"configured_props": {
"vryno": { "authProvisionId": "apn_xxxxxxx" },
"firstName": "First Name",
"name": "Last Name"
}
}'// 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": "vryno",
},
},
},
)
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: "vryno-create-unique-lead",
arguments: {
firstName: "First Name",
name: "Last Name",
},
})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 |
|---|---|---|
firstName First Name | string | The lead's first name. Optional |
name Last Name | string | The lead's last name. Required |
email Email | string | The lead's email. Optional |
phoneNumber Phone Number | string | The lead's phone number. Optional |
company Company | string | The company the lead works for. Optional |
website Website | string | The lead's website. Optional |
ownerId Owner Id | string | The user Id related to the lead.You can find the user IDs in your account -> settings -> users & controls -> users, click on some user and the ID will be in URL. Required |
score Score | integer | The lead's score. Optional |
expectedRevenue Expected Revenue | integer | Expected revenue for the lead. Optional |
numberOfEmployees Number Of Employees | integer | Number of employees at the lead company. Optional |
billingAddress Billing Address | string | The lead's billing address. Optional |
billingCity Billing City | string | The lead's billing city. Optional |
billingState Billing State | string | The lead's billing state. Optional |
billingCountry Billing Country | string | The lead's billing country. Optional |
billingZipcode Billing Zipcode | string | The lead's billing zipcode Optional |
shippingAddress Shipping Address | string | The lead's shipping address. Optional |
shippingCity Shipping City | string | The lead's shipping city. Optional |
shippingState Shipping State | string | The lead's shipping state. Optional |
shippingCountry Shipping Country | string | The lead's shipping country. Optional |
shippingZipcode Shipping Zipcode | string | The lead's shipping zipcode Optional |
description Description | string | A brief description about the lead. 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
- vryno-create-unique-lead
- Version
- 0.0.2
- App
- Vryno
- Authentication
- OAuth
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗