with Forms On Fire and ServiceNow?
The Forms On Fire API allows you to automate interactions with your mobile forms. Using it with Pipedream, you can trigger workflows based on form submissions, update or retrieve data from forms, and automate interactions with other apps. It's useful for extending the capabilities of your forms, integrating with third-party services, and streamlining data processes without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
forms_on_fire: {
type: "app",
app: "forms_on_fire",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://secure.formsonfire.com/api/v2/user`,
params: {
format: `json`,
CompanyId: `${this.forms_on_fire.$auth.company_id}`,
Integrationkey: `${this.forms_on_fire.$auth.integration_key}`,
Email: `[replace_with_user_email]`,
},
})
},
})
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}`,
},
})
},
})