with Cascade Strategy and Lead Identity Check?
The Cascade Strategy API unlocks the potential to automate and integrate strategic planning processes directly within Pipedream. By accessing Cascade’s features through the API, you can seamlessly connect strategic goals, track progress, manage tasks, and align your organization’s efforts with its vision. This enables creating dynamic workflows that react to changes in strategy execution, report on key performance indicators, or synchronize organizational goals across multiple platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cascade_strategy: {
type: "app",
app: "cascade_strategy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.cascade_strategy.$auth.subdomain}.executestrategy.net/api/v2/goals`,
headers: {
Authorization: `Bearer ${this.cascade_strategy.$auth.api_token}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lead_identity_check: {
type: "app",
app: "lead_identity_check",
}
},
async run({steps, $}) {
const data = {
"Firstname": `Sergio`,
"Lastname": `Wong`,
"Email": `sergio@pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://leadidentitycheck-node.vercel.app/main/lic/v1`,
headers: {
" x-lic-key": `${this.lead_identity_check.$auth.api_key}`,
"filterkey": `${this.lead_identity_check.$auth.filter_key}`,
},
data,
})
},
})