View as Markdown
Ashby icon

Ashby ACTION

Create Interview Schedule

Creates a scheduled interview. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Ashby account once, then configure and run Create Interview Schedule 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: "ashby-create-interview-schedule",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    ashby: { authProvisionId: "apn_xxxxxxx" },
    applicationId: "Application ID",
    interviewEvents: ["Interview Events"],
  },
})

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 Schedule inputs
Property Type Description
applicationId Application ID string
The ID of the application to schedule an interview for
Required Dynamic
interviewEvents Interview Events string[]

Array of interview events. Each event should contain:

  • startTime (string, required): Interview start time in ISO 8601 format (e.g., 2023-01-30T15:00:00.000Z)
  • endTime (string, required): Interview end time in ISO 8601 format (e.g., 2023-01-30T16:00:00.000Z)
  • interviewers (array, required): Array of interviewer objects with:
    • email (string, required): Email address of the interviewer
    • feedbackRequired (boolean, optional): Whether feedback from this interviewer is required

Example:

[
  {
    "startTime": "2023-01-30T15:00:00.000Z",
    "endTime": "2023-01-30T16:00:00.000Z",
    "interviewers": [
      {
        "email": "interview@example.com",
        "feedbackRequired": true
      }
    ]
  }
]
Required

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
ashby-create-interview-schedule
Version
0.0.4
App
Ashby
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes