Status Hero is a work communication tool that replaces time-consuming meetings, shoulder taps, digging for data, and other interruptions with a tidy report. Use it to get a continuous, clear understanding of accomplishments, intentions, and blockers across your organization. Perfect for remote and/or hybrid teams!
Emit new events when new status update (check-in) occurs. See the docs here
Emit new events when new comments are created on statuses. See the docs here
Emit new events when new reaction for a status update (check-in) occurs. See the docs here
Create a new document in a collection of your choice. See the docs here
Execute an aggregation pipeline on a MongoDB collection. See the documentation
The Status Hero API allows you to interface with the Status Hero platform programmatically, enabling you to automate stand-ups, collect team status updates, and integrate this data with other apps and services. By leveraging Pipedream's capabilities, you can set up workflows that react to new check-ins, sync updates to project management tools, or analyze team productivity by aggregating status data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
status_hero: {
type: "app",
app: "status_hero",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://service.statushero.com/api/v1/members`,
headers: {
"X-Team-ID": `${this.status_hero.$auth.team_id}`,
"X-API-Key": `${this.status_hero.$auth.api_key}`,
},
})
},
})
The MongoDB API provides powerful capabilities to interact with a MongoDB database, allowing you to perform CRUD (Create, Read, Update, Delete) operations, manage databases, and execute sophisticated queries. With Pipedream, you can harness these abilities to automate tasks, sync data across various apps, and react to events in real-time. It’s a combo that’s particularly potent for managing data workflows, syncing application states, or triggering actions based on changes to your data.
import mongodb from 'mongodb'
export default defineComponent({
props: {
mongodb: {
type: "app",
app: "mongodb",
},
collection: {
type: "string"
},
filter: {
type: "object"
}
},
async run({steps, $}) {
const MongoClient = mongodb.MongoClient
const {
database,
hostname,
username,
password,
} = this.mongodb.$auth
const url = `mongodb+srv://${username}:${password}@${hostname}/test?retryWrites=true&w=majority`
const client = await MongoClient.connect(url, {
useNewUrlParser: true,
useUnifiedTopology: true
})
const db = client.db(database)
const results = await db.collection(this.collection).find(this.filter).toArray();
$.export('results', results);
await client.close()
},
})