with Cascade Strategy and OnStrategy?
Emit new event when a new goal is created within the OnStrategy app. See the documentation
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`,
},
})
},
})
The OnStrategy API lets you automate strategic planning and tracking within your organization. You can create, update, and retrieve data on goals, actions, and progress, making it simpler to integrate strategic management into daily workflows. Pipedream's serverless platform eases the process by allowing you to construct workflows that link OnStrategy with other apps, trigger actions based on events, and handle data programmatically without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onstrategy: {
type: "app",
app: "onstrategy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.onstrategyhq.com/api/accounts.json`,
params: {
key: `${this.onstrategy.$auth.api_key}`,
},
})
},
})