View as Markdown
Agendor icon

Agendor ACTION

Create Person

Create Person See the documentation.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Agendor account once, then configure and run Create Person 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: "agendor-create-person",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    agendor: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    cpf: "Legal Document Number (CPF)",
  },
})

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 Person inputs
Property Type Description
name Name string
Name of this person.
Required
cpf Legal Document Number (CPF) string
Legal document number (CPF)
Optional
organizationId Organization ID string
The ID of the organization to retrieve.
Optional Dynamic
role Role string
Person's role in their organization
Optional
ranking Ranking string
Ranking displayed as stars in the page.
Optional
description Description string
Your description of this person.
Optional
birthday Birthday string
Person's birthday with or without year (YYYY-MM-DD or MM-DD).
Optional
ownerUser Owner User string
User ID or email of the owner of this person.
Optional Dynamic
contact Contact object
Contact object can have the following properties: email, work, mobile, fax, whatsapp, facbeook, twitter, instagram, linked_in, skype. Please check the documentation in the description for more information.
Optional
address Address object
Address Object can have the following properties: postal_code, country, district, state, street_name, street_number, additional_info, city. Please check the documentation in the description for more information.
Optional
leadOrigin Lead Origin string
Lead origin.
Optional Dynamic
category Category string
Category ID or name.
Optional Dynamic
products Products string[]
Array of product IDs.
Optional Dynamic
allowedUsers Allowed Users string
Array of IDs of users that should be able to see this person.
Optional Dynamic
allowToAllUsers Allow to All Users boolean
Set true if this person should be visible to all users.
Optional
customFields Custom Fields object
Custom fields information.
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
agendor-create-person
Version
0.0.2
App
Agendor
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes