Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
The Personio API provides programmatic access to HR management functions, allowing you to manage employee data, time tracking, payroll, and recruitment processes. With Pipedream, you can leverage this API to create automations and workflows that can streamline HR operations, react to events in Personio in real-time, and connect HR data to other systems seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
personio: {
type: "app",
app: "personio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.personio.de/v1/company/attendances/projects`,
headers: {
Authorization: `Bearer ${this.personio.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})