with Kizeo Forms and TinyPNG?
Emit new event when a new form is created on Kizeo Forms. See the documentation
Emit new event each time new form data is created in Kizeo Forms. See the documentation
Creates a new user in the Kizeo Forms platform. See the documentation
Compress a WebP, JPEG, or PNG image using the TinyPNG API. See the documentation
Exports data from a form to CSV or Excel format. See the documentation
Convert your images to your desired image type using TinyPNG. See the documentation
Exports data from a chosen export (Word or Excel) to PDF format. See the documentation
Kizeo Forms API lets you interact with the Kizeo platform to automate form data retrieval, manage users, and push or pull data to or from forms. On Pipedream, you can harness this API to create serverless workflows that trigger actions based on form submissions, integrate with other apps, or manage form data effectively. Use the API to connect Kizeo Forms with CRMs, project management tools, databases, and more, streamlining data collection and processing activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kizeo_forms: {
type: "app",
app: "kizeo_forms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.kizeoforms.com/rest/v3/users`,
headers: {
"Authorization": `${this.kizeo_forms.$auth.api_token}`,
},
})
},
})
The TinyPNG API lets you compress and optimize image files efficiently. With this API, you can shrink the size of PNG and JPEG files without a noticeable loss in quality, making it a crucial tool for improving website load times and saving bandwidth. On Pipedream, you can automate image optimization workflows, harnessing the power of TinyPNG to process batches of images, integrate with CMS platforms, trigger optimizations from various events, and more.
module.exports = defineComponent({
props: {
tinypng: {
type: "app",
app: "tinypng",
}
},
async run({steps, $}) {
const results = await require("@pipedream/platform").axios($, {
method: "post",
url: `https://api.tinify.com/shrink`,
auth: {
username: `api:${this.tinypng.$auth.api_key}`,
password: ``,
},
data: {
"source": {
"url": "https://tinypng.com/images/panda-happy.png"
}
},
})
const retVal = results.output
retVal.original_image_metadata = results.input
return retVal
},
})