with DynaPictures and ServiceNow?
Emit new event when an image has been generated. See the documentation
Generates a new image by using a given image as a template. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
Updates the specified record with the name-value pairs included in the request body.
DynaPictures API allows users to automate image generation with dynamic content. It's useful for creating personalized images for marketing campaigns, social media, or e-commerce products. In Pipedream, you can harness DynaPictures API to build serverless workflows that trigger based on various events, manipulate and generate images, and connect with other services for a seamless automation pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynapictures: {
type: "app",
app: "dynapictures",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dynapictures.com/templates`,
headers: {
Authorization: `Bearer ${this.dynapictures.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})