with Codeq Natural Language Processing API and ServiceNow?
Receives a text and returns a JSON object containing a list of analyzed sentences. See the docs here
Receives two texts and returns a JSON object containing the text similarity score. See the docs here
Retrieves the record identified by the specified sys_id from the specified table.
The Codeq Natural Language Processing API provides powerful text analysis capabilities. It parses and understands complex structures in text, extracting meaningful insights. On Pipedream, you can harness this API to analyze text data from various sources, automate content categorization, sentiment analysis, or even construct rich profiles of user feedback. With Pipedream's serverless platform, these processes can be automated, triggered by events, and integrated with numerous other apps to create robust, data-driven workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
codeq_natural_language_processing_api: {
type: "app",
app: "codeq_natural_language_processing_api",
}
},
async run({steps, $}) {
const data = {
"user_id": `${this.codeq_natural_language_processing_api.$auth.user_id}`,
"user_key": `${this.codeq_natural_language_processing_api.$auth.user_key}`,
"text": `{your_text}`,
}
return await axios($, {
method: "post",
url: `https://api.codeq.com/v1`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})