with Parseur and y.gy?
Emit new event when a new document is not processed. It is triggered when a document fails to process with status New Template Needed
. See the docs
Emit new event when a new document is processed. It is useful for endpoints that don't support deep JSON structures as it will flatten your table fields. See the docs
Emit new event when a new document is processed with list items. The payload format is the same as when viewing the document and clicking on view as JSON
. See the docs
Get a list of the links created by the authenticated account See the documentation
Parseur is a powerful email parsing tool that automates the extraction of data from emails and documents. With its API, you can unlock the data trapped in emails and documents and transform it into structured data. On Pipedream, you can use Parseur to trigger workflows from parsed email data, connecting it to hundreds of other services for endless automation possibilities. This can streamline business processes like lead management, invoice processing, and data entry by automating the extraction and flow of critical information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
parseur: {
type: "app",
app: "parseur",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.parseur.com/parser`,
headers: {
"Authorization": `Token ${this.parseur.$auth.api_token}`,
},
})
},
})
The y.gy API allows users to shorten URLs dynamically, providing a way to manage and track URL performance in applications or marketing campaigns. Using this API on Pipedream, you can automate URL shortening and integrate these activities with other services like databases, analytics tools, or CRM systems. This capability is particularly valuable in scenarios involving high-volume link generation, targeted content distribution, and real-time link performance analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
y_gy: {
type: "app",
app: "y_gy",
}
},
async run({steps, $}) {
const data = {
"destination_url": "https://pipedream.com",
}
return await axios($, {
method: "post",
url: `https://api.y.gy/api/v1/link`,
headers: {
"api-key": `${this.y_gy.$auth.api_key}`,
},
data,
})
},
})