with Agentset and Mautic?
Emit new event when a new document is created. See the documentation
Emit new event when a ingest job is created. See the documentation
Complete retrieval pipeline for RAG with semantic search, filtering, and reranking. See the documentation
Create an ingest job for the authenticated organization. See the documentation
Creates a namespace for the authenticated organization. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agentset: {
type: "app",
app: "agentset",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.agentset.ai/v1/namespace`,
headers: {
Authorization: `Bearer ${this.agentset.$auth.api_key}`,
},
})
},
})
The Mautic API empowers marketers to automate and integrate a wide range of marketing tasks directly into Pipedream workflows. With Mautic's API, you can manage contacts, campaigns, emails, and reports, and use triggers to automate responses based on user behavior. It's a robust tool to align marketing efforts with real-time data and actions, making it possible to personalize communication, streamline follow-ups, and ultimately drive conversions with less manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mautic: {
type: "app",
app: "mautic",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.mautic.$auth.mautic_url}/api/users/self`,
headers: {
Authorization: `Bearer ${this.mautic.$auth.oauth_access_token}`,
},
})
},
})