with talkSpirit and AirOps?
Run a workflow of an app. See the sync documentation or async documentation
The talkSpirit API lets you tap into a comprehensive platform for team communication and collaboration. On Pipedream, you can orchestrate sophisticated workflows tapping into talkSpirit's features such as posting messages, managing users, and handling groups. Automate notifications, sync data with other apps, or create custom integrations that trigger actions within talkSpirit, all in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talkspirit: {
type: "app",
app: "talkspirit",
}
},
async run({steps, $}) {
const data = {
"title": `{your_title}`,
"content": `{your_content}`,
"url": `{your_url}`,
}
return await axios($, {
method: "post",
url: `https://webhook.talkspirit.com/v1/incoming/${this.talkspirit.$auth.api_key}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airops: {
type: "app",
app: "airops",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.airops.com/public_api/airops_apps/executions`,
headers: {
Authorization: `Bearer ${this.airops.$auth.workspace_api_key}`,
"accept": `application/json`,
},
})
},
})