View as Markdown
Homerun icon

Homerun ACTION

Create Job Application

Creates a new job application. See the documentation.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Homerun account once, then configure and run Create Job Application 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: "homerun-create-job-application",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    homerun: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "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 Job Application inputs
Property Type Description
firstName First Name string
The first name of the applicant. Make sure you don't include numbers or special characters.
Required
lastName Last Name string
The last name of the applicant. Make sure you don't include numbers or special characters.
Required
email Email string
The email of the applicant.
Required
dateOfBirth Date of Birth string
The date of birth of the applicant in the format of YYYY-MM-DD.
Optional
vacancyId Vacancy ID string
The ID of the vacancy.
Optional Dynamic
phoneNumber Phone Number string
The phone number of the applicant.
Optional
photo Photo string
The URL of the applicant's photo.
Optional
experience Experience string
The experience of the applicant.
Optional
education Education string
The education of the applicant.
Optional
facebook Facebook string
The Facebook URL of the applicant. eg. https://facebook.com/username
Optional
twitter X string
The X URL of the applicant. eg. https://x.com/username
Optional
linkedin LinkedIn string
The LinkedIn URL of the applicant. eg. https://linkedin.com/in/username
Optional
github GitHub string
The GitHub URL of the applicant. eg. https://github.com/username
Optional
website Website string
The website URL of the applicant. eg. https://username.com
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
homerun-create-job-application
Version
0.0.3
App
Homerun
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes