with Diffbot and Widgetform?
Emit new event when a form submission is received. See the documentation
Enrich a person or organization record with partial data input [See the documentation] (https://docs.diffbot.com/reference/enhancepost)
Retrieves the 10 most recent submissions. See the documentation
Automatically classify a page and extract data according to its type. See the documentation
The Diffbot API enables you to extract structured data from web pages automatically. It transforms the chaos of the web into usable information through web scraping and natural language processing. On Pipedream, you can use Diffbot to monitor changes on websites, extract article data, or process web pages for specific information. By tapping into Pipedream’s ability to integrate with hundreds of other services, you can create powerful workflows that automate data extraction and act on the data in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
diffbot: {
type: "app",
app: "diffbot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.diffbot.com/v4/account`,
headers: {
"Accept": `application/json`,
},
params: {
token: `${this.diffbot.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
widgetform: {
type: "app",
app: "widgetform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://usewidgetform.com/api/v1/hooks/zapier/user`,
headers: {
"x-api-key": `${this.widgetform.$auth.api_key}`,
},
})
},
})