View as Markdown
Rydoo icon

Rydoo ACTION

Add New User

Creates a new employee record in the company directory. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Rydoo account once, then configure and run Add New User 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: "rydoo-add-new-user",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    rydoo: { authProvisionId: "apn_xxxxxxx" },
    email: "Email",
    firstName: "First 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.

Add New User inputs
Property Type Description
email Email string
Email address of the user. Must be unique within the company account
Required
firstName First Name string
First name of the user
Required
lastName Last Name string
Last name of the user
Required
enabled Enabled boolean
When true, the user receives an activation email. Defaults to inactive if not provided
Optional
groupId Group string
The group to assign to the user
Optional Dynamic
refId Reference ID string
External reference identifier, often used for employee or vendor numbers in ERP systems
Optional
authentication Authentication string
Authentication type for the user. Defaults to company settings if unspecified
Optional
country Country string
3-letter country code per ISO 3166 (e.g., FRA, DEU, USA)
Optional
languageCountryCode Language string
User interface language as a BCP 47 locale tag in language-region format (e.g., en-US, de-DE)
Optional
accountNumber Account Number string
Direct deposit account number for expense reimbursements
Optional
customFields Custom Fields string[]
Custom field values for the user. Each entry must be a JSON object with key, value, and optionally valueCode properties (e.g., {"key": "department", "value": "Engineering"})
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
rydoo-add-new-user
Version
0.0.2
App
Rydoo
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes