with AttractWell and ServiceNow?
Emit new event when a contact becomes a new member of a vault.
Emit new event when a new registration for an event takes place.
Emit new event when a lead is gained from a landing page.
Inserts one record in the specified table. See the documentation
Creates or updates a contact with the provided identification and contact details.
Deletes the specified record from a table. See the documentation
Approves, rejects, or unapproves a lesson in the AttractWell system based on the selected status.
Retrieves the count of records grouped by a specified field from a ServiceNow table. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attractwell: {
type: "app",
app: "attractwell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attractwell.com/api/v1/campaigns`,
headers: {
Authorization: `Bearer ${this.attractwell.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})