with OnStrategy and Microsoft Authenticator?
Emit new event when a new goal is created within the OnStrategy app. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_authenticator: {
type: "app",
app: "microsoft_authenticator",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://microsoft-authenticator.p.rapidapi.com/new_v2/`,
headers: {
"x-rapidapi-host": `microsoft-authenticator.p.rapidapi.com`,
"x-rapidapi-key": `${this.microsoft_authenticator.$auth.rapid_api_key}`,
},
})
},
})