View as Markdown
Deel icon

Deel ACTION

Create Shift Rate

Create a named shift rate for GP (Global Payroll) time tracking in Deel. Shift rates define how time-tracked work is compensated. external_id is a unique identifier you assign (e.g., rate-overtime-001); use this ID when creating shifts via Create Shifts. type must be one of: MULTIPLIER_PERCENTAGE (e.g., 150 = 1.5x pay), PER_HOUR_FLAT_RATE (fixed hourly amount), PER_UNIT_FLAT_RATE (fixed per-unit amount). See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Deel account once, then configure and run Create Shift Rate 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: "deel-create-shift-rate",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    deel: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    externalId: "External 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 Shift Rate inputs
Property Type Description
name Name string
A human-readable name for this shift rate (e.g., Overtime Rate, Holiday Rate).
Required
externalId External ID string
Your unique identifier for this shift rate (e.g., rate-overtime-001). Used when referencing this rate in shifts.
Required
type Rate Type string
The type of rate calculation. One of: MULTIPLIER_PERCENTAGE, PER_HOUR_FLAT_RATE, PER_UNIT_FLAT_RATE.
Optional
value Value string
The rate value. For MULTIPLIER_PERCENTAGE, use a percentage (e.g., 150 for 1.5x). For flat rates, use the amount.
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
deel-create-shift-rate
Version
0.0.2
App
Deel
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes