View as Markdown
Vryno icon

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)

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 Unique Lead inputs
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