with Formaloo and Puppeteer?
Emit new event when a form payment is completed. See the documentation
Emit new event when a form is submitted. See the documentation
Emit new event when a row is updated. See the documentation
Create a new customer on the current business. See the documentation
Get the HTML of a webpage using Puppeteer. See the documentation for details.
Get the title of a webpage using Puppeteer. See the documentation
Captures a screenshot of a page using Puppeteer. See the documentation
The Formaloo API lets you interact with your forms and data on Formaloo. You can create new forms, fetch responses, analyze submissions, and more, right within Pipedream. Pipedream's serverless platform facilitates the automation of these tasks, enabling you to integrate Formaloo with hundreds of other services to streamline workflows, analyze data, and synchronize across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formaloo: {
type: "app",
app: "formaloo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.formaloo.net/v2.0/profile/`,
headers: {
"Authorization": `JWT ${this.formaloo.$auth.oauth_access_token}`,
"x-api-key": `${this.formaloo.$auth.api_key}`,
},
})
},
})
Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Puppeteer runs in headless mode on Chromium on Pipedream.
Using Puppeteer you can perform tasks including:
import { puppeteer } from '@pipedream/browsers';
export default defineComponent({
async run({steps, $}) {
const browser = await puppeteer.browser();
// Interact with the web page programmatically
// See Puppeeter's Page documentation for available methods:
// https://pptr.dev/api/puppeteer.page
const page = await browser.newPage();
await page.goto('https://pipedream.com/');
const title = await page.title();
const content = await page.content();
// The browser needs to be closed, otherwise the step will hang
await browser.close();
return { title, content }
},
})