with Connectwise PSA and AI Textraction?
Emit new event when a new contact is created in Connectwise.
Emit new event when a new project is created in Connectwise.
Emit new event when a new ticket is created in Connectwise.
Creates a new company in Connectwise. See the documentation
Extract custom data from text using AI Textraction. See the documentation
Creates a new contact in Connectwise. See the documentation
Creates a new ticket in Connectwise. See the documentation
ConnectWise PSA (Professional Services Automation) API offers a powerful avenue for managing business processes related to technology services. By integrating with ConnectWise PSA via Pipedream, developers can automate complex workflows, synchronize data across various platforms, and enhance operational efficiencies. This API allows for control over modules like service tickets, project management, and account management, essentially streamlining operations and making data management more effective.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
connectwise_psa: {
type: "app",
app: "connectwise_psa",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.connectwise_psa.$auth.environment}/v4_6_release/apis/3.0/service/boards`,
headers: {
"clientId": `${this.connectwise_psa.$auth.client_id}`,
},
auth: {
username: `${this.connectwise_psa.$auth.company_id}+${this.connectwise_psa.$auth.public_key}`,
password: `${this.connectwise_psa.$auth.private_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ai_textraction: {
type: "app",
app: "ai_textraction",
}
},
async run({steps, $}) {
const data = {"text":"John Doe is a software engineer with 5 years of experience. He specializes in web development and has expertise in multiple programming languages such as JavaScript, Python, and HTML. John has worked on various projects, including e-commerce websites and mobile applications. In his free time, John enjoys playing the guitar, hiking, and reading books.","entities":[{"var_name":"first_name","type":"string","description":"first name of the person"},{"var_name":"last_name","type":"string","description":"last name of the person"},{"var_name":"years_of_experience","type":"integer","description":"years of experience"},{"var_name":"programming_languages","type":"array[string]","description":"programming languages experienced with"},{"var_name":"hobbies","type":"array[string]","description":"hobbies"}]}
return await axios($, {
method: "post",
url: `https://ai-textraction.p.rapidapi.com/textraction`,
headers: {
"x-rapidapi-host": `ai-textraction.p.rapidapi.com`,
"x-rapidapi-key": `${this.ai_textraction.$auth.rapid_key}`,
},
data,
})
},
})