with Shorten.REST and SailPoint?
Shortens a given long URL into an alias. If the alias name is not provided, the system generates one. If the domain input is not provided, it defaults to short.fyi. See the documentation
Shorten.REST API on Pipedream allows you to automate URL shortening, expanding, and tracking within your custom workflows. With this API, you can create short, branded links programmatically, obtain detailed analytics on click-throughs, and manage your URLs efficiently, all within Pipedream's serverless platform. This enables seamless integration of URL management into your applications, marketing campaigns, or day-to-day tasks while leveraging various triggers and actions from other apps available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
shorten_rest: {
type: "app",
app: "shorten_rest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.shorten.rest/clicks`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.shorten_rest.$auth.api_key}`,
},
})
},
})
The SailPoint API enables the automation of identity governance tasks, streamlining user access management, compliance controls, and security policies across an organization's IT environment. It's a powerful tool for managing identities, entitlements, and role-based access controls, ensuring that the right people have the right access at the right time. With Pipedream, you can use this API to create workflows that react to specific events, orchestrate multi-step processes, and integrate with other services to enhance identity operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sailpoint: {
type: "app",
app: "sailpoint",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://https://{{custom_fields.tenant}}.{{custom_fields.domain}}/v3/public-identities`,
headers: {
'Authorization': `Bearer ${this.sailpoint.$auth.oauth_access_token}`
}
})
},
})