with Plain and Jobnimbus?
Emit new events when a new activity created. See the docs
Emit new events when a new contact is created. See the docs
The Plain API provides functionality for automating customer support tasks, such as managing conversations, customers, and team inboxes. Within Pipedream, you can leverage these features to create custom workflows that respond to events from your app or external services, triggering actions in Plain. By integrating the Plain API with Pipedream, you can enhance customer support efficiency, streamline communication, and keep customer data synchronized across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plain: {
type: "app",
app: "plain",
}
},
async run({steps, $}) {
const data = {
"query": `query Workspace {
workspace(workspaceId: "${this.plain.$auth.workspace_id}") {
id
publicName
}
}`,
}
return await axios($, {
method: "post",
url: `https://core-api.uk.plain.com/graphql/v1`,
headers: {
Authorization: `Bearer ${this.plain.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The Jobnimbus API allows for the creation of complex workflows revolving around job and customer management within the construction and contracting industries. With this API, users can automate tasks such as updating job statuses, managing contacts, and creating tasks or appointments. This streamlines the process of moving a job from lead to completion, ensuring communication and record-keeping are seamless.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jobnimbus: {
type: "app",
app: "jobnimbus",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.jobnimbus.com/api1/contacts`,
headers: {
Authorization: `Bearer ${this.jobnimbus.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})