with Google Directory and Softr?
The Google Directory API enables you to perform administrative operations on users, groups, organizational units, and devices within a Google Workspace domain. With Pipedream, you can harness this API to create automated workflows that manage directory resources, sync information, and streamline admin tasks. Pipedream's serverless platform allows you to trigger these workflows on schedules or events, integrating seamlessly with other apps to enrich and act upon the data.
import { axios } from "@pipedream/platform";
export default defineComponent({
props: {
google_directory: {
type: "app",
app: "google_directory",
}
},
async run({steps, $}) {
return axios($, {
url: "https://admin.googleapis.com/admin/directory/v1/users",
headers: {
Authorization: `Bearer ${this.google_directory.$auth.oauth_access_token}`
}
});
},
})
The Softr API unlocks the power to automate and integrate Softr-built web apps with a multitude of external services and internal workflows. With it, you can streamline data manipulation, sync content, or trigger actions based on specific events. Create, update, and fetch data from your Softr applications, and leverage this functionality to enhance user experience, improve operational efficiency, and reduce manual workloads. When used on Pipedream, the API can connect with other apps to create robust, serverless workflows that operate in real-time or on a scheduled basis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
softr: {
type: "app",
app: "softr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://studio-api.softr.io/v1/api/users`,
headers: {
"Softr-Api-Key": `${this.softr.$auth.api_key}`,
"Softr-Domain": `${this.softr.$auth.domain}`,
"Content-Type": `application/json`,
},
})
},
})