Easy & Accurate Payroll. Managing your people has never been easier with ADP's all-in-one, cloud-based platform for payroll, HR, time, talent and benefits.
Go to siteThe ADP API provides access to a breadth of payroll and human capital management services. With Pipedream, you can automate workflows that bridge the gap between ADP and other apps, streamlining your HR processes. By leveraging Pipedream's serverless platform, you can orchestrate data flows, synchronize employee information, manage payroll events, and react to changes in ADP data in real-time without writing extensive code.
import { axios } from "@pipedream/platform"
import https from "https"
export default defineComponent({
props: {
adp: {
type: "app",
app: "adp",
}
},
async run({steps, $}) {
const httpsAgent = new https.Agent({
cert: this.adp.$auth.crt_file,
key: this.adp.$auth.key_file,
})
return await axios($, {
url: `${this.adp.$auth.environment}api.adp.com/hr/v2/workers`,
headers: {
Authorization: `Bearer ${this.adp.$auth.oauth_access_token}`,
},
httpsAgent: httpsAgent
})
},
})
Employee Onboarding Automation: When a new employee is added in ADP, automatically send a welcome email using SendGrid, create accounts in necessary internal systems, and post a welcome message in Slack to announce their arrival.
Payroll Change Notifications: Monitor changes in payroll data within ADP and trigger notifications in real-time. Whenever there's an update, you can send an alert via email, post a message to a specific Slack channel, or log the change in Google Sheets for further analysis and record-keeping.
Time-Off Synchronization: Sync time-off requests from ADP to a Google Calendar to keep everyone informed. When an employee requests time off, a Pipedream workflow can automatically create a calendar event, and if needed, send a notification to their manager for approval via Twilio SMS or a Slack direct message.
ADP uses OAuth authentication. When you connect your ADP account, Pipedream will open a popup window where you can sign into ADP and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any ADP API.
Pipedream requests the following authorization scopes when you connect your account:
POST
{{custom_fields.environment}}.accounts.adp.com/auth/oauth/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=client_credentials
POST
{{custom_fields.environment}}.accounts.adp.com/auth/oauth/v2/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=client_credentials