with Cutt.ly and ServiceNow?
Retrieves statistical information about a shortened url. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
Returns a shortened URL when given a target URL as a prop. See the documentation
The Cutt.ly API allows users to shorten URLs, track their performance, and manage link settings. With Pipedream, you can automate these tasks and create workflows that respond to various triggers, like new form submissions, emails, or scheduled timers. Utilize Pipedream's capabilities to connect Cutt.ly with other apps, store and analyze click data, and streamline digital marketing processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cutt_ly: {
type: "app",
app: "cutt_ly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cutt.ly/api/api.php`,
params: {
key: `${this.cutt_ly.$auth.api_key}`,
short: `https://pipedream.com/`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})