with Capsule and Meetstream AI?
The Capsule API provides access to a treasure trove of customer relationship management (CRM) functions. Through Pipedream's serverless platform, it becomes fantastically simple to automate interactions with your Capsule CRM data. Envision syncing contacts, managing cases, tracking sales opportunities, or even automating follow-up emails based on customer behavior. The workflows created can be both time-saving and insightful, providing not just automation but also analytics on customer engagements.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
capsule: {
type: "app",
app: "capsule",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.capsulecrm.com/api/v2/users/current`,
headers: {
Authorization: `Bearer ${this.capsule.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
meetstream_ai: {
type: "app",
app: "meetstream_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-meetstream-tst-hack.meetstream.ai/api/v1/bots/${this.meetstream_ai.$auth.bot_id}/status`,
headers: {
"authorization": `Token ${this.meetstream_ai.$auth.api_key}`,
},
})
},
})