Automate Smart Home Workflow
Schedules an Automation Server action request for a homekit scene. See the documentation
Schedules an Automation Server action request for a shortcut. See the documentation
The Pushcut API enables the automation of iOS notifications with custom actions, triggering events based on various conditions. On Pipedream, you can harness this functionality to create intricate workflows, combining Pushcut notifications with a multitude of services to act based on data from APIs, schedules, or other apps. Think of Pushcut as a bridge between the real world and your digital tasks, letting you know when to act and offering shortcuts to execute specific automations directly from your iOS devices.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pushcut: {
type: "app",
app: "pushcut",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pushcut.io/v1/devices`,
headers: {
"Accept": `application/json`,
"API-Key": `${this.pushcut.$auth.api_key}`,
},
})
},
})
QuickBooks Sandbox API provides a robust platform for developers to test QuickBooks Online integrations without affecting live data. With Pipedream, you can harness this API to automate various accounting tasks, simulate financial scenarios, or validate app behavior pre-deployment. Imagine syncing invoice statuses with your CRM, triggering alerts based on financial thresholds, or reconciling payments programmatically—all in a safe, isolated environment before going live.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
quickbooks_sandbox: {
type: "app",
app: "quickbooks_sandbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sandbox-quickbooks.api.intuit.com/v3/company/${this.quickbooks_sandbox.$auth.company_id}/companyinfo/${this.quickbooks_sandbox.$auth.company_id}`,
headers: {
Authorization: `Bearer ${this.quickbooks_sandbox.$auth.oauth_access_token}`,
"accept": `application/json`,
"content-type": `application/json`,
},
})
},
})