with Missive and Discourse?
Emit new posts added to a topic in one of your chosen categories
Emit new event every time a new user is created on your instance
Emit new event when a new comment is added. See the Documentation
The Missive API allows users to streamline their email and team communication within the Pipedream platform. It offers access to manage conversations, collaborate on emails, and automate workflows involving your communication stack. With Pipedream, you can harness this API to integrate Missive with various other apps, enhance your team's productivity, and create custom automation based on triggers like new emails or conversation status changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
missive: {
type: "app",
app: "missive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public.missiveapp.com/v1/users`,
headers: {
Authorization: `Bearer ${this.missive.$auth.api_token}`,
},
})
},
})
The Discourse API empowers developers to interact programmatically with Discourse forums, allowing for a myriad of automations and integrations. Using Pipedream, you can harness this API for tasks such as syncing forum data with other platforms, automating user management, or triggering workflows based on forum activity. The key is in creatively coupling Discourse events with Pipedream's capabilities to streamline community interactions and administration.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discourse: {
type: "app",
app: "discourse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.discourse.$auth.domain}/admin/users/list/active.json`,
headers: {
"Api-Username": `${this.discourse.$auth.api_username}`,
"Api-Key": `${this.discourse.$auth.api_key}`,
},
})
},
})