View as Markdown
Bilflo icon

Bilflo ACTION

Create Contract Job

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

IMPLEMENTATION

Call this tool

Connect a user's Bilflo account once, then configure and run Create Contract Job 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: "bilflo-create-contract-job",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    bilflo: { authProvisionId: "apn_xxxxxxx" },
    clientId: "Client ID",
    contractorId: 10,
  },
})

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 Contract Job inputs
Property Type Description
clientId Client ID string
The unique identifier for the client.
Required Dynamic
contractorId Contractor ID integer
The unique identifier for the contractor.
Required
contractorTypeId Contractor Type ID integer
The unique identifier for the contractor type.
Required
timeCardMethodId Time Card Method ID integer
The unique identifier for the time card method.
Required
overtimeRuleId Overtime Rule ID integer
The unique identifier for the overtime rule.
Required
jobTitle Job Title string
The title of the job.
Required
startDate Start Date string
The start date of the contract job. Format YYYY-MM-DDTHH:MM:SSZ
Required
endDate End Date string
The end date of the contract job. Format YYYY-MM-DDTHH:MM:SSZ
Required
firstWeekEndingDate First Week Ending Date string
The first week ending date of the contract job. Format YYYY-MM-DDTHH:MM:SSZ
Required
burdenTypeId Burden Type ID integer
The unique identifier for the burden type.
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
bilflo-create-contract-job
Version
0.0.2
App
Bilflo
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes