with WebMerge and ScrapeGraphAI?
Extract content from HTML content using AI by providing a natural language prompt and the HTML content. See the documentation
Convert any webpage into clean, readable Markdown format. See the documentation
Extract content from a webpage using AI by providing a natural language prompt and a URL. See the documentation
WebMerge is an API that automates the creation of PDFs, Word documents, Excel files, and more, by merging data into custom-built templates. With Pipedream, you can harness this functionality to create dynamic documents fueled by data from various sources. Think auto-generated reports from CRM leads, personalized contracts from form submissions, or automated invoices post-sale. Pipedream's serverless platform allows you to create intricate workflows that connect WebMerge with other apps, triggering document creation with real-time data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
webmerge: {
type: "app",
app: "webmerge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.webmerge.me/api/documents`,
auth: {
username: `${this.webmerge.$auth.api_key}`,
password: `${this.webmerge.$auth.api_secret}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapegraphai: {
type: "app",
app: "scrapegraphai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapegraphai.com/v1/credits`,
headers: {
"sgai-apikey": `${this.scrapegraphai.$auth.api_key}`,
},
})
},
})