View as Markdown
Lever icon

Lever ACTION

Create Interview

Schedules an interview for a candidate opportunity. Use this when asked to set up, book, or schedule an interview for a candidate. panel (Interview Panel UID), interviewers, date, duration, and Perform As are all required. Interviews can only be created on panels where externallyManaged == true. date is a single Unix timestamp in milliseconds for when the interview occurs (e.g. 1700000000000). duration is in minutes (e.g. 60). interviewers is a comma-separated list of user IDs — each will be assigned to the interview. Use List Users to find user IDs. Use Search Opportunities to find the opportunity ID. Example: call with opportunityId="<id>", panelId="<panelId>" (from List Opportunity Items (resource=interviews)), interviewers="<userId>", date=1700000000000, duration=60, performAs="<userId>" → adds an interview to the panel and returns it. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Lever account once, then configure and run Create Interview 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: "lever-create-interview",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    lever: { authProvisionId: "apn_xxxxxxx" },
    opportunityId: "Opportunity ID",
    performAs: "Perform As (User ID)",
  },
})

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 Interview inputs
Property Type Description
opportunityId Opportunity ID string
The ID of the opportunity to schedule an interview for. Use Search Opportunities to find opportunity IDs.
Required
performAs Perform As (User ID) string
User ID of the person scheduling the interview — sets the interview creator. Use List Users to find user IDs.
Required
panelId Panel ID string
Interview Panel UID. The panel must have externallyManaged == true. Use List Opportunity Items (resource=interviews) to find existing panel IDs.
Required
interviewers Interviewer User IDs string
Comma-separated list of user IDs for interviewers (at least one required). Use List Users to find user IDs. Example: abc123,def456
Required
date Date (Unix ms) integer
Scheduled start time as a Unix timestamp in milliseconds (e.g. 1700000000000).
Required
duration Duration (minutes) integer
Interview duration in minutes. Minimum value is 1 (e.g. 30, 60).
Required
subject Subject string
Interview subject or title (e.g. Technical Screen - Jane Doe).
Optional
note Note string
Instructions or agenda for interviewers.
Optional
location Location string
Interview location — conference room name, phone number, or video link (e.g. https://meet.google.com/abc-defg).
Optional
feedbackReminder Feedback Reminder string
Frequency of feedback reminders to interviewers. Defaults to frequently (every 6 hours) if omitted.
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
lever-create-interview
Version
0.0.2
App
Lever
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes